• I am currently using Pilcrow by Automatic [three column] and am not able to drop n’ drag the widgets to the sidebars, but when I click on the add button on the widget it allows me to select a sidebar but then takes away the existing information that was there. I see documentation where it states to register the sidebars but don’t know where to do it or how to do it.

    Currently it has the standard meta log in area, the search area, and categories. I was able to add some things in the footer but was not able to drag n drop the widget to the footer box so don’t know if the footer should be registered as well.

    I’m a complete newbie at the self-hosted wordpress and don’t understand where I should be to make changes [wordpress dashboard or godaddy.com server files] so any help is greatly appreciated. I’m so used to the wordpress.com and blogspot.com where they do the hard stuff for you.

    If needed my site is http://thebookendsreviews.com

    Thank you in advance and hope to hear from someone soon.

    Karen

    This is what I found in the wordpress function editor.

    /**
    * Register widgetized areas, including two sidebars and two widget-ready columns in the footer.
    *
    * To override pilcrow_widgets_init() in a child theme, remove the action hook and add your own
    * function tied to the init hook.
    *
    * @since Pilcrow 1.0
    * @uses register_sidebar
    */
    function pilcrow_widgets_init() {
    // Area 1, located at the top of the sidebar.
    register_sidebar( array(
    ‘name’ => __( ‘Sidebar’, ‘pilcrow’ ),
    ‘id’ => ‘sidebar-1’,
    ‘description’ => __( ‘The main sidebar’, ‘pilcrow’ ),
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h3 class=”widget-title”>’,
    ‘after_title’ => ‘</h3>’,
    ) );

    // Area 2, located below the Primary Widget Area in the sidebar. Empty by default.
    register_sidebar( array(
    ‘name’ => __( ‘Secondary Sidebar’, ‘pilcrow’ ),
    ‘id’ => ‘sidebar-2’,
    ‘description’ => __( ‘The secondary sidebar in three-column layouts’, ‘pilcrow’ ),
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h3 class=”widget-title”>’,
    ‘after_title’ => ‘</h3>’,
    ) );

    // Area 3, located above the primary and secondary sidebars in Content-Sidebar-Sidebar and Sidebar-Sidebar-Content layouts. Empty by default.
    register_sidebar( array(
    ‘name’ => __( ‘Feature Area’, ‘pilcrow’ ),
    ‘id’ => ‘sidebar-3’,
    ‘description’ => __( ‘The feature widget area above the sidebars in Content-Sidebar-Sidebar and Sidebar-Sidebar-Content layouts’, ‘pilcrow’ ),
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h3 class=”widget-title”>’,
    ‘after_title’ => ‘</h3>’,
    ) );

    // Area 4, located in the footer. Empty by default.
    register_sidebar( array(
    ‘name’ => __( ‘First Footer Area’, ‘pilcrow’ ),
    ‘id’ => ‘sidebar-4’,
    ‘description’ => __( ‘The first footer widget area’, ‘pilcrow’ ),
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h3 class=”widget-title”>’,
    ‘after_title’ => ‘</h3>’,
    ) );

    // Area 5, located in the footer. Empty by default.
    register_sidebar( array(
    ‘name’ => __( ‘Second Footer Area’, ‘pilcrow’ ),
    ‘id’ => ‘sidebar-5’,
    ‘description’ => __( ‘The second footer widget area’, ‘pilcrow’ ),
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h3 class=”widget-title”>’,
    ‘after_title’ => ‘</h3>’,
    ) );
    }
    /** Register sidebars by running pilcrow_widgets_init() on the widgets_init hook. */
    add_action( ‘widgets_init’, ‘pilcrow_widgets_init’ );

    /**
    * Returns the current pilcrow color scheme as selected in the theme options
    *
    * @since pilcrow 1.0
    */
    function pilcrow_current_color_scheme() {
    $options = get_option( ‘pilcrow_theme_options’ );

    return $options[‘color_scheme’];
    }

Viewing 1 replies (of 1 total)
  • Thread Starter kkappleby

    (@kkappleby)

    That’s register sidebars in pilcrow and having the same problem with Weaver theme as well.

    I can not drag and drop to the sidebars and don’t know why.

    Thanks,

    Karen

Viewing 1 replies (of 1 total)
  • The topic ‘Register Sidbars Pilcrow’ is closed to new replies.