Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Dec 6th, 2018 65 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. add_theme_support("menus");
  2.  
  3. register_nav_menus(
  4.     array(
  5.         'menu-principal' => 'El menu principal'
  6.     )
  7. );
  8.  
  9. function muestramenu() {
  10.     wp_nav_menu(array(
  11.         'container' => 'nav',
  12.         'container_class' => '',
  13.         'menu_class'      => 'sf-menu',
  14.         'menu_id'         => 'nav',
  15.         'theme_location' => 'menu-principal',
  16.         'before' => '',
  17.         'after' => '',
  18.         'link_before' => '',
  19.         'link_after' => '',
  20.         'depth' => ''
  21.     ));
  22. }
  23.  
  24.  
  25. register_sidebar(array(
  26.     'id' => 'sidebar1',
  27.     'name' => 'Mi Barra Lateral',
  28.     'before_widget' => '<li id="%1$s" class="block %2$s">',
  29.     'after_widget' => '</li>',
  30.     'before_title' => '<h4>',
  31.     'after_title' => '</h4>'
  32. ));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top