• I registered some new sidebars and put my call in the .php file that needs it. However, I don’t get my widget, but what appears to be a default sidebar instead.

    the size and position are right; the stuff is wrong. my code below. Is there a hint here if I’m getting this generic sidebar, like maybe I missed some bit somewhere?

    thank you for any clues!

    wplearner

    from my functions.php

    /* Register the design thumb sidebar. */
    	register_sidebar(
    		array(
    			'id' => 'design-thumb',
    			'name' => __( 'Design thumbnail' ),
    			'description' => __( 'shows design thumbnail on portfolio gateway' ),
    			'before_widget' => '<div id="%1$s" class="widget %2$s">',
    			'after_widget' => '</div>',
    			'before_title' => '<h3 class="widget-title">',
    			'after_title' => '</h3>'
    		)
    	);

    from my page:

    <?php get_sidebar('design-thumb'); ?>

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Sidebar/widget problem – default sidebar appearing instead?’ is closed to new replies.