Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter fbtrcm

    (@fbtrcm)

    Eurêka !

    In functions.php file of parent’s theme (for me its in Responsive theme), sidebars are defined.

    ex: `
    register_sidebar( array(
    ‘name’ => __( ‘Right Sidebar’, ‘responsive’ ),
    ‘description’ => __( ‘Area 2 – sidebar-right.php – Displays on Content/Sidebar page templates’, ‘responsive’ ),
    ‘id’ => ‘right-sidebar’,
    ‘before_title’ => ‘<div class=”widget-title”><h3>’,
    ‘after_title’ => ‘</h3></div>’,
    ‘before_widget’ => ‘<div id=”%1$s” class=”widget-wrapper %2$s”>’,
    ‘after_widget’ => ‘</div>’
    ) );
    `

    This url works fine for me:
    URL/api/widgets/get_sidebar/?sidebar_id=sidebar-banner

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can't retrieve widgets nor sidebar’ is closed to new replies.