Ad unit underneath the smartlist slideshow posts

Posted in: Newspaper
Post count: 20

I’m trying to show an ad unit on smartlist slideshows (near the related articles section) – and it does show but only for the last list item – not for any other. How do I change it so it changes for all of them? I am using smart list #7.

(I have ad unit above it – shows on every page but the ads shown below “all” posts – only show at the last slide, since WP thinks its just one post).

Post count: 7909

Hi,

There is a specific spot where you can paste the code and the ad will appear if you use template 7 – http://screencast.com/t/0ev6XNkT5 you can see the result on our demo – http://demo.tagdiv.com/newspaper/10-landscapes-wont-even-imagined-exist/
If you want to add it manually, check this solution – https://forum.tagdiv.com/topic/google-ad-sense-not-working-on-smart-list-page/

Thanks!

Post count: 20

Yeah I have an ad there – but wanted the “below post” ad unit to show on all pages of the post (/2, /3, etc) – not just the last one. Guessing I can add it manually in the php file – however – it will duplicate on the last page, will it not?

  • This reply was modified 10 years by larceny.
Post count: 22421

Hello,
Unfortunaltey you will have to set the ad manually from the theme files and remove the one from the theme panel.
You can use this code:
$buffy .= do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]'); like so:
http://screencast.com/t/NICjbCRzYRQc
I hope this helps.
Thank you!

Post count: 20

ok – I actually realized it wasn’t the “below post” content ad I was using – but another plugin that hooks into “below post” that is posting the ad I wanted on all the slides urls. So it gets a bit complicated at that point.. I can remove the placement from that plugin, and add it somewhere else for the rest of the posts (but how)?

I understand to add the code manually into the smartlist php file. But how do I get that same ad (or another ad) showing on bottom of regular posts (non-smart-lists)?

Post count: 6535

Hi

You can place the ad in regular posts by editing the files corresponding with the post template used for that post: http://screencast.com/t/DPhrOvKEKF For post template 1 the files that must be edited are loop-single-1.php or single_template_1.php, depends where you want to place the ad.

Thanks!

Post count: 20

Thank you! I decided to just add another ad unit in the smartlist template – then it will just show both for the last slide lol.. More money in the end depending on the network chosen.

Thanks

Post count: 20

How do I change the number in the smart list slides to correspond appropriately with the url?

IE slide 1, going to /1 – but not doing that till the end. Right now it does, say /1 as the first slide, but shows #15 as the number on the slide.

Post count: 20688

Hi,

You can change the smart list numbering to ascending or descending here – https://www.screencast.com/t/mH3BeisHwj but it should also be taken into account the order and the structure of the smart list content in the post – https://www.screencast.com/t/6ZzvqGvrmucq Please correct me if I misunderstood.

Thanks

Post count: 20

I believe the # in the URL – might not match the # it assigns to each slide though?

Post count: 20688

Hi,

It should match that number in the url, like in this ascending smart list style 1 example – https://www.screencast.com/t/6fxVoOT26Othttps://www.screencast.com/t/7embd80HZoJz Please provide a link to your website if you are having problems with your smart lists.

Thanks

Viewing 11 posts - 1 through 11 (of 11 total)
The forum ‘Newspaper’ is closed to new topics and replies.