Direct link to post when multiple categories are selected
Install the Yoast SEO plugin to enable this:
Install the Yoast SEO plugin to enable this:
It’s a long shot, but what happens if you add in a wp_reset_query() call?
That’s not traditionally how breadcrumb navigation works, as I’m guessing you’ve discovered if you’re trying to implement Breadcrumb NavXT. 🙂 You might have better luck styling wp_list_pages so the links display horizontally and highlight the page you’re on? Here’s where it describes how to display the current page / ancestors / children. Best of luck!
change: $delimiter=”»”; to: $delimiter=”<span class=”myclass”>»</span>”;
My initial thought is that the issue is here: $category = get_the_category(); If get_the_category() is returning categories in reverse-hierarchical order, then you can do this to put them back in order: $category = get_the_category(); $category = array_reverse( $category ); However, I’m confused by this: But some times facebook is coming 1st then Social Media 2nd… … Read more
This is possible using the filter wpseo_breadcrumb_links. In this example, I’m using the functions bp_get_user_meta and bp_loggedin_user_id, adjust as needed. To check if the page is child of the Members page (in this example, ID == 2), I’m using the function has_parent grabbed from here. add_filter( ‘wpseo_breadcrumb_links’, ‘buddy_crumbs_wpse_88889’ ); function buddy_crumbs_wpse_88889( $links ) { // … Read more
There is a difference between the home page and the front page. Since the code uses is_front_page I assume that is what you want, but check the Codex for the difference. I don’t know how your theme works, but it looks like the theme rolls several things into the “info bar”. The code you posted … Read more
We generally don’t answer plugin-specific questions here so you may find more help in a Yoast-specific forum. To point you toward the right direction, though, there is a filter called wpseo_breadcrumb_output. In either a custom plugin or your theme’s functions.php file, you can add something to the effect of add_filter(‘wpseo_breadcrumb_output’, ‘change_breadcrumb_names’); function change_breadcrumb_names($output) { if(is_page(12)) … Read more
This means that your theme isn’t compatible with the new version of WordPress. Here’s what you can do: You have to update your theme if an update is available. You can go back to the old version of WordPress which I don’t think you should be doing. Try updating your PHP version. Let me know … Read more
BbPress Register Page in Breadcrumbs