How to change the Exhibitors slug ?

  1. Home
  2. Docs
  3. Vertoh
  4. Frequently Asked Question...
  5. How to change the Exhibitors slug ?

How to change the Exhibitors slug ?

Do the following to change the exhibitor slug.

Don’t forget to take a back up of the file prior to any changes on the file

a) Open wp-content/themes/vertoh/functions.php

b) Around line number 854, you can find:

include_once(get_template_directory() . ‘/components/cpts/exhibitor.php’);

c) Replace this to :

include_once(get_stylesheet_directory() . ‘/components/cpts/exhibitor.php’);

d) Copy wp-content/themes/vertoh/components/cpts/exhibitor.php to
wp-content/themes/vertoh-child/components/cpts/exhibitor.php

f) Open wp-content/themes/vertoh-child/components/cpts/exhibitor.php

g) Around line number 23, you can find:

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

h) Replace this to:

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

i) Save the file.

Was this article helpful to you? Yes 1 No