The tag has no usage guidance, but it has a tag wiki.

learn more… | top users | synonyms

0
votes
0answers
14 views

Run foreach loop again, e.g. when another parent category exists

I've been struggling with my breadcrumbs on a project I'm working on, I finally got the code to work using foreach loops to get the values I wanted and show a category_name and slug if needed. This ...
0
votes
0answers
17 views

All of one Custom Post Type as a child of a Standard Page

I'm working on a site right now where there is a need to have a Custom Post Type act as the child of a specific Page (That is, all posts within the post type that do not have a parent, use the page as ...
-3
votes
0answers
31 views

Breadcrumbs showing pagination in Genesis

Problem I am facing is because of the breadcrumbs that show from genesis. It shows the page number I am for a category. Say if on page 3 it will show as below While in admin, I have And I have ...
-1
votes
1answer
70 views

Make a PHP file with a function

I want to use the breadcrumb function as listed here: https://gist.github.com/melissacabral/4032941 Putting the code in functions.php works for me, but I would rather have it in a separate PHP file. ...
1
vote
2answers
47 views

How to determine if custom post type showing on archive templates

Is there any way to determine if a particular custom post type will be displayed on default archive pages or search results? e.g. Given a post type named (badly) books, is there a way to tell via ...
0
votes
1answer
21 views

how to use breadcrumbs in a subdomain

Client has a website that we're switching over to WordPress. But they want to continue using a system from ChamberMaster that feeds into WordPress pages for various things like events calendars, ...
0
votes
0answers
21 views

Highlighting correct path with Wordpress Nav_Menu function

