How can I change the Speaker slug and text on the breadcrumb ?

  1. Home
  2. Docs
  3. Vertoh
  4. Frequently Asked Question...
  5. How can I change the Speaker slug and text on the breadcrumb ?

How can I change the Speaker slug and text on the breadcrumb ?

You can change the speaker text from the slug and also from the breadcrumb.Do the following to change the “All Speakers” in the breadcrumb:

1) Copy wp-content/themes/vertoh/single-speaker.php to wp-content/themes/vertoh-child

2) Open single-speaker.php

3) Around line number 28, you can find:

<li><a href=”<?php echo $full_speakers_url; ?>”><?php _e(‘All Speakers’); ?></a></li>

4) Change this to :

<li><a href=”<?php echo $full_speakers_url; ?>”><?php _e(‘All Guests’); ?></a></li>

Please do the following to change the slug of speakers type:

Unfortunately, it is difficult to implement from child theme as its is a core functionality. We will update you when it is possible from child theme.

1) Open vertoh/event-framework/components/cpts/speaker.php

2) Around line number 23, you can see:

‘rewrite’ => array(
‘slug’ => ‘speakers’
),

3) Change this to :

‘rewrite’ => array(
‘slug’ => ‘guests’
),
4) Save file.

5) Go to Settings->Permalinks->Save changes. This will clear cache.

Was this article helpful to you? Yes 1 No