I have a drupal application which does not have/need any Menu items within it. I am using the Taxonomy Submenu module to navigate through contents. I have the content structured as follows.
Taxonomy->terms->subterms->subterms->...->content
On the homepage it will list all the first level terms using the Taxonomy submenu module, clicking on the main menu will populate submenus and finally towards the end it will show a particular content.
Each time when we reach on a sub term the breadcrumb is populating and showing correctly, but when I reach in content it does not show any breadcrumb.
Summary:
http://localhost/mydrupapp/taxonomy/term/134 showing breadcrumb and
http://localhost/mydrupapp/node/29 not showing breadcrumb.
The fact is the content 29 is created under the term 134.
Point to note
The site does not have or need any menu items.
I want to display breadcrumb for the content pages based on the taxonomy of that particular content. If a content 'Hello World' is added under the taxonomy term 'General' then when I view the page 'Hello World' I need the breadcrumb 'Home->General->Hello World'
Thanks in advance !!!
Try to use Taxonomy breadcrumb module and see if it works.
For my site too it worked, without it, it wasn't correctly showing path.
in drupal 7 taxonomy breadcrumb settings are include
please go to config>custombreadcrumbsettings set there taxonomy settings,
it is work for me hope also will work for you.
Related
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 have a situation where I need some custom routes in my Wordpress set up.
In my menu, there is an 'about us' item (which I set as a custom link) but it is not clickable, and just has 2 sub items in a drop down. The 2 sub items, are pages that do not have a parent page.
So when I click on either of those sub items i get this for example. www.example.com/item1 but I want it to be like this www.example.com/about-us/item1
I've made the 'about us' item as a custom link in the Wordpress menu builder with no actual link because the client wants that as the header item with those 2 children, but doesn't want a standard 'about us' page so it does screw up the urls.
Is there a function I can use to rewrite the urls, and will the default search give me the new urls back as the permalink if they ar found in the search results?
I guess I could create an 'about-us' page, but not do anything with it except using it for hierarchy purposes but it seems a bit messy to do that, plus I don't want the risk of it showing up in search results at all.
You have to create the child page with those sub pages and then use custom links for your entire About Us nav section with dropdowns. There is no other way to do this unfortunately.
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.
I have a theme, I am html web designer, but I can understand some php / wordpress coding also
I have a wordpress theme & I want to convert it into a news portal
Please guide me, I want to convert it into category base, should be like that
http://www.firstpost.com/ please guide me, how can I do ?
is it archive page or separate category page?
--
http://www.firstpost.com/category/world
when browsing category page, you can see there are different post layouts
without any duplicate post
please guide me
You can simply make a main menu containing links to your categories. This will load in the page you set as post-page (ie. the page that contains your posts).
Go to Appearance - Menu. Create a menu and set it as the main menu.
instead of ticking the boxes for linking to pages, create menu links like www.domain.com/category/cats and www.domain.com/category/dogs
http://codex.wordpress.org/Function_Reference/wp_nav_menu
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?