Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Havlik

    (@mtekk)

    How are you establishing the relationship between the category resource and the page?

    If this is just for one category, you can probably hard code the URL translation in a hook to the filter bcn_breadcrumb_url. e.g.

    add_filter('bcn_breadcrumb_url', 'my_breadcrumb_url_changer', 3, 10);
    function my_breadcrumb_url_changer($url, $type, $id)
    {
    	if(in_array('category', $type) && $id === MYCATID)
    	{
    		$url = get_permalink(PAGEID);
    	}
    	return $url;
    }

    Replace MYCATID with the ID of the Our Team category. Also, replace the PAGEID with the ID of the Our Team page. The above code can be placed in a site specific plugin or your theme’s functions.php file.

    Thread Starter lutzcreativegroup

    (@lutzcreativegroup)

    I was able to solve this in a simpler manner using a 301 Redirect plugin. When category/our-team is clicked, I have it redirect to the page, not the category list.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Customize Breadcrumb Post Category Links’ is closed to new replies.