• Hi
    I would like to add advertisement banners to left and right of frontpage . How to do that?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Theme Author tubegtld

    (@tubegtld)

    You can use the code from here…
    https://www.ads-software.com/support/topic/adding-ads-banners-to-left-and-right-on-single-post/#post-9532176

    Just change the conditional a bit…

    if ( ! ( is_singular( 'post' ) || is_home() ) ) return;

    Thread Starter vpbay

    (@vpbay)

    Worked but it narrowed down the video boxes on homepage. Is there any code which doesnt narrowing the video boxes and puts banner ads into left and right homepage (with mobile responsive)?

    Theme Author tubegtld

    (@tubegtld)

    I tried to pull up your site but got a warning from Malware Bytes, so until that’s resolved I can’t really provide proper support.

    That said, at present, there’s not an elegant, programmatic way to change the grid, which would give you larger images. Good to-do list item though!

    If you’re handy with javascript, you could swap out list-posts-grid.grid-123 for one of the other grids in the CSS… most likely grid-12 which only goes up to two columns on even wide viewports.

    BEFORE JS CLASS SWAP
    <ul class="list-posts list-posts-grid grid-123 clearfix">

    AFTER JS CLASS SWAP
    <ul class="list-posts list-posts-grid grid-12 clearfix">

    Hope that helps.

    Theme Author tubegtld

    (@tubegtld)

    NOTE: In the next version of the theme you’ll be able to change the grid using tube_filter_archive_posts_grid

    • This reply was modified 7 years, 5 months ago by tubegtld.
    Thread Starter vpbay

    (@vpbay)

    Okay that malware most probably causing by popads I have now reduced the ad level. Could you please re check? If the malware continue I will completely remove popads.

    Theme Author tubegtld

    (@tubegtld)

    Yeah, still getting malware / blocked site notifications, this time from Malwarebytes, and TBH I’d rather not pull up adult sites so not really going to be able to provide “hands on” support here.

    That said, the updated theme with new filters will be live tomorrow if all goes well so that should do the trick.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Adding ads banners to left and right on homepage?’ is closed to new replies.