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).
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!
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.
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!
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)?
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!
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
Hi,
It should match that number in the url, like in this ascending smart list style 1 example – https://www.screencast.com/t/6fxVoOT26Ot – https://www.screencast.com/t/7embd80HZoJz Please provide a link to your website if you are having problems with your smart lists.
Thanks