The site I'm on is using Custom Menu from Evolonix http://evolonix.com/wordpress/plugins/custom-menu/
How do I add a plugin into the menu hierarchy?
For example, the url hierarchy is going to be:
Home (page)
About (page)
Resources (page)
Support (page)
Q & A (plugin!)
Thanks
The Custom Menu plugin is a shortcode that renders any Menu you have created in your site. To change what pages are displayed in the custom menu, update the menu it is tied to by going to Appearance -> Menus. There, you can add a custom link to the menu that points to the Q & A plugin's page.
To see what menu the custom menu is tied to, edit the page or post that the menu is on. You should see the shortcode [menu name="xxx"... where xxx is the menu name.
Hope this answers your question.
Related
On my Wordpress site I have the main primary menu set up with links to pages & top level categories. When I'm viewing a page the top menu highlights the proper menu item and all works just fine, but when I click on a post that falls under one of the category menu items it is not highlighted. I want the category menu item to highlight when I click on a post that uses that category. How would I accomplish that?
Website: http://deutschmetal.com If you click on this post: http://deutschmetal.com/deutsch-metal-videos/rammstein-herzeleid-videos/ you can see that the top menu link "Videos" is not highlighted. I would like it to be highlighted when viewing the post.
Wordpress detects it if a page is the child of a page in the navigation. It also adds a extra class to it, so you can create some new CSS to make it look the way you want. In your case this would be:
.current-post-parent.current-post-ancestor {
background: #cb0808;
}
You can add this in your Wordpress theme, or if you are not familiar with coding you can use the customizer's custom CSS that is supported is most of the themes.
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
I would like to be able to create a navigation menu in WordPress in which the top-level nav items are not pages, but rather menu headings, which expand the sub menu when clicked.
The default WP menu behavior is that all menu items are links to content (pages, posts, etc), and that sub-items are viewed upon hover.
I'm looking for a way to make it work more like the menu behavior built into Twitter Bootstrap (and for the same usability reason).
I'm looking for a solution that either already exists as a plugin, or which I can build into a plugin, so that anyone can create a new menu like this in the WordPress menu editor.
checkout this tutorial :
https://digwp.com/2011/11/html-formatting-custom-menus/
If you dont want any custom html structure than you can simply add the classed to menu and for top level menu create a custom link with # as href.
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).
Is it possible to navigate on the same page with wordpress menus ?
lets say i have only one very long wordpress post and want to navigate on the same page by clicking the wordpress menus ?
You need to use "id" attribute for the element you want to navigate to and bookmark links in the menu. See here HTML Links