Forum Replies Created
-
AuthorPosts
-
Renu BakshiMember
Thank you sir..
Renu BakshiMemberVictor, Thank you so much for all your help and patience. I am not very familiar with coding and editing body section of my wordpress site. So, asking so many basic questions.
This is the code I am talking about: </div></footer></div><script src="//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US&adInstanceId=c85c8855-aaf0-4059-b6eb-f49ba9614543"></script>
It's appearing in the source code. As far as I remember, I added this jawascript using footer widget. I came to know later footer widget can not add jawascript. I have already deleted this code from the footer widget, but it's still appearing in the source code. I want to remove it from the source code, but don't know how I can do it?
Thanks once again for all your help.
Renu BakshiMemberI will turn of the plugins as suggested by you. But I don't know method to remove bad code. Can you please tell me how I can remove a code or bad part of a code?
Regards...... Renu Bakshi
Renu BakshiMemberI need your help on two issues:
(i) Yes, I also saw this in the source code. I first used footer widget to place the jawascript immediately before end of the body, which I later came to know that a footer widget can be used for placing html code and not jawascript. I want to remove this now: </div></footer></div><script src="//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US&adInstanceId=c85c8855-aaf0-4059-b6eb-f49ba9614543"></script> As this code is incorrect because I used footer widget for adding jawascript which is not the correct way. And I don't know how to remove this. Please advise how can I remove this code now?
(ii) As far as plugins are concerned, I am using latest versions of 4 reputed plugins only. (i) AdSense Integration WP QUADS (ii) Akismet Anti-Spam (iii) WP Smush (iv) Yoast SEO Premium. So, may be the problem is not due to plugins.
Renu BakshiMemberThis reply has been marked as private.Renu BakshiMemberMay be the the Child theme Modern Blogger Pro is not compatible. Can you please confirm it whether Modern Blogger Pro is compatible or not?
Renu BakshiMemberAt present I am using latest updated versions of three plugins only, viz., Akismet Anti-Spam, AdSense Integration WP QUADS and Yoast SEO Premium. I am using Genesis and Modern Blogger as theme.
The PHP compatibility checker plugin, which you are suggesting is untested with the latest version of WordPress. So, I fear using this plugin.
Please advise is there any other way to resolve this issue.
Thanks n Regards..
Renu BakshiMemberThank you so much for your prompt reply. I am using Modern Blogger child theme with genesis frame work and hostgator for hosting services. I want to upgrade hosting service plan from shared hosting to Cloud server business plan. While the hostgator people were trying to upgrade, they encountered this problem. I am reproducing here below what they wrote to me:
Quote
"Hello,
In reviewing your migration request, we noticed that the account you requested to have us migrate is using php 5.4. Unfortunately, this version of php has reached End of life and is not supported on our newer servers (including Cloud hosting packages). These new cloud servers only the latest versions of PHP, 5.5 and up in their current Easy Apache 4 environment. While we can proceed with the migration, we must warn you that there is a possibility that the version difference may cause your site(s) to break if there is code that is incompatible with newer versions of php. You can resolve this by updating your code to ensure it is compatible with more recent versions of PHP. If you are not familiar enough with this process, you may want to consult with your developer.
If you would like us to proceed regardless, or if you have managed to update your code to ensure compatibility with more recent versions of PHP, please let us know.
If you have any questions or concerns, please don't hesitate to contact us. We are more than happy to assist you.
Best Regards. "
Unquote
Can you please advise where could be the problem.
Thanks n Regards... Renu Bakshi
Renu BakshiMemberThank you so much Susan:
Here is my site's URL: http://naturalbeautytips.co/
Renu BakshiMemberThanks you so much Susan:
Here is my site's URL: http://naturalbeautytips.co/
Renu BakshiMemberThanks Lauren. This is a bit new thing for me. Need to work on this & will revert back in case I need further help.
Best............ Renu Bakshi
Renu BakshiMemberThanks a lot Lauren. I will work on this.
Best........... Renu Bakshi
Renu BakshiMemberThanks Lauren. I don't know coding. Can you please elaborate a bit more.
Best Regards.............
Renu BakshiMemberI think I have asked more than one questions in one post. I should have limited it to one query in one post. I request this thread may please be closed now. I will raise separate posts for each query.
Best,
Renu Bakshi
Renu BakshiMemberThanks Lauren. I knew about this link & have already read it. I want add a mix of logo, text and may be a pic along with that. Please advise what options do I have?
Best, Renu Bakshi
Renu BakshiMemberWill then the text appear under footers, at the bottom most end?
Renu BakshiMemberDear Samantha,
Thanks. I simply forgo it.
Renu BakshiMemberMy child themes funtions.php file in the wp-content in the cpanel of my service provider (hostgator) has option of using code editor. Can Iuse this code editor instead of using text editor like Notepad++
I have understood following:
Step 1: Copy this code from your reply above:
/** Register new widget & hook widget after title single posts*/ genesis_register_sidebar( array( 'id' => 'custom-widget', 'name' => __( 'Custom Widget', 'genesis' ), 'description' => __( 'Custom Widget Area', 'childtheme' ), ) ); /** * @author Brad Dalton - WP Sites * * @link http://wpsites.net/ */ function custom_widget() { if ( is_single() ) { echo '<div id="custom-widget">'; dynamic_sidebar( 'custom-widget' ); echo '</div><!-- end #custom-widget -->'; } } add_action( 'genesis_after_post_title', 'custom_widget',15 ); Step 2: Go to wp-content in mt c-panel Step 3: Open functions.php file of my child theme. Step4: Paste the above copied code at the end of functions.php file Are the above steps OK. Another related question: You have told me three options for having ad unit after title of the posts. Which option is better. Thanks & Regards..........Renu
Renu BakshiMemberBraddalton: Thanks a lot.
Please clear my three doubts:
(i) I have to put this code:if (is_single()) { ?><p>My Html ad code Here</p><?php}?> Am I correct. (ii) As I understand one should not change / amend google adsense codes, as this is against google adsense policies / terms. So adding conditional code as above does not mean changing / amending google adsense code. (iii) Placing link ad unit just under titles of the posts is not against google adsense terms / policies. Best Regards............Renu
Renu BakshiMemberThanks...........
Where to put this conditional tag - "is_single"
-
AuthorPosts