Forum Replies Created
-
AuthorPosts
-
July 10, 2017 at 5:39 am in reply to: Adsense Ads No Longer Showing After Automatic Back-up WordPress Sites #118895wordazParticipant
Ok thanks,
The problem must be from my end.
July 8, 2017 at 6:07 am in reply to: Adsense Ads No Longer Showing After Automatic Back-up WordPress Sites #118834wordazParticipantSites are;
July 8, 2017 at 6:05 am in reply to: Adsense Ads No Longer Showing After Automatic Back-up WordPress Sites #118833wordazParticipantHello,
My Adsense ads have stopped showing on desk top yet again.
Can somebody help proffer a lasting solution to this issue please.
July 6, 2017 at 5:54 am in reply to: Adsense Ads No Longer Showing After Automatic Back-up WordPress Sites #118700wordazParticipantIts fine now. Thanks
July 6, 2017 at 5:08 am in reply to: Adsense Ads No Longer Showing After Automatic Back-up WordPress Sites #118694wordazParticipantFunny,
okay let me recheck from my end. Thanks
July 6, 2017 at 4:53 am in reply to: Adsense Ads No Longer Showing After Automatic Back-up WordPress Sites #118691wordazParticipantHi,
They’re showing on tablet and smartphones but not on a laptop. Please check on laptop.
(Sorry, tried to post a screen dump but couldn’t/dont know how to do so here in the post)wordazParticipantThank you.
Working perfectly now
CheerswordazParticipantOh, thanks a lot – Just finished that review.
Meanwhile, I used the same code for my other site but its not having the same effect (not blending in the Google code)
I also noted that after adding my google adsense code for the site following your instructions for my 1st site (mtn4u.com), the top article (title and “more”) in the scroll down list does not highlight and is no longer clickable. It is also difficult to click the articles in the “Recent Posts”.
Can you help me look at it pls. The site is
https://intechreviews.com/wordazParticipantThanks a lot Pratik.
Working perfectly now.
Cheers
wordazParticipantHi Pratik,
Ive tried all that but nothing seems to be working at the moment. (I even tried adding “if” and “endif” statements to no avail). It fails to render in the preview.
Currently my child themes “functions.php” code looks like this;
<?php
// Exit if accessed directly
if ( !defined( ‘ABSPATH’ ) ) exit;// BEGIN ENQUEUE PARENT ACTION
// AUTO GENERATED – Do not modify or remove comment markers above or below:if ( !function_exists( ‘chld_thm_cfg_parent_css’ ) ):
function chld_thm_cfg_parent_css() {
wp_enqueue_style( ‘chld_thm_cfg_parent’, trailingslashit( get_template_directory_uri() ) . ‘style.css’, array( ) );
}
endif;
add_action( ‘wp_enqueue_scripts’, ‘chld_thm_cfg_parent_css’, 10 );
function clean_journal_child_ad(){
?>
<!– <script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– MTN4U Banner Ad –>
<ins class=”adsbygoogle”
style=”display:inline-block;width:728px;height:90px”
data-ad-client=”ca-pub-****************”
data-ad-slot=”**********”></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script> –>
<?php
}
add_action( ‘clean_journal_before_content’, ‘clean_journal_child_ad’, 30 );// END ENQUEUE PARENT ACTION
Kindly advise on what Im doing wrong.
Thanks
wordazParticipantHello Pratik.
Im not sure Im getting this right as its not working. I went to Themes – Child Themes – Files – “Click to edit Files using Child Theme Editor”The last line of code in the “Clean Journal Child 02: Theme Functions (functions.php)” is;
endif;
add_action( ‘wp_enqueue_scripts’, ‘child_theme_configurator_css’ );I then added the following immediately after it;
function clean_journal_child_ad(){
?>
<!– Add google ad code here –>
<?php
}
add_action( ‘clean_journal_before_content’, ‘clean_journal_child_ad’, 45 );and then saved. Nothing however is reflecting on my webpage.
Pls assist. What did I do wrong.? How do I rectify it?
wordazParticipantHello, Thanks for the info.
I have set up a child theme on the website. I want to place the ad inbetween the 2nd menu and slider.
Also how do I add ads to my home page,
1) just below the featured content section
2) Just above featured content section/below slider section
2) inbetween each post brief as seen on home page (maybe doing so every couple of posts). Please is this possible?I want to try out these various options to see which one will best suit the site
Thank you and regards
wordazParticipantHello,
I also have this challenge. Im trying to add adsense link units below the menu and below the fold. My website is https://mtn4u.com/
Kindly assist -
AuthorPosts