I have created a WordPress site for a client, in which you filter through the navigation menu (set-up in appearance->menu) by revealing hidden items (unordered lists with class "sub-menu (generated ...
-2
votes
1answer
70 views

How to display parent category name and link for custom breadcrumb

I'm currently trying to figure out how to display a categories parent / grand parents name and url for a custom breadcrumb I'm working on. I simply need to know how to show the parent categories ...
0
votes
0answers
16 views

Hide One Part Of Breadcrumb When You Referesh the Detail Page

I have bread crumb in single.php page like : Home>>By category>>6 Abodes of Murugan>>Subramania Swamy Temple The problem is when I have reloaded the page 6 Abodes of Murugan is hidden. It shows like ...
1
vote
1answer
52 views

How to output hierarchical taxonomy path, with only the deepest term assigned?

Let's say we have a taxonomy that goes three levels deep, eg. A > B > C. Next, we create a post and assign it to the "C" term. In our case here, there will only ever be a single assignment; ...
0
votes
0answers
64 views

Genesis Breadcrumb for Custom Page Type

I am implementing a plugin that required me to make a copy of Genesis's default 404.php as 410.php in my child theme to return 410 HTTP codes. I customized some of the text in the new 410.php, and ...
0
votes
0answers
43 views

Create relationship between two custom post types and use in permalinks?

I have two custom post types defined: Store Product The URL structure for Product is example.com/product/product_title, where product is a static word. How can I add product to the store ...
0
votes
0answers
23 views

Wordpress Equivalent of Joins or Inner Joins with Queries

I am attempting to build breadcrumbs for a wordpress site which uses custom post types and multiple layers / joins between them. I've created a rough sketch of what I need to do in sql based on the ...
0
votes
1answer
583 views

Parent Page and Breadcrumb URL's for Custom Post Types Not Working

What I Have Set Up I have three custom post types, they are named "brands", "careers", and "news". I have three page templates, they are named "page-brands", "page-careers", and "page-news". The ...
0
votes
1answer
240 views

Breadcrumbs with custom post type without plugin

I have used the following function for breadcrumbs on every site to date, but todays site has 3 custom post types and the client would like the breadcrumbs working, e.g. instead of "home / wines / ...
0
votes
1answer
132 views

Custom post type not displayed in breadcrumbs on archive page

I created new custom post type and am having problem with displaying the post type name in breadcrumbs. It should display "Home » Study » test study", but it displays Home » » test study". Site: ...
-1
votes
2answers
216 views

Only show sub-category

I have a news system with a thumbnail and a box on it that show the category related to the news, using <?php the_category(', '); ?> This worked fine using only one category for each news, but ...
0
votes
0answers
45 views

breadcrumb not showing proper page structure

problem is just the subpages do not show their parents...else is working absolutely fine function the_breadcrumb() { $sep = ' » '; if (!is_front_page()) { echo '<div class="...
0
votes
1answer
65 views

Using breadcrumb to return from single-page to list

I have tried everything, and looked everywhere for a solution for this problem.. I have a custom type "boat", which has some custom fields. I can display a list of boats on a page, and when a row is ...
0
votes
1answer
68 views

Modify sub_menu function to show pages below a specifically set page

I've got a function that ties in to wp_nav_menu that shows sibling pages for the currently viewed page, as well as any children pages. I need this modified to only show the children pages of a ...
-1
votes
1answer
127 views

Change posts list Breadcrumb

I have a custom page set in Settings > Read > Articles Page (page named "Blog"). It's not my homepage, but NavXT breadcrumbs show only "Home". I'd like it to show the page title : "Home > Blog". How ...
0
votes
1answer
243 views

Hide breadcrumbs on specific pages

Can anyone help me to hide breadcrumbs from certain page ID's? I'm using the Breadcrumb NavXT plugin. I've only found out how to hide it from the home page. I'm using this code in my header.php: if ...
0
votes
1answer
110 views

Show only one level in breadcrumbs

I'm looking for a WordPress way to remove current and all grandparents from breadcrumbs. Basically, functionality is identical to history back button, but with page title. Don't want to do this in JS ...
0
votes
1answer
258 views

Modify php code to pass a page id as a parameter in order to create a breadcrumb

I use a function to create the breadcrumb in my pages and it works: function the_breadcrumb() { $currentBefore = '<li><a>'; $currentAfter = '</a></li>'; if ( !...
0
votes
1answer
226 views

If post type = forum then breadcrumbs Home > Forums

I have an issue with breadcrumbs working with bbpress forums on my website. I have tried a few different ways to overcome this & I think a simple solution would be something which states if the ...
0
votes
1answer
2k views

Breadcrumb not showing custom category post type

I have an issue when it come to displaying the custom post type category in my breadcrumb menu on the page it looks something like the following Home / / Post Title when it should be Home / Custom ...
0
votes
2answers
196 views

Codex Function Problems When There is an Apostrophe in the Category Name

I'm working on a site, largely managed by categories. Two of the categories have apostrophes in them... ex. "Joe's Place" and "Tina's Lounge". (Actual titles changed, these are examples...) The ...
0
votes
2answers
4k views

Custom Taxonomy Breadcrumb Navigation

I'm completely new to custom post types and custom taxonomies, so bear with me. I'm trying to create a breadcrumb navigation for the custom taxonomy project-category within the custom post type ...
-1
votes
1answer
428 views

custom post type breadcrumb error when has_archive = false

I have a custom post type (team) and I do not use archive page (has_archive => false), when I visit single team post the breadcrumb contains inactive text "TeamSingleTitle". I would like to know how I ...
0
votes
0answers
303 views

Page/Post path in Search Results

I have lots of pages with similar titles which may be confusing when users search for something. To help them tell apart the pages, I'd like to add the page/post location (path) under each page/post ...
0
votes
2answers
297 views

Wordpress breadcrumb depth

I'm currently using the code below to display my breadcrumbs. Which works fine up to a point. What I want is: Home > Level 1 > Level 2 > Level 3 What I get is: Home > Level 1 > Level 3 It's ...
1
vote
1answer
145 views

Link posts to pages for breadcrumbs

Is there a way of linking custom post types to pages. I am looking to create breadcrumbs for the posts. The posts are summarised on individual pages e.g. golf, tennis, football etc.. So the ...
0
votes
1answer
229 views

filter single_cat_title avoiding the breadcrumbs

I'm developing a simple plug in and I need to filter single_cat_title in category page adding some html in every category page. Just doing this: function subtitleCategory ($title) { return $...
0
votes
1answer
606 views

Custom Post Type and Breadcrumbs Conflict

I have a custom post type. It seems the breadcrumbs have an extra space for a parent page (which does not exist) inserted. You can see this in the image I attached. What is happening with theis ...
0
votes
2answers
247 views

Adding Separator to Breadcrumbs

I have pieced together a breadcrumbs code that displays child pages/posts and is markedup for schema. The only thing this code doesn't have is a separator between each link. How can I add a separator ...
0
votes
0answers
1k views

Replace category with page name in breadcrumb-navxt plugin

I am using the "breadcrumb-navxt" plugin and have following issue: I have a page and some posts in that page. When I go to that page and selects a post to display as single post the breadcrumb shows ...
1
vote
1answer
2k views

How to show only one category in breadcrumb navigation

I added breadcrumb navigation to WordPress & I'm facing one problem. Here's the function.php code of the breadcrumb: function ux_breadcrumbs() { if (!is_home()) { echo '<a href="'; ...
0
votes
0answers
114 views

Breadcrumbs for Single Image page

As we know in different post we can use some image which we uploaded. This image can be used in many post but it has only one PARENT post. My question is how to track from which post the user came ...
0
votes
1answer
96 views

Home not showing in yoast breadcrumb

I have created a page named home and assigned a template file named Homepage to it. I am using yoast breadcrumb to display breadcrumb. But Home is not included in it. How to fix this?
0
votes
1answer
410 views

Taxonomy term breadcrumb; how?

Given a taxonomy term (perhaps in a taxonomy*.php template) how to construct a breadcrumb going up the full ancestry of the term? Is there any shorter way other than a "brute-force" loop to query ...
0
votes
1answer
100 views

Breadcrumb how i can display page title with parent > child title with permalink ? any Idea

function the_breadcrumb() { global $post; if (!is_home()) { echo ""; if(is_single()): echo 'Main'; else: echo "Home"; endif; echo " / "; if ( ...
0
votes
0answers
80 views

Wordpress NavXT plugin localization

My situation is as follows: 1) I am using wordpress 3.6.1, and I have the Breadcrumb NavXT plugin installed. 2) I have a custom theme, and the localization file is on the following path: ...
1
vote
0answers
128 views

Breadcrumb Not Linking to the Correct Custom Post Type Index Page(s)

I wrote this code for 2 custom post types to link back to their respective index pages from the single post view. It works. However the "Portfolio" and "Artwork" will have multiple pages and I am ...
0
votes
1answer
175 views

Get menu names and same depth level menu names

Let's say I have a menu like this.. Home Food -- rice -- apple -- sushi Sports -- soccer -- basketball -- football Color -- red -- blue -- black When I am on sushi page, I need to get like ...
0
votes
1answer
215 views

Can I prioritize post categories for choice for breadcrumb trail?

I'm using Breadcrumb NavXT for displaying breadcrumbs trail of given page, based on category tree. This works fine half of the time - the problem is I (ab)use categories to assign specific properties ...
1
vote
0answers
221 views

why breadcrumb has wrong orders?

Here is my code: function the_breadcrumb() { if (!is_home()) { echo '<a href="'; echo get_option('home'); echo '">'; bloginfo('name'); echo "</a> / "; if (...
1
vote
0answers
73 views

Removing Parent Page URL While Keeping the Navigation Intact

So here is the current format: site.com/parent-page/child-page/ - example 0 Child-page is ranking higher than parent-page, which is not what I want. So, I have a solution. site.com/parent-page/ - ...
0
votes
1answer
900 views

how to automatically generate hierarchical menus from hierarchy of pages?

I have a photo site, and I take care to crested a logical nested hierarchy of pages. e.g. for photos I just posted, I created the following pages: site.com/2013/ site.com/2013/colorado/ site.com/...
1
vote
0answers
254 views

Multiple category selection in post, shows less important category in breadcrumb

In my blog I followed a strategy of selecting multiple applicable categories for a post. Suppose an article about The Last Supper by Leonardo da Vinci can have both the categories "Painting" and "...
0
votes
1answer
36 views

How to retrieve taxonomy terms of the current custom post?

I have a custom taxonomy worktype and I have 3 types in this latter custom taxonomy: - creation - collaboration - lab I have also a custom post type "works". worktype is used only for the custom ...