WordPress.org

Forums

Related Posts
[resolved] Adsense Location (7 posts)

  1. hayhag
    Member
    Posted 1 year ago #

    Firsly Adsense code works under de single post, after add this plugin ads looks under the plugin, ı wanna it above of plugin? How can ı do it? thx

    http://wordpress.org/extend/plugins/related-posts/

  2. silvoslaf
    Member
    Plugin Author

    Posted 1 year ago #

    Hey, you should go to your plugin settings, scroll to the bottom and un-tick the box next to "Auto Insert Related Posts". After that, go to tab Appearance-Editor, select the single.php file and paste the code you can find below to the place you wish (above your related posts).

    Here's the code for your related posts:

    <?php zemanta_related_posts()?>

    Let me know how it goes or if you need any additional assistance (let me know what's the blog in question) — I'll gladly help you out!

    Take care!

    Silvo

  3. hayhag
    Member
    Posted 1 year ago #

    thx
    <?php zemanta_related_posts()?>
    <center>
    <script type="text/javascript"><!--
    google_ad_client = "ca-pub-5969395452078978";
    /* 300x250 okumaliyiz sidebar */
    google_ad_slot = "2220819815";
    google_ad_width = 300;
    google_ad_height = 250;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    </center>

    it doesn't work, where that should ı paste that code?

  4. hayhag
    Member
    Posted 1 year ago #

    thx so much i did with your help now, it was better adsense thanks so much..

  5. silvoslaf
    Member
    Plugin Author

    Posted 1 year ago #

    Hey, glad to hear that, really! What was the trick, where did you have to move the code in order to move your related posts in the right place?

    I'm eager to know, since it could come in handy for any future inquiries for our users!

    Big thanks for your update! Take care & have a nice day!

    Best,
    Silvo

  6. hayhag
    Member
    Posted 1 year ago #

    <center>
    <script type="text/javascript"><!--
    google_ad_client = "ca-pub-5969395452078978";
    google_ad_slot = "2220819815";
    google_ad_width = 300;
    google_ad_height = 250;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    </center>
    <?php wp_related_posts()?>

    it is like this, after that first adsense and then related posts..

  7. hayhag
    Member
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Related Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.