Question
How to make this pattern using Walker_Nav_Menu? <ul class="nav navbar-nav"> <li><a href="portfolio.html">Portfolio</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Pages <i class="fa fa-angle-down"></i></a> ...
0
12 hours 0 Answers 2 views

Question
I'm working on a nav menu that includes WooCommerce Products for part of the menu items. I am looking to add the WooCommerce thumbnails to the menu items that are products, but I can't seem to find the right ...
0
1 day 0 Answers 6 views

Question
I have a blog with multipage posts, I see the pagination is in numbers like 1 2 3 … is it possible to add the prev/next buttons to navigate instead of number pagination? Thanks.
0
2 days 0 Answers 8 views

Show posts count for Categories and Tags in wp_nav_menu

Question
I'm trying to show WooCommerce Product Categories, Post Categories, Product Tags, Post Tags and Custom Taxonomy posts count in main navigation using wp_nav_menu. My WP_NAV_MENU code ...
0
6 days 0 Answers 15 views

Show a page counter for pagination

Question
I currently have simple pagination set up showing the text older and newer. If one of the text isn't needed it display an 'inactive' version of it so that the text doesn't disappear. <?php if( get_next_posts_link() ) :?> ...
0
6 days 0 Answers 16 views

Question
I have to add itemprop="url" to the links of the links in the navbar of this site. In the settings I found the function wp_nav_menu(). Even after reading the WP codex, I am not able to make the ...
0
1 week 0 Answers 20 views

Question
I created some custom post types and custom taxonomies, if I'm on an archive page of the custom taxonomy, the Blog menu item is highlighted due to the current_page_parent class. Well this is obviously false and I want to remove the ...
0
1 week 0 Answers 24 views

How to get a different mobile menu than desktop menu in the twentytwelve child theme

Question
I would like to use a different menu for my mobile website than my desktop website. With different I mean the content not the layout. I just want to use the mobile menu of the twentytwelve theme. What I've done so ...
0
2 weeks 0 Answers 17 views

Remove nav menu item by script

Question
I want to create my custom nav menu using a script in a wp plugin. I'm almost there using this tutorial. All I need is the option to delete menu entries. something like wp_delete_nav_menu_item($menuID,$itemID); As an alternative, I could create ...
0
2 weeks 0 Answers 19 views