WordPress.org

Ready to get started?Download WordPress

Forums

Navigation now displays vertical (2 posts)

  1. Dwhitte
    Member
    Posted 8 months ago #

    Hello,

    I recently modified my theme to support custom menus. I see that the custom menu now displays but it is vertical. Originally it was displaying horizontally. Perhaps I need to reference the new name of the custom menu in my css? Thanks in advance.

    Using bootstrap 2.

    site:
    http://krystalpureh2o.com/wordpress/

    here is my functions.php code.

    <?php 
    
    function wpbootstrap_scripts_with_jquery()
    {
    	// Register the script like this for a theme:
    	wp_register_script( 'custom-script', get_template_directory_uri() . '/bootstrap/js/bootstrap.js', array( 'jquery' ) );
    	// For either a plugin or a theme, you can then enqueue the script:
    	wp_enqueue_script( 'custom-script' );
    }
    
    function register_my_menus() {
      register_nav_menus(
        array(
          'main-menu' => __( 'Main Menu' ),
          'extra-menu' => __( 'Extra Menu' )
        )
      );
    }
    add_action( 'init', 'register_my_menus' );
    
    add_action( 'wp_enqueue_scripts', 'wpbootstrap_scripts_with_jquery' );
    
    if ( function_exists('register_sidebar') )
    	register_sidebar(array(
    		'before_widget' => '',
    		'after_widget' => '',
    		'before_title' => '<h3>',
    		'after_title' => '</h3>',
    	));
    ?>
  2. esmi
    Forum Moderator
    Posted 8 months ago #

    I'm sorry but your chosen theme is not released under GPL. Official WordPress policy states that all plugins and themes that are publicly released are required to adhere to http://wordpress.org/about/gpl/ You will need to seek support from the theme's developers - paid or otherwise.

Reply

You must log in to post.

About this Topic