td_page_generator

Posted in: Newspaper
Post count: 36

hi there,

i need one news ticker on my website. i can try this code <?php do_shortcode('[t4b_ticker]'); ?> (i tried more codes) in td_page_generator.php (line 18) . But when i try any code in this position, website give whitepage problem.

Thanks…

Post count: 36

i want this http://www.screencast.com/t/FAfRmx9P

  • This reply was modified 11 years by eballi.
Post count: 7909

Hi,

I’m not sure where you want to display your ticker, but from your image I think that you want to display it above post’s title.
If you want this, please edit post template that you use and add the shortcode there – for default post template: http://screencast.com/t/7AG6T8oK

Thanks!

Post count: 36

Hi,

Thats not only post template http://www.screencast.com/t/xQUvJOVpMa i want to make everypage. I try here http://www.screencast.com/t/mOYZeRTJ

Thanks…

  • This reply was modified 11 years by eballi.
Post count: 7909

Hi,

If you want to display ticker on all of your pages(page, category, post…) you can add the ticker bellow the main menu. You need to create a file in parts folder like – http://screencast.com/t/fYkP3Rq1
and add your shortcode – http://pastebin.com/WLUSLqtj
Then call that template in header.php: http://screencast.com/t/7GVwtPJWePC

locate_template('parts/header-style-1-ticker.php', true);

You may need some css customization, but you can add an extra class to the ticker container and use it to customize.
If you want your ticker only for page templates you have to edit those files depending which page template do you use – http://screencast.com/t/1gt1C89hd

Thanks!

Post count: 36

Thanks a lot…

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