Custom Ads

Posted in: Newspaper
Post count: 9

Hello,

If it possible to put an custom ads after the page navigation on home, tags and category pages?

Like as: http://i.gyazo.com/520b2ffd39746f361c4b6dc8d246acf9.png http://i.gyazo.com/48ca807f799dd4b2afe79186945ce2cb.png

Thanks,
Alex

Post count: 7909

Hi,

Yes, you can use do_shortcode function and add a custom ad bellow pagination in template that you want:
Homepage with articles list – http://screencast.com/t/d9HPJK5j0http://screencast.com/t/vnljqeHfD
Category page – http://screencast.com/t/Sx5IWqWbdyhttp://screencast.com/t/IWlGaGdH
Tag page – http://screencast.com/t/oyUmCoCcDmw

echo do_shortcode('[td_ad_box spot_id="custom_ad_1"]');

Thanks!

Post count: 9

Hi Alin,

On the tags pages look great, but on Home don’t display and on the Categorys are show on center of pages.

Tags: http://i.gyazo.com/252bc145956887e7ed488423ae221cc0.png

Categorys: http://i.gyazo.com/bf88fd34f5ee6816b3129e54ad30f1f7.png – It can be made to display as tags style? I solved the problem, but on the home still does not appear the custom ads 1.

Home: Nothing appears

Thanks,
Alex

Post count: 7909

Hi,

For you homepage you have to edit the template that you use “Homepage-BG with articles list” or “Homepage with articles list”: http://screencast.com/t/O3URcn7p So if you say that it doesn’t work it means that you use “Homepage-BG with articles list” page template.
For category page please use the code like this after pagination – http://screencast.com/t/ytKnDWbedfgL and it should solve the issue (above I provided wrong position for category page – sorry ).

Thanks!

Post count: 9

Still don’t works with Homepage-BG with articles list or Homepage with articles list, but I edit the index.php on the 70 line and it works. http://i.gyazo.com/a011256d4c679caac259296af22ca864.png

I have another problem, if you can help me.

How I can remove “Blog” (BREADCRUMBS) text from Home? http://i.gyazo.com/25e1db28e24c22ed7fb84e01f787954d.png

Thanks,
Alex

Post count: 7909

Hi,

It did not work because you’re not using a page template for static front page, you use a latest articles(blog).
You can remove Blog from this file: http://screencast.com/t/Auw8dDEnydj

Thanks!

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