How to get news ticker on home page sidebar only.. (2 posts)

  1. pkverma
    Posted 2 years ago #

    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(); } ?>

    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...


  2. Jessica
    Posted 2 years ago #

    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...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • News-Ticker
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.