Support » Alpha/Beta/RC » 3.0 behavior for add_submenu_page, unsure

  • Resolved Frumph


    Basically what is going on is that as soon as I use the add_submenu_page inside of my theme to add the options for the theme in the header of the browser it ALL plugins and ALL additional (nonWP) stuff become footer << site title for the browser location.

    Very weird.

    sidenote the length changes for amount of space used also and drops the options part to another row as well. (diff subject)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Actually it wasn’t a part of that add_submenu_page code, I found it here:

    // Register Sidebar and Define Widgets
    if ( function_exists('register_sidebar') ) {
    	foreach (array(
    				__('Left Sidebar', 'comicpress'),
    				__('Right Sidebar', 'comicpress'),
    				__('Above Header', 'comicpress'),
    				__('Header', 'comicpress'),
    				__('Menubar', 'comicpress'),
    				__('Over Comic', 'comicpress'),
    				__('Left of Comic', 'comicpress'),
    				__('Right of Comic', 'comicpress'),
    				__('Under Comic', 'comicpress'),
    				__('Over Blog', 'comicpress'),
    				__('Blog', 'comicpress'),
    				__('Under Blog', 'comicpress'),
    				__('DaFooter', 'comicpress')
    				) as $title) {
    					'name'=> $title,
    					'id' => sanitize_title($title),
    					'before_widget' => "<div id=\"".'%1$s'."\" class=\"widget ".'%2$s'."\">\r\n<div class=\"widget-head\"></div>\r\n<div class=\"widget-content\">\r\n",
    					'after_widget'  => "</div>\r\n<div class=\"widget-foot\"></div>\r\n</div>\r\n",
    					'before_title'  => "<h2 class=\"widgettitle\">",
    					'after_title'   => "</h2>\r\n"

    Basically see ‘dafooter’ as the last registered ? It’s using that in the browsers header as the page title.

    Meh okay apparently the system doesn’t like me doing this, so i’m reverting to the HUGE SET OF LINES for the register_sidebar

    // resolved

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘3.0 behavior for add_submenu_page, unsure’ is closed to new replies.