The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> PHP Development
|
Wordpress - Code Will not clear from website
Discuss Code Will not clear from website in the PHP Development forum on Dev Shed. Code Will not clear from website PHP Development forum discussing coding practices, tips on PHP, and other PHP-related topics. PHP is an open source scripting language that has taken the web development industry by storm.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

January 11th, 2013, 06:01 PM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 8
Time spent in forums: 1 h 39 m
Reputation Power: 0
|
|
|
Wordpress - Code Will not clear from website
Working on a site for a client and I've pasted code into the footer and decided that it wasn't the right place so I took it out ...and well its not gone.
|

January 11th, 2013, 06:05 PM
|
 |
Contributing User
|
|
Join Date: Aug 2011
Location: The Pleiades
|
|
|
Can you provide any code or more detail?
Regards,
NM.
|

January 11th, 2013, 06:14 PM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 8
Time spent in forums: 1 h 39 m
Reputation Power: 0
|
|
|
Code- The code is not in there O_O
<?php
/**
* The template for displaying the footer.
*
* @package WordPress
* @subpackage Kratong
*/
?>
<br class="clear"/>
<div id="footer">
<?php
/**
* Get footer text
*/
$pp_footer_text = get_option('pp_footer_text');
if(empty($pp_footer_text))
{
$pp_footer_text = '© 2011 Peerapong Pulpipatnan All Right Reserved.';
}
echo stripslashes(html_entity_decode($pp_footer_text));
?>
</div>
</div>
<?php
/**
* Setup Google Analyric Code
**/
include (TEMPLATEPATH . "/google-analytic.php");
?>
<?php
/* Always have wp_footer() just before the closing </body>
* tag of your theme, or you will break many plugins, which
* generally use this hook to reference JavaScript files.
*/
wp_footer();
?>
</body>
</html>
|

January 11th, 2013, 06:17 PM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 8
Time spent in forums: 1 h 39 m
Reputation Power: 0
|
|
|
Here is the code that is still showing in "inspect element)
<?php if ( function_exists('cn_social_icon') ) echo cn_social_icon(); ?>
As well the social icons which the code produces are still showing up on the site
|

January 11th, 2013, 06:39 PM
|
 |
Contributing User
|
|
Join Date: Dec 2012
Location: Chicago
Posts: 51
Time spent in forums: 17 h 43 m 32 sec
Reputation Power: 1
|
|
|
Have you cleared all buffers. If you have a proxy server, it may be buffering the old page.
|

January 11th, 2013, 07:18 PM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 8
Time spent in forums: 1 h 39 m
Reputation Power: 0
|
|
Quote: | Originally Posted by richpri Have you cleared all buffers. If you have a proxy server, it may be buffering the old page. |
not sure how O_O?
|

January 11th, 2013, 07:53 PM
|
 |
Contributing User
|
|
Join Date: Dec 2012
Location: Chicago
Posts: 51
Time spent in forums: 17 h 43 m 32 sec
Reputation Power: 1
|
|
|
Not sure either about proxy clearing. I have had problems like this, but the only remedies that I have found are reloading the page, clearing the history and waiting for a timeout. A server expert may be of more help.
|

January 11th, 2013, 08:04 PM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 8
Time spent in forums: 1 h 39 m
Reputation Power: 0
|
|
Quote: | Originally Posted by richpri Not sure either about proxy clearing. I have had problems like this, but the only remedies that I have found are reloading the page, clearing the history and waiting for a timeout. A server expert may be of more help. |
I've cleared the history cache and everything...
Can you point me to the direction of a forum that might help?
|

January 12th, 2013, 02:50 AM
|
 |
Contributing User
|
|
Join Date: Aug 2011
Location: The Pleiades
|
|
|
So your first bit of code, you have taken out of your script right?
Regards,
NM.
|

January 12th, 2013, 03:37 AM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 8
Time spent in forums: 1 h 39 m
Reputation Power: 0
|
|
Quote: | Originally Posted by Nanomech So your first bit of code, you have taken out of your script right?
Regards,
NM. |
No quite sure I understand your question. But if your asking if I took the script out yes I did.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|