How to customize wordpress theme sidebar?

Discussion in 'WordPress' started by buytextads, Jun 15, 2012.

  1. #1
    i have using word-press theme want to show some field (category,Blog-roll etc) only on index page sidebar
    after added code
    <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
    side showing blank
    any guy guide me what i do



    here is our theme sidebar code
    -------------------------------------------------------------------
    <?php global $theme; ?>

    <div class="sidebar-secondary">

    <?php
    if(!dynamic_sidebar('sidebar_secondary')) {
    /**
    * The secondary sidebar widget area. Manage the widgets from: wp-admin -> Appearance -> Widgets
    */
    $theme->hook('sidebar_secondary');
    }
    ?>


    </div><!-- .sidebar-secondary -->
     
    buytextads, Jun 15, 2012 IP
  2. raoraj

    raoraj Well-Known Member

    Messages:
    849
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #2
    which theme your are using?
     
    raoraj, Jun 15, 2012 IP
  3. buytextads

    buytextads Banned

    Messages:
    260
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #3
    im using NewsReport theme fthemes.com/newsreport-free-wordpress-theme/
     
    buytextads, Jun 15, 2012 IP
  4. raoraj

    raoraj Well-Known Member

    Messages:
    849
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #4
    i suggest you to use "Widget Context" Plugin, thru which you can control, sidebar widgets.
     
    raoraj, Jun 16, 2012 IP