WordPress.org

Ready to get started?Download WordPress

Forums

Suppress code on index.php/page/2/ (7 posts)

  1. mrlayance
    Member
    Posted 4 years ago #

    On index.php I have some code just below the beginning of content. How can I suppress that code when someone visit index.php/page/2/ or previous entires?

    When someone visits a post directly I do not have this problem. I am assuming a different file is called. I searching the code but I can not find anything.

    Thanks

  2. Can you provide a link to your site and a copy of the code so that we can see where the error is?

  3. mrlayance
    Member
    Posted 4 years ago #

    Can I email the code to you?

  4. Just copy and paste it in the editor using backticks and send us a link to your site.

  5. mrlayance
    Member
    Posted 4 years ago #

    code

  6. I've looked at your site on both Safari and Firefox on my Mac and can't see any code. I also don't see anything wrong with the code.

    I'm guessing that perhaps the only thing that could be messing up the code is the google ads at the top:

    <center><script type="text/javascript"><!--
    google_ad_client = "";
    /* 468x60, created 7/18/09 */
    google_ad_slot = "1684981786";
    google_ad_width = 468;
    google_ad_height = 60;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script></center>
    <br />

    but I'm just guessing here. Maybe try removing this and see what happens.

  7. mrlayance
    Member
    Posted 4 years ago #

    Nope, same issue.

    Very strange.

Topic Closed

This topic has been closed to new replies.

About this Topic