WordPress.org

Forums

Retina
[resolved] can't find code that registers dynamic sidebar (2 posts)

  1. factory1
    Member
    Posted 1 year ago #

    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 );
    
    }
    ?>
  2. factory1
    Member
    Posted 1 year ago #

    i found the code in the lib folder.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic