Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-18-2015, 04:07 AM   #1
clickity click
So Fecking Bummed
 
Industry Role:
Join Date: Aug 2014
Posts: 3,682
Wordpress: How to Work on New Theme While Keeping Old Theme?

I want to change my current theme but if I install it straight away it looks shit.

Is there a way to make changes to the new theme while I keep the old theme and then just switch them when I am ready?
clickity click is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2015, 04:08 AM   #2
xFoundry
Confirmed User
 
xFoundry's Avatar
 
Industry Role:
Join Date: Jun 2015
Posts: 180
Quote:
Originally Posted by clickity click View Post
I want to change my current theme but if I install it straight away it looks shit.

Is there a way to make changes to the new theme while I keep the old theme and then just switch them when I am ready?
Yes, create a child theme.

https://codex.wordpress.org/Child_Themes
__________________
xFoundry is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2015, 04:14 AM   #3
clickity click
So Fecking Bummed
 
Industry Role:
Join Date: Aug 2014
Posts: 3,682
thanks ..
clickity click is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2015, 04:19 AM   #4
DVTimes
xxx
 
Industry Role:
Join Date: Jun 2003
Location: UK
Posts: 31,544
Quote:
Originally Posted by xFoundry View Post
Yes, create a child theme.

https://codex.wordpress.org/Child_Themes

very good info
__________________
The Affiliate Program
DVTimes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2015, 04:25 AM   #5
aka123
Confirmed User
 
aka123's Avatar
 
Industry Role:
Join Date: Jul 2014
Location: 64 00 N, 26 00 E
Posts: 4,450
Quote:
Originally Posted by xFoundry View Post
Yes, create a child theme.

https://codex.wordpress.org/Child_Themes
I don't think child theme is what he asked for. Child theme is for making modifications to the current theme so that the theme can still be updated by regular updates (as the parent theme is updated, not the child theme).

I have solved the posted problem by making test sites (same domain, just subdomain or different folder) those are duplicates for the original site. Just remember to password protect the whole duplicate site, so that nor people or bots can access it. After you have modded the test site/ tested various designs, etc. just copy the ready files to the actual site.
__________________
aka123 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2015, 04:31 AM   #6
Venum
Confirmed User
 
Venum's Avatar
 
Industry Role:
Join Date: Nov 2014
Posts: 182
Quote:
Originally Posted by aka123 View Post
Child theme is for making modifications to the current theme so that the theme can still be updated by regular updates (as the parent theme is updated, not the child theme).
Absolutely right.

This is better approach to you:

Quote:
I have solved the posted problem by making test sites (same domain, just subdomain or different folder) those are duplicates for the original site. Just remember to password protect the whole duplicate site, so that nor people or bots can access it. After you have modded the test site/ tested various designs, etc. just copy the ready files to the actual site.
Venum is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2015, 05:13 AM   #7
xFoundry
Confirmed User
 
xFoundry's Avatar
 
Industry Role:
Join Date: Jun 2015
Posts: 180
Child theme is the best way to go.

"You should be working in your Child Theme if you're modifying the theme. Otherwise you'll lose your changes when the theme updates."

So you can make changes to the original theme, why not, but you wont be able to update it. These are not the most important things, but you are not losing anything, by working on a child theme.
__________________
xFoundry is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2015, 05:44 AM   #8
candyflip
Carpe Visio
 
candyflip's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: New York
Posts: 43,057
A child theme is not the best way to go, because that would assume you're working off of the same existing theme.

A second install is the best way to do this.
candyflip is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2015, 06:05 AM   #9
WP-Script
Confirmed User
 
WP-Script's Avatar
 
Industry Role:
Join Date: Jul 2013
Posts: 662
Make a backup of your site (files + database) and install it in localhost with wamp for example.

Then install the new theme and try to target what causes the design crashes. It's possible that your new theme uses other custom field names (to display thumbs for example). If this is the case, you will have to change it to match with the old custom fields.
WP-Script is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2015, 06:40 AM   #10
Rob
I'm a great bowler.
 
Rob's Avatar
 
Industry Role:
Join Date: Nov 2003
Location: Right Outside of Normal.
Posts: 13,309
Quote:
Originally Posted by WP-Script View Post
Make a backup of your site (files + database) and install it in localhost with wamp for example.
I was just about to suggest this.

It's crazy how many developers still don't use WAMP (or LAMP, which is what I use) to develop sites on their local machines, and then upload when they're fully tested and ready to launch. You can have 50 different themes working at the same time without affecting the integrity of your live site(s). And people can't say it's because of the price because WAMP, LAMP, and MAMP have been free since their inception.

But there's more than one way to skin a cat, heh?
__________________
Rob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2015, 07:05 AM   #11
WP-Script
Confirmed User
 
WP-Script's Avatar
 
Industry Role:
Join Date: Jul 2013
Posts: 662
Quote:
Originally Posted by Rob View Post
I was just about to suggest this.

It's crazy how many developers still don't use WAMP (or LAMP, which is what I use) to develop sites on their local machines, and then upload when they're fully tested and ready to launch. You can have 50 different themes working at the same time without affecting the integrity of your live site(s). And people can't say it's because of the price because WAMP, LAMP, and MAMP have been free since their inception.

But there's more than one way to skin a cat, heh?
You're right yes ;)
WP-Script is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2015, 07:46 AM   #12
aka123
Confirmed User
 
aka123's Avatar
 
Industry Role:
Join Date: Jul 2014
Location: 64 00 N, 26 00 E
Posts: 4,450
With local machine there is the problem that it won't duplicate your server setup in detail (or is at least harder). Though it won't crash the server neither.
__________________
aka123 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2015, 07:57 AM   #13
WP-Script
Confirmed User
 
WP-Script's Avatar
 
Industry Role:
Join Date: Jul 2013
Posts: 662
Quote:
Originally Posted by aka123 View Post
With local machine there is the problem that it won't duplicate your server setup in detail (or is at least harder). Though it won't crash the server neither.
Yes that's right but if it's simply modifications of custom field names or CSS, it doesn't risk much I think ;)
WP-Script is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2015, 08:06 AM   #14
freecartoonporn
Confirmed User
 
freecartoonporn's Avatar
 
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
clone DB and htdocs directory in subdomain and work there.
freecartoonporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2015, 08:35 AM   #15
Rob
I'm a great bowler.
 
Rob's Avatar
 
Industry Role:
Join Date: Nov 2003
Location: Right Outside of Normal.
Posts: 13,309
Quote:
Originally Posted by aka123 View Post
With local machine there is the problem that it won't duplicate your server setup in detail (or is at least harder). Though it won't crash the server neither.
The only issues I've ever had with migrating from local to remote was directory paths, which is an extremely easy fix, especially with a simply elegant platform like Wordpress. Very few changes in your database, a couple of config files, reconfigure some serials, and you're set.

P.S. There's even a plugin that does most, if not all of the heavy lifting for you. Double

https://wordpress.org/plugins/all-in-one-wp-migration/
__________________
Rob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-20-2015, 09:33 PM   #16
Kelli58
Confirmed User
 
Kelli58's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Texas
Posts: 2,080
I always just create a site like test.domain.com and then work on my new theme on the test site. When I get it the way I want it, then I transfer it over.
__________________
Kandy AI 🍭🍬 Take a bite out of censorship 🍭🍬 We believe in empowering adults to use AI as they see fit. 👉 Get AI to write your scene descriptions for you 👈
Kelli58 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-21-2015, 08:13 AM   #17
liveevilm
Registered User
 
liveevilm's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: South Florida
Posts: 21
Theme Test Drive WordPress plugin allows you to safely test drive any theme on your blog as administrator, while visitors still use the default one.

Code:
https://wordpress.org/plugins/theme-test-drive/
liveevilm is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-21-2015, 08:53 AM   #18
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
VPS accounts are so low today like $5 or $10/mo -- you don't need a lot of bandwith.

Just set up a development server with that same operating system -- play around without screwing up your production server. wget the wordpress base version then unzip in ssh set it up with the same database name -- wget the theme unzip. Develop> **edit a child theme > Tarball and rsync or wget the files server-to-server then untar.

Or use a gnu/LINUX os (same version os) locally with the identical file paths -- best way
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-21-2015, 10:23 AM   #19
TheSenator
Too lazy to set a custom title
 
TheSenator's Avatar
 
Industry Role:
Join Date: Feb 2003
Location: NJ
Posts: 13,331
Dude.... Just do it live!
__________________
ISeekGirls.com since 2005
TheSenator is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-21-2015, 10:35 PM   #20
1215
Boner Party
 
1215's Avatar
 
Industry Role:
Join Date: Aug 2004
Posts: 2,377
make a dev site that has all the same addons or plugins as your live site, some dummy content, and go from there.

or, stop using wordpress and get something a bit better.
__________________
Best Hosting
1215 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
theme, switch, ready, straight, change, keeping, current, wordpress, install, shit



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.