WordPress.org

Ready to get started?Download WordPress

Forums

When adding a new category, category list doesn't automatically refresh (1 post)

  1. francesco76
    Member
    Posted 1 year ago #

    Hi guys,
    i've a serious problem: i've created a new template in wordpress version 3.5.1, i have 3 different sidebars to use, i'veregistred the sidebars in function.php, but in the admin panel, when i try to add a new category, clicking on the update button, the list of categories doesn't refresh!

    Could you help me, please?

    Here is the code o my file function.php


    <?php

    function RBKHLP_widgets_init() {

    register_sidebar( array(
    'name' => __( 'FirstSidebar', 'RBKHLP'),
    'id' => 'sidebar-1',
    'before_widget' => '',
    'after_widget' => '</div>',
    'before_title' => '<h3>',
    'after_title' => '</h3><div>'
    ) );

    register_sidebar( array(
    'name' => __( 'secondSidebar', 'RBKHLP'),
    'id' => 'sidebar-2',
    'before_widget' => '',
    'after_widget' => '</div>',
    'before_title' => '<h3>',
    'after_title' => '</h3><div>'
    ) );
    register_sidebar( array(
    'name' => __( 'thirdSidebar', 'RBKHLP'),
    'id' => 'sidebar-3',
    'before_widget' => '',
    'after_widget' => '</div>',
    'before_title' => '<h3>',
    'after_title' => '</h3><div>'
    ) );

    }
    add_action( 'widgets_init', 'RBKHLP_widgets_init' );
    ?>

Topic Closed

This topic has been closed to new replies.

About this Topic