Your account expired support, please renew to get your support.
Topic Resolution: Resolved
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #32145
    jyan23
    Support Expired

    Change “livings” to “programs”

    Is it possible to change the “livings” breadcrumb to “programs”?

    #32158

    Please add this custom code to the file functions.php ( child-theme):

    add_filter('onilife_living_labels', 'onilife_living_labels');
    function onilife_living_labels(){
    $labels = array(
                'name'               => esc_html__('Programs', 'onilife'),
                'singular_name'      => esc_html__('Program', 'onilife'),
                'add_new'            => esc_html__('Add New Program', 'onilife'),
                'add_new_item'       => esc_html__('Add New Program', 'onilife'),
                'edit_item'          => esc_html__('Edit Program', 'onilife'),
                'new_item'           => esc_html__('New Program', 'onilife'),
                'view_item'          => esc_html__('View Program', 'onilife'),
                'search_items'       => esc_html__('Search Programs', 'onilife'),
                'not_found'          => esc_html__('No Programs found', 'onilife'),
                'not_found_in_trash' => esc_html__('No Programs found in Trash', 'onilife'),
                'parent_item_colon'  => esc_html__('Parent Program:', 'onilife'),
                'menu_name'          => esc_html__('Programs', 'onilife'),
            );
    return $labels;
    }
    
    add_filter('onilife_living_slug', 'onilife_living_slug');
    function onilife_living_slug(){
    return 'programs';
    }
    #32161
    jyan23
    Support Expired

    Thank you!

    #32163

    Ok, let me know if you need to help and hope you will vote 5 stars for our theme.

    Thanks./

    #32220
    avathan
    Support Expired
    This reply has been marked as private.
Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.