Breadcrumb NavXT
Remove 'portfoloio-view' from url in breadcrumb (2 posts)

  1. damfino52
    Posted 3 years ago #

    have installed a new template that has Portfolio posts in in.

    However, it gives a url of :


    How do I hide the 'portfolio-view' so that it only shows the post part?


    This is the CSS code I have which seems to suggest portfolio-view shouldn't be visible but it is:

    'rewrite' => array('slug'=>'','with_front'=>false),
    Permalinks is:


  2. John Havlik
    Plugin Author

    Posted 3 years ago #

    Breadcrumb NavXT uses the WordPress API for generating all URLs, so you'd have to hook into those properly. Functions to look at are get_term_link(), get_permalink(), get_home_url(), get_year_link(), get_month_link(), get_day_link(), and get_post_type_archive_link(). Note that the fist two are the ones you'll most likely run into.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Breadcrumb NavXT
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic