Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter avihai1

    (@avihai1)

    nop, it doesnt work. i already tried it before and changed it but forgot to chage it back.

    Thread Starter avihai1

    (@avihai1)

    well, i decided to use the link_before.
    thanks a lot for your help!

    Thread Starter avihai1

    (@avihai1)

    I already tried adding a plain text but it doesnt work either.
    maybe something with functions.php?

    register_nav_menus( array(
    		'primary' => __( 'Main Navigation', 'shita' ),
    	) );

    Forum: Plugins
    In reply to: Shopping cart plugin
    Thread Starter avihai1

    (@avihai1)

    Thanks a lot!
    appreciate your effort.

    Thread Starter avihai1

    (@avihai1)

    yes, it works!
    thank you so much!

    Thread Starter avihai1

    (@avihai1)

    ok, i added this code to functions.php:

    register_nav_menus( array(
    		'primary' => __( 'jhk', 'Dive-Indigo' ),
    	) );

    but how can i this menu display all categories automatically without me adding it manually?

    Thread Starter avihai1

    (@avihai1)

    when i choose my theme i dont have this option.
    this is my header.php:

    <?php
    /**
     * The Header for our theme.
     *
     * Displays all of the <head> section and everything up till <div id="main">
     */
    ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "https://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    <head>
    	<meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo( 'charset' ); ?>" />
    	<title><?php bloginfo('name'); wp_title( '|', true, 'right' ); ?></title>
    	<link rel="profile" href="https://gmpg.org/xfn/11" />
    	<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
    	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    	<?php
    		/* We add some JavaScript to pages with the comment form
    		 * to support sites with threaded comments (when in use).
    		 */
    		if ( is_singular() && get_option( 'thread_comments' ) )
    			wp_enqueue_script( 'comment-reply' );
    
    		/* Always have wp_head() just before the closing </head>
    		 * tag of your theme, or you will break many plugins, which
    		 * generally use this hook to add elements to <head> such
    		 * as styles, scripts, and meta tags.
    		 */
    		wp_head();
    	?>
    </head>
    
    <body>
    <div id="wrapper">
    	<div id="header">
    		<div id="logo">
    			<span><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"></a></span>
    		</div>
    	</div>
    	<?php
    	  wp_page_menu( array(
    		'sort_column'	=> 'menu_order, post_title',
    		'menu_class'	=> 'navigation',
    		'exclude'		=>	'2',
    		'echo'			=> true,
    		'show_home'		=> true)
    	);
    	//echo __("Home");
      ?>
    
    	<div id="main">

    can you explain how can i add this option?

Viewing 7 replies - 1 through 7 (of 7 total)