WordPress.org

Support

Support » Themes and Templates » Retina » [Resolved] can't find code that registers dynamic sidebar

[Resolved] can't find code that registers dynamic sidebar

  • i am using the retina theme and trying to find the code that registers the single dynamic sidebar so that i can add a secondary dynamic sidebar, with identical look/feel but with different widgets, for a specific page. i have looked on the functions.php page and it isn’t there. any other place that it might exist? entire code of the function.php file below.

    [ Moderator note: please wrap code in backticks or use the code button. ]

    <?php
    /** Load the Core Files */
    require_once( trailingslashit( get_template_directory() ) . 'lib/init.php' );
    new Retina();
    
    /** Do theme setup on the 'after_setup_theme' hook. */
    add_action( 'after_setup_theme', 'retina_theme_setup' );
    
    /** Theme setup function. */
    function retina_theme_setup() {
    
    	/** Add theme support for Feed Links. */
    	add_theme_support( 'automatic-feed-links' );
    
    	/** Add theme support for Custom Background. */
    	add_theme_support( 'custom-background', array( 'default-color' => 'fff' ) );
    
    	/** Set content width. */
    	retina_set_content_width( 580 );
    
    }
    ?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] can't find code that registers dynamic sidebar’ is closed to new replies.
Skip to toolbar