Support » Plugin: News-Ticker » How to get news ticker on home page sidebar only..

  • plugin is great but just one things I want to customize…

    I added necessary function/code in sidebar.php

    <!– BEGIN: #secondary –>
    <div id=”secondary” class=”g1-sidebar widget-area” role=”complementary”>
    <h3>Latest News</h3>
    <div id=”news”>
    <?php if ( function_exists(‘insert_newsticker’) ) { insert_newsticker(); } ?>
    </div>
    …….
    ………
    </div>

    Now news ticker coming on all page’s sidebar.

    But i want it to add in only home page sideabr.

    Is there any way to do this, so if side bar is primary/home then only

    then only display news ticker…

    http://wordpress.org/plugins/news-ticker/

Viewing 1 replies (of 1 total)
  • Jessica

    (@thejessicapage)

    Hi Pkvermn,your post was a while ago so you probably figured it out but you would want to create a different sidebar.php for the home page and call to that. Or you could add some PHP that would only display the widget when on the home page…

Viewing 1 replies (of 1 total)
  • The topic ‘How to get news ticker on home page sidebar only..’ is closed to new replies.