Syahir Hakim

Keymaster

Forum Replies Created

  • Admin

    In reply to: Blog Listing

    #16412

    Easy. That’s called a static front page. Follow the instructions here: http://codex.wordpress.org/Creating_a_Static_Front_Page

    Admin

    In reply to: Conditional secondary menu?

    #16309

    Oops…I forgot the semicolons..should be like this:

    if ( is_page('page1') )
    $args = array_merge( $args, array( 'theme_location' => 'secondary-menu-page1' ) );
    if ( is_page('page2') )
    $args = array_merge( $args, array( 'theme_location' => 'secondary-menu-page2' ) );
    if ( is_page('page3') )
    $args = array_merge( $args, array( 'theme_location' => 'secondary-menu-page3' ) );

    Also, don’t change the theme_location to your theme location! That’s actually a parameter for the wp_nav_menu() function call, so just leave it as theme_location. Just change the value it points to, like what you’ve already done above.

    Admin

    In reply to: Conditional secondary menu?

    #16306

    Hurm..no straightforward way I suppose. I don’t think there’s any Dyanmic Widget-like plugin for custom menus yet.

    But you can do this in your child theme. Basically the idea is to add many more menus, each for the separate pages that you want. Then only show those menus when you’re on the page.

    This goes in child theme’s functions.php:

    <?php
    /* Register multiple secondary menus */
    register_nav_menus( array(
    'secondary-menu-page1' => __( 'Secondary Menu (Page 1)', 'graphene' ),
    'secondary-menu-page2' => __( 'Secondary Menu (Page 2)', 'graphene' ),
    'secondary-menu-page3' => __( 'Secondary Menu (Page 3)', 'graphene' ),
    ) );

    /* Conditionally display secondary menu */
    function graphene_multiple_secondary_menu( $args ){

    if ( is_page('page1') )
    $args = array_merge( $args, array( 'theme_location' => 'secondary-menu-page1' ) )
    if ( is_page('page2') )
    $args = array_merge( $args, array( 'theme_location' => 'secondary-menu-page2' ) )
    if ( is_page('page3') )
    $args = array_merge( $args, array( 'theme_location' => 'secondary-menu-page3' ) )

    return $args;
    }
    add_filter( 'graphene_secondary_menu_args', 'graphene_multiple_secondary_menu' );
    ?>

    This way you can register as manu custom secondary menus as you like, and have them appear only on the associated page.

    Admin

    In reply to: Sidebar problems

    #16399

    There’s really no need to be sorry. You’re here for assistance, and we’re here to help you 🙂

    You can try reinstalling the theme again. Just delete it and then install it again.

    Admin

    In reply to: Sidebar problems

    #16397

    ok, that’s weird. Can you try removing all widgets from your widget area?

    Admin

    In reply to: Sidebar problems

    #16395

    Er..ok. What plugins do you have installed?

    Admin

    In reply to: Need some help with several problems…

    #16212

    Here’s an explanation of and instruction to install Static Front Page: http://codex.wordpress.org/Creating_a_Static_Front_Page

    When you’ve done that, come back for the “hide in CSS’ part.

    Admin

    In reply to: Bacground color in footer widget

    #16407

    Add this in your Custom CSS option:

    #sidebar_bottom {
    background: #D2D4FB;
    }
    Admin

    In reply to: Sidebar problems

    #16393

    Did you modify the theme’s files in any way? Your sidebar markup doesn’t look the same like the theme’s markup. Are you using a child theme? If yes, what files are in your child theme?

    Admin

    In reply to: Off set comments

    #16377

    Are you using WPMU or are you using WordPress 3.0+ with multisite enabled? I just tested the theme on WordPress 3.2.1 Multisite and the comments formatting work just fine.

    Also, what plugins do you have installed and activated?

Viewing 10 posts - 4,311 through 4,320 (of 6,030 total)