How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums PokaTheme support Remove Slug from Breadcrumbs

Tagged: 

Viewing 10 posts - 1 through 10 (of 13 total)
  • Author
    Posts
  • #11827
    discoman
    Participant

    Hi Poka,
    I am using ‘Remove slug from custom post type’ plugin to remove the /Reviews/ from the urls.
    However it doesn’t remove the slug when I enable your Breadcrumbs option.

    0002

    Can you make your Breadcrumbs option check if the Remove slug is operational and if so, remove the slug from the Breadcrumbs?

    Thanks.

    #11875
    admin
    Keymaster

    Hi discoman,

    Sorry the only way to remove the slug to breadcrumbs is to override the function “poka_breadcrumbs” to your child theme and remove the slug in the code.

    #11877
    discoman
    Participant

    Can you please send me the correct code and location in php, to add to the child theme?

    Thanks.

    #11886
    admin
    Keymaster

    You should copy the function “poka_breadcrumbs” you’ll find inside inc/addons/breadcrumbs.php to your functions.php
    Then find the comment “// Add taxonomy link and separator” and comment out all the if else statement.

    #12006
    Mio
    Participant
    This reply has been marked as private.
    #12024
    Mio
    Participant
    This reply has been marked as private.
    #18297
    VOAK
    Participant

    I have same problem. Tried to do as described, but it didn’t worked out. Can it be explained better?

    #18299
    admin
    Keymaster

    Hi VOAK,

    This is a rather old thread, PokaTheme now is in a new version, so could you please elaborate a little bit more on what is the problem?

    #18302
    VOAK
    Participant

    I want to remove breadcrumbs slug for “affiliates” category (Reviews), so it can be Home -> Casino X, instead of Home -> Reviews -> Casino X.

    #18312
    admin
    Keymaster

    We don’t offer an option for this, but you can do this by using a plugin like: Remove CPT base (https://wordpress.org/plugins/remove-cpt-base/)

Viewing 10 posts - 1 through 10 (of 13 total)
  • You must be logged in to reply to this topic.