Nemam Menu opciju u svojoj wordpress temi! Pomoc...

Član
Učlanjen(a)
11.12.2009
Poruka
13
na Appearance imam samo Theme, Customisation i Editor.. kako da aktiviram i menu opciju ?

Hvala.

Moj function.php

PHP:
<?php

// Menu
register_nav_menu('primary','primary_menu');

add_theme_support( 'Menus' );

add_theme_support( 'custom-background' );

function wpb_widgets_init() {
     
        register_sidebar( array(
            'name' => __( 'Main Sidebar', 'wpb' ),
            'id' => 'sidebar-1',
            'description' => __( 'The main sidebar appears on the right on each page except the front page template', 'wpb' ),
            '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' =>__( 'Front page sidebar', 'wpb'),
            'id' => 'sidebar-2',
            'description' => __( 'Appears on the static front page template', 'wpb' ),
            'before_widget' => '<aside id="%1$s" class="widget %2$s">',
            'after_widget' => '</aside>',
            'before_title' => '<h3 class="widget-title">',
            'after_title' => '</h3>',
        ) );
        }
     
    add_action( 'widgets_init', 'wpb_widgets_init' );
?>
 
Poslednja izmena od urednika:
Član
Učlanjen(a)
10.07.2010
Poruka
38
1.Deaktiviraj sve pluginove. Ako se problem reši, aktiviraj ih pojedinačno kako bi pronašao krivca?

2 resetuj plugins folder pomocu FTP-a ili phpMyAdmin? Ponekad, očito i neaktivni pluginovi još uvek mogu izazvati probleme.

3.Ako to ne reši problem, druga mogućnost je da pokušaš povećati memoriju koja je na raspolaganju za php
 
Natrag
Top