ukpockets
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Need a few answers ASAP!PS. Lastly, I deleted from the footer:
<?php require 'functions/required/template-bot.php'; ?>
and the similar line of code in the header referring to template-top.php
Forum: Fixing WordPress
In reply to: Need a few answers ASAP!I had a similar problem with a similar theme, and the problem was not with WP Cache, but rather with some nasty encrypted code buried in the theme which you may want to address.
As discussed, it is using this in the library.php:
/** * Renders the theme credits. */ function padd_theme_credits() { do_action(__FUNCTION__);
… and this in the footer.php:
<?php padd_theme_credits(); ?>
… to summon up those theme credits. In the theme I was using, these were not credits to the designers at all, but links to various fake websites and online dating sites, so that is bad practice and can diminish the ranking of your own site.
As in your case, if I removed these bits of code, the site went blank. I was not using WP Total Cache and this was not the problem.
I looked in functions/required and found the php files for template-top and template-bot. These contain encrypted code (presumably telling it to put in those nasty links). I removed the code from within those files and uploaded them as empty. (Note, you can;t get at these files through the WP admin interface and would have to e.g. ftp).
Then, when I removed the two above bits of code, the site worked, with no ‘credits’ and no blank screen.
I am not happy with the theme creators Padd Solutions, as nowhere on their site do they mention they are giving away themes that are basically parasites on your website.
Still, this fix seems to work for me.