Support » Plugin: Breadcrumb NavXT » Change blog URLs

  • martywndrlnd

    (@martywndrlnd)


    Hi, my site is not live yet.

    Im trying to change the breadcrumb path for my blog.
    I have divided my post into categories: Blogs and News. With 2 separate pages.

    But when using the default setup it gives me this path: href=”https://www.cbsracing.nl/category/xxx/”

    I dont want it to add this /category/ path. What i want is: href=”https://www.cbsracing.nl/news/”.

    Inserting the link like this doesnt work, as it also applies to my ‘blog’ posts- showing the wrong path.

    is it possible to get two separate links? Or what should be the right ‘%%’ content, so it only uses the URL without /category/ but only showing the right category.

    I hope this makes sense.

    Thanks in advance!

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

    (@mtekk)

    Honestly, it’s going to be easier to use a custom post type for you news entries and let the built-in WordPress Post (post type) be for just blog entries. See https://developer.wordpress.org/reference/functions/register_post_type/ and https://codex.wordpress.org/Post_Types#Custom_Post_Types for more information on Custom Post Types. Then with the News CPT, set the “Root Page” to your “News” page in the Breadcrumb NavXT settings. For the Blogs page, simply set that as the page for posts in the WordPress settings (Settings > Reading). At that point you can individually control the hierarchy used for the two different post types representing the two different sections (you can still use the category taxonomy for both post types if you want).

Viewing 1 replies (of 1 total)
  • The topic ‘Change blog URLs’ is closed to new replies.