badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Ads block after first post?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27782
    quan3t
    Participant

    Hello,
    I am using the Full Content Display template and looking for a way to insert some ads block after the first post. Anyway to do this?

    #27882

    Hi quan3t,

    Just paste your ads block code after the post content via post editor. If you are asking to have the Ads block between the first post and the second post then you have to customize the code you have to hire a developer for this.

    Thank you!

    #27894
    quan3t
    Participant

    I don’t want too many ads display.. Just one between the first and second post. Can you let me know where in your theme files I can find the code section for what WP refer to as “The Loop”? Thanks

    #27918

    Hi quan3t,

    The post is inside the loop. If you add the post inside the loop then your ads will be displayed in every section. If you want to customize the code then first of all create a child theme then only customize the code so that while updating to our new version your customized code will not be lost.

    If you like to make direct changes in the code then each and every time while updating to new version you need to make the same customization.

    It would be great if you provide your site Url too. Which blog are you using? Please clarify. If you are using the default blog then go to theme folder -> inc -> structure-> content-extension.php on line no 87 to 172. You will find this below code
    if ( ! function_exists( 'ultimate_theloop_for_archive' ) ) :

    Add your code inside this functions where you need your ads block. But your ads will be displayed in all blog if you add inside this functions because it’s under loop.

    Better you simply add your ads in your particular post. So that only related post will display your ads.

    Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.