Tyger0
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Fixing WordPress
In reply to: Menus and Widgets errorsthanks. Moreso my menu is the bigger concern. Its the one thing really holding me up. Here it is.
* This theme uses wp_nav_menu() in one location.
*/
register_nav_menus( array(
‘primary’ => __( ‘Primary Menu’, ‘praisable’ ),
) );
`Forum: Fixing WordPress
In reply to: Menus and Widgets errorsThis is what I’m using
// Register widgetized areas function theme_widgets_init() { // Area 1 register_sidebar( array ( 'name' => 'Primary Widget Area', 'id' => 'primary_widget_area', 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', 'after_widget' => "</li>", 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); // Area 2 register_sidebar( array ( 'name' => 'Secondary Widget Area', 'id' => 'secondary_widget_area', 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', 'after_widget' => "</li>", 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); register_sidebar( array( 'name' => __( 'Footer Area One' ), 'id' => 'sidebar-3', 'description' => __( 'An optional widget area for your site footer' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => "</aside>", 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); register_sidebar( array( 'name' => __( 'Footer Area Two' ), 'id' => 'sidebar-4', 'description' => __( 'An optional widget area for your site footer' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => "</aside>", 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); register_sidebar( array( 'name' => __( 'Footer Area Three' ), 'id' => 'sidebar-5', 'description' => __( 'An optional widget area for your site footer' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => "</aside>", 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); } // end theme_widgets_init add_action( 'init', 'theme_widgets_init' ); // precode the search, pages, categories, archives, links and meta widgets into the sidebars $preset_widgets = array ( 'primary_widget_area' => array( 'search', 'pages', 'categories', 'archives' ), 'secondary_widget_area' => array( 'links', 'meta' ) ); if ( isset( $_GET['activated'] ) ) { update_option( 'sidebars_widgets', $preset_widgets ); }Forum: Fixing WordPress
In reply to: Menus and Widgets errorsThe site already has a custom widget area and custom menu. When I add pages to the menu or when I try to add something like an RSS to the widget, the loading icon (that little spinning circle thing, for lack of better words) just loads and loads forever and the item is never added.
Viewing 3 replies - 1 through 3 (of 3 total)