WP showing two active menu items at the same time - wordpress

One of the pages on my site is setup to display posts from a specific category. When that category is active, the blog menu item also shows as active, displaying two active menu items at the same time. I've tried excluding the category, but that hasn't worked.

It may be a hotlinking issue.
s
You'll see from this site at http://www.wildpop.ca (Wildpop dot.ca), when you choose "SEO" from the menu, you are directed to what appears to be the "Monthly Packages" page. The SEO link in the menu does not have it's own page. It is a direct link to a section named (seo_direct) that is contained in a different page, but when you look at the menu again - both menu options are highlighted as "Active Page".
Make sure this isn't the issue for you.

Related

Content is not visible when clicking on menu pages - Wordpress

I run a website - https://travelando.info/ - and I am having a hard time putting content on some pages. If you click on the menu EUROPE or UNITED STATES, the pages are empty. If you click on specific countries, the content is there. How to make sure that everything that is posted on the pages under the respective menu, gets also published on the page of the menu itself?
Thanks for your help!
I tried reordering the menus in the backend but it did not help.
Note the top-level menu item is linking to https://travelando.info/europe/
Your category page is located under https://travelando.info/category/europe/
From Admin Dashboard > Menus > [your menu] - either add a custom link directing to ../category/europe/ or add the "Europe" category, found under "Categories"

Adding Custom Pages in Wordpress

I am making my first steps learning to code, so I am building a Wordpress theme to make some experiments and see how everything works from the practice.
I installed wordpress locally and I a made a Child Theme. Now to start designing my new theme I started watching how the wordpress structure works and there is something that I don't understand:
I am making my portfolio, and I have some sections (Paintings, Films and Photography). And each section has a subcategory.
It means that each section is a page and each subcategory is a post? Or each section is a page and each category is a page too?
You can add your subcategories as subpages for to other pages. To do so, follow these steps:
Go to Administration > Pages > Add New panel.
In the right menu, click the "Page Parent" drop-down menu.
The drop-down menu contains a list of all the Pages already created for your site.
Select the appropriate parent Page from the drop-down menu to make the current Page a child Page.
Add content to the subpage.
Click Publish when ready.
More information on pages here: https://codex.wordpress.org/Pages

Adding buddypress profile menu items in wordpress primary menu

Is it possible to add buddypress profile menu in primary menu of the wordpress them. If is possible please guide me how can I do this. I also want to remove counts in primary menu only.
Thanks
Yes, it's possible.
Here is an appropriate page in BuddyPress codex: https://codex.buddypress.org/getting-started/buddypress-links-in-wordpress-menus/
Below is a small excerpt from that page:
Links include: Sitewide Activity, Members Directory, Groups Directory, and/or Blogs Directory (multisite only).
Navigate to Appearance > Menus.
Create a new menu.
Under the “Pages” section, select the links to the BuddyPress pages.
Click on the “Add to Menu” button.
Arrange the menu links as you like it.
Click on “Save the Menu” button.
Go to the “Manage Locations” tab and assign this menu to a theme menu location.
Click save and refresh your site to see your new custom menu in place.
You can also add links specific to the Logged-in Member only (all profile links).

Wordpress menu links wrong

I have a Wordpress theme which has been designed, however, the links are wrong at the top
For example:
About Us should go to here
Furniture should go to here
The link to the blog is here
I have already tried adjusting the position, and the width of each menu item, but to no avail.
In Wordpress Admin console there is the option Appearance>Menu. Create a new menu, add the items you want (you can add pages you made, create custom items with links to other pages, etc), save the menu. Now go to Appeareance>Themes>Customize current theme and change the navigation path.

WordPress 3 - Problem with menu highlighting

I'm building a site that has a two level menu created with the admin Menu tool. The menu contains links to both Pages and Category lists. It doesn't link directly to Posts. The problem is that when you drill down into a Category list and click to view a single post in that Category, the menu highlighting gets it wrong.
I've tested on a new install of WP3, set up a simple test site with a few pages and posts in 3 categories. All I've changed in the theme is the style.css to highlight the whole path.
http://danwashere.com/wp_dev/
Here's a direct link to view a categorised post here:
http://danwashere.com/wp_dev/2011/07/28/blue-rocks/
Everything is a page, except with the section "Advice Categories" - all those sub items are category lists containing categorised posts - each post is only categorised with a single category. The menu structure is defined entirely in the Menu settings.
On that Blue Rocks page, the menu should be highlighted like this: Advice Categories -> Rocks, but it's highlighting the Sample Page item. And if you rollover the "Advice Categories" menu, you'll see that it is correctly highlighting the "Rocks" menu item.
It seems to me that WP is applying the 'current-post-parent' class to the wrong top menu item, but maybe I'm missing something?
// Edit, rewrite to make it clearer.
It seems as though were both having very similar issues. - Trouble highlighting correct menu parent with wp_nav_menu classes while viewing “single posts”
Im not using categories as links in my menu but I use them to filter content to each page via query_posts...if you examine the output from Wordpress you'll notice its actually placing the current page class onto the incorrect li tag when viewing a single post - Is this happening to you as well?

Resources