Okay
  Public Ticket #2233903
No archive from the breadcumb
Closed

Comments

  • MicaelaCataldo started the conversation

    Hi,

    I would like to remove service archives from the breadcumb

    ===> home -> category -> name service

    and remove from the slug category "resource-category"

    ===> home -> category     not        home -> resource-category->category

    thanks

  •  816
    Linh replied

    Hello

    You can try to add this code to functions.php file of child theme to change the name but you can not remove it:

    // Change slug Services
    add_filter( 'insight_core_service_slug', 'healsoul_child_change_service_slug' );
    function healsoul_child_change_service_slug() {
        return 'courses';
    }
    // Change slug Services Category
    add_filter( 'insight_core_service_category_slug', 'healsoul_child_change_service_category_slug' );
    function healsoul_child_change_service_category_slug() {
        return 'courses-category';
    }
    

    After added the code, please go to Settings > Permalinks > select Post Name type and re-save it.

    Thanks

  • MicaelaCataldo replied

    Thank you very much, problem solved.

    Does it also apply to resource?

    // Change slug servizi
    add_filter( 'insight_core_resource_slug', 'healsoul_child_change_resource_slug' );
    function healsoul_child_change_resource_slug() {
        return 'servizi';
    }
    // Change slug categoria servizi
    add_filter( 'insight_core_resource_category_slug', 'healsoul_child_change_resource_category_slug' );
    function healsoul_child_change_resource_category_slug() {
        return 'servizi';
    }

    I changed from the same your snippet services in resource, but it doesn't work. 

    One last thing ... it's possible in the archive page (both for services and resources) to show all the content, without impagination?

  •  816
    Linh replied

    Hello

    Unluckily, the resource is not allow to change via quick snipset yet. 

    I have noticed the developer to find solution with this.

    ALso can you provide the page url of archive page so i can help you check it better?

    Thanks

  •   MicaelaCataldo replied privately
  •  816
    Linh replied

    Hello

    You can try to set it up in Settings > Reading > Blog Post at most section.


    Thanks

  • MicaelaCataldo replied

    Thank you so much, problem solved.

    Hoping to hear from you the developer's answer.

    Thanks

  •  816
    Linh replied

    You are welcome.