WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] add items to the upper menu in iNove (2 posts)

  1. NobilKnight
    Member
    Posted 3 years ago #

    my blog is http://www.ezbetgerges.com/blog/ with arabic language
    have iNove template (last version)
    need to add this pages to the upper menu

    1- http://www.ezbetgerges.com/blog/%D8%AA%D8%AC%D9%85%D9%8A%D8%B9%D8%A7%D8%AA-%D9%85%D8%A7%D8%B1%D9%85%D8%B1%D9%82%D8%B3/%D8%A3%D9%85%D8%AB%D8%A7%D9%84-%D8%A7%D9%84%D9%83%D8%AA%D8%A7%D8%A8-%D8%A7%D9%84%D9%85%D9%82%D8%AF%D8%B3-%D9%83%D8%A7%D8%B1%D8%AA%D9%88%D9%86-%D9%84%D9%84%D8%A3%D8%B7%D9%81%D8%A7%D9%84/

    2- http://www.ezbetgerges.com/blog/%D8%AA%D8%AC%D9%85%D9%8A%D8%B9%D8%A7%D8%AA-%D9%85%D8%A7%D8%B1%D9%85%D8%B1%D9%82%D8%B3/%D8%A3%D9%85%D8%AB%D8%A7%D9%84-%D8%A7%D9%84%D9%83%D8%AA%D8%A7%D8%A8-%D8%A7%D9%84%D9%85%D9%82%D8%AF%D8%B3-%D9%83%D8%A7%D8%B1%D8%AA%D9%88%D9%86-%D9%84%D9%84%D8%A3%D8%B7%D9%81%D8%A7%D9%84/

    and this is the php code of the menu in header.php

    <!-- menus START -->
    	<ul id="menus">
    		<li class="<?php echo($home_menu); ?>"><a class="home" title="<?php _e('Home', 'inove'); ?>" href="<?php echo get_settings('home'); ?>/"><?php _e('Home', 'inove'); ?></a></li>
    		<?php
    			if($options['menu_type'] == 'categories') {
    				wp_list_categories('title_li=0&orderby=name&show_count=0');
    			} else {
    				wp_list_pages('title_li=0&sort_column=menu_order');
    			}
    		?>
    		<li><a class="lastmenu" href="javascript:void(0);"></a></li>
    	</ul>
    	<!-- menus END -->

    when i replace the php code with this html code

    <!-- menus START -->
    	<ul id="menus">
    		<li class="page_item"><a href="http://www.ezbetgerges.com/blog/" title="الرئيسية" class="home">الرئيسية</a></li>
    		<li class="page_item"><a title="منهج الخدمة" href="http://www.ezbetgerges.com/blog/%d9%85%d9%86%d9%87%d8%ac-%d8%a7%d9%84%d8%ae%d8%af%d9%85%d8%a9/">منهج الخدمة</a></li>
    <li class="page_item"><a title="أسطوانة الخدمة" href="http://www.ezbetgerges.com/blog/%D8%AA%D8%AC%D9%85%D9%8A%D8%B9%D8%A7%D8%AA-%D9%85%D8%A7%D8%B1%D9%85%D8%B1%D9%82%D8%B3/%D8%A3%D8%B3%D8%B7%D9%88%D8%A7%D9%86%D8%A9-%D8%A7%D9%84%D8%AE%D8%AF%D9%85%D8%A9/">أسطوانة الخدمة</a></li>
    <li class="page_item"><a title="أمثال الكتاب المقدس كارتون للأطفال" href="http://www.ezbetgerges.com/blog/%D8%AA%D8%AC%D9%85%D9%8A%D8%B9%D8%A7%D8%AA-%D9%85%D8%A7%D8%B1%D9%85%D8%B1%D9%82%D8%B3/%D8%A3%D9%85%D8%AB%D8%A7%D9%84-%D8%A7%D9%84%D9%83%D8%AA%D8%A7%D8%A8-%D8%A7%D9%84%D9%85%D9%82%D8%AF%D8%B3-%D9%83%D8%A7%D8%B1%D8%AA%D9%88%D9%86-%D9%84%D9%84%D8%A3%D8%B7%D9%81%D8%A7%D9%84/">أمثال الكتاب المقدس كارتون للأطفال</a></li>
    		<li><a href="javascript:void(0);" class="lastmenu"></a></li>
    	</ul>
    	<!-- menus END -->

    and add the items i need .. and open any item in the menu .. there is no highlight over the opened (active) item !!

    so I need help in adding the items and keep the feature of highlight the active item

  2. NobilKnight
    Member
    Posted 3 years ago #

    Have to use pages instead of posts to keep the highlight feature :(

Topic Closed

This topic has been closed to new replies.

About this Topic