WordPress: Theme Migration - wordpress

I'm trying to help move a website, and I copied a clean version of the twentyfourteen themes from spot A into spot B, but it did not take effect.
Our site (as mentioned earlier) had been injected, so we're relocating our site with a fresh install. On the original WordPress site export did not work properly for the pages, so I do not think it would work for a theme.
Does anyone had any tricks they'd like to share?
Thank you!

The original theme seems to be stuck as the active theme in your database. Do you have any plugins running yet? ...More specifically a plugin that can cache your site?
If there aren't any plugins running, it's probably stuck in your server's cache and needs a bit of time to roll over.

Related

Local instance of wordpress edit plugin

I've having an annoying issue with Wordpress.
First I have to say that I'm not very familiar with Wordpress, I’m using it because I agree to take the management of the website of my sport club.
Now let’s me explain the issue. The previous manager of the website found a plugin that he think will be nice for the website.
But now that I’m managing, I want to make some change to this plugin (which is under GNU GPLv3 License so I have the right to do it).
So I install wamp on my computer, then wordpress and then I add the plugin to it in the purpose to test my changes.
I was thinking that when editing the files under “…\wp-content\plugins...” it will take effect instantly but it’s not.
I try to restart wamp after making some changes but it does not solve my issue.
A bit later I found that in wordpress there is a plugin modification interface and when going in it I found that the changes that I made on the files where not taken. Is there a cache of the files or something?
So my question is the following: Is there a way to edit the files in the folders (I’m using Visual Studio Code) and that the changes are applied instantly to the “running” plugin in my local instance?
I hope I was able to be clear enough so you guys can understand me
Thanks in advance

Wordpress - Theme stuck at loading after migration

I have been recently tasked to migrate a Wordpress page to another hosting services. Task, which should be quite easy, took me last 2 days and I still can't figure out what is wrong. After migrating (tried it with Duplicator plugin, manual copying and changing links in database) pages won't load. I managed to get into backend and after changing theme to any default Wordpress theme (twentysixteen, twentyseveteen etc.) site works fine but when I try use designated theme (Proxima, https://themeforest.net/item/proxima-responsive-business-multipurpose-theme/8094780) it just won't load. Page is trying to load but in the end it shows 503 error. Same thing if I want to see the preview of theme in backend, loading animation appears and nothing happened. I tried a lot of things to fix it: changing file permissions, disabling plugins, updating Wordpress, downgrading Wordpress, changing php version, changing MySQL version and nothing works. My theme support has expired and before I renew it I just wanted to ask if anyone had that problem before. Maybe there is super easy fix and I just don't see it.
Thanks in advance for any help
Problem solved with hosting support. Bad media path was the problem.

Restarting a wordpress project

I am a freelance developer, and I normally build sites from scratch without using any code generating sites like WordPress or Square Space. But my current client insists on using WordPress. However, I am rescuing this project from a previous developer who made a big mess because from the looks of it does not seem like they knew what they were doing.
Is there a way for me to restart everything, on a clean slate and template on WordPress? I would like to have none of what the previous developer has done. Also is there a way for me do do direct coding using HTML, CSS, JavaScript etc on a WordPress site?
Yes, you just need to look into how to create a theme, since themes are the basis of the Wordpress structure. Ultimately, if you have the code for a website, it can be broken into separate files that Wordpress can use.
See: http://www.wpexplorer.com/create-wordpress-theme-html-1/
If the previous developer has done all the work in the theme files, then simply switching the theme to a default theme (Like Twenty Sixteen) will give you a nice clean slate to dig in and jump off with. You will want to create a child theme of any existing theme if you want to make any changes. If, however, the developer has messed with other files besides the theme folder, then you will most likely want to export the content only (as a logged-in administrator, go to Tools > Export (here's a screenshot))
Then on a new environment (I prefer testing these things first on a local virtual environment like VVV, and then transition to a development subdomain on the same server that the site will eventually go live on and securing it with an htaccess user/password to block curious eyes), import the content on a fresh installation of wordpress via the same menu (Tools > Import). This will give you a fresh installation with the content that's been created, but without any of the mess.
For more information about importing content - here's the codex article.
I hope that's a good start - but if I've glossed over anything you don't understand, let me know - I'm happy to help.

WP theme works on one server, but caused White Screen on another

I have a custom theme (http://aspenwebsites.com/echo/) that works fine on a server here in US.
Today I attempted installing that theme to a server in Kazakhstan and got a White Screen - http://domstroy.kz/
Unfortunately I won't be able to access their database in order to change a selected theme or to their restore options for next 6-8 hours. I'm hoping to find the solution in the meantime while I only FTP access.
My custom theme was built as a modification to WP's Twenty-thirteen. I noticed their WP did not have Twenty-Thirteen WP theme present in the list of themes. So I was hoping by bringing Twenty-Thirteen theme files over via FTP I might rescue the situation. It didn't seem to make any difference.
What else might it be or should I look for or try, since the very same theme works fine on a server here in US.
Remove your theme from the theme folder using ftp. This should force WordPress to choose another one.
Are you running an up-to-date version of WordPress? If TwentyThirteen is missing, was it deleted or is the version of WordPress so old that it does not support TwentyThirteen? If the latter then your child theme won't work until you update WordPress and then put TwentyThirteen on, and then your theme.
HTH,
=C=

after wordpress site hacked only displaying white page

Recently a clients site got hacked on Rackspace and since then I have been trying to recover certain items on the site.
I have cleaned everything up and did a framework upgrade.
Now when I am trying to install something new, make changes, or simply post an update it renders a white page after success...
I have disabled all my plugins and still the same issue.
Have any of you experienced this before and what are some of the steps you could give to recover this...
Thanks in advanced.
Ok, so I have managed to find some good tips that has helped.
Ultimately disabled all plugins, reinstalled wordpress, there were some issues in the following files.
wp-config.php, pluggable.php and class.wp-scripts.php - all these missed a closing ?>
And make sure that your themes functions.php file doesn't have any whitespace.

Resources