Forum Replies Created

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • wordaz
    Participant

    Ok thanks,

    The problem must be from my end.

    wordaz
    Participant
    wordaz
    Participant

    Hello,

    My Adsense ads have stopped showing on desk top yet again.

    Can somebody help proffer a lasting solution to this issue please.

    ads not showing

    wordaz
    Participant

    Its fine now. Thanks

    wordaz
    Participant

    Funny,

    okay let me recheck from my end. Thanks

    wordaz
    Participant

    Hi,

    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)

    in reply to: insert adsense under the menu #118291
    wordaz
    Participant

    Thank you.

    Working perfectly now
    Cheers

    in reply to: insert adsense under the menu #118288
    wordaz
    Participant

    Oh, 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/

    in reply to: insert adsense under the menu #118268
    wordaz
    Participant

    Thanks a lot Pratik.

    Working perfectly now.

    Cheers

    in reply to: insert adsense under the menu #118255
    wordaz
    Participant

    Hi 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

    in reply to: insert adsense under the menu #118187
    wordaz
    Participant

    Hello 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?

    in reply to: insert adsense under the menu #118128
    wordaz
    Participant

    Hello, 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

    in reply to: insert adsense under the menu #118066
    wordaz
    Participant

    Hello,

    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

Viewing 13 posts - 1 through 13 (of 13 total)