Reduce the number of ads

  • Author
    Posts
  • #112499

    seanmccaughan
    Member
    Original poster

    Hi. WordPress says the optimum number of ads on a page is two. Is there a way to reduce the number of ad placements on the front page so there isn’t one underneath every single post?

    The blog I need help with is: thebigbubblemiami.com

    #112692

    ricardpriet
    Theme Author

    Hi seanmccaughan,
    thanks for writing.

    Unfortunately, theme authors don’t have access to ads settings, so we are not able to give you the steps to select where the ads will be appear.

    However, you can hide some ads with CSS keeping two of them under the posts you desired. Add this CSS

    .hentry .wpcnt {
        display: none;
    }
    .hentry:nth-of-type(1) .wpcnt {
        display: block;
    }
    .hentry:nth-of-type(2) .wpcnt {
        display: block;
    }

    and change the numbers of post you want to have ads. In the examples, they are first (1) and second (2). This is not a complete solution. Rest of the ads will be hidden but will remain in the HTML code.

    Let us know if you need more help with this to add a WordPress Staff Member to the conversation.

    Thank you again!
    Ricardo P. from SiloCreativo

The topic ‘Reduce the number of ads’ is closed to new replies.