subdomains

Best WordPress theme for festivals or other events with responsive, clean and unique design.
GK User
Thu Feb 07, 2013 11:12 pm
Can the speaker and sponsor default subdomains be changed.

For example:
http://www.anmexpo.com/speaker/page-name

to

http://www.anmexpo.com/quick-links/page-name

Or, is there too many instances of "speaker" for the changes to be made?
User avatar
Fresh Boarder

GK User
Fri Feb 08, 2013 7:45 am
Hi,

In my opinion you should just open file gavern/helpers/helpers.features.php and find at the end fragment:

Code: Select all
/**
 *
 * Code used to implement custom post type for speakers
 *
 **/
 
function gavern_create_post_type() {   
   register_post_type( 'gavern_speakers',
      array(
         'labels' => array(
            'name' => __( 'Speakers', GKTPLNAME ),
            'singular_name' => __( 'Speaker', GKTPLNAME )
         ),
         'taxonomies' => array('category'),
         'menu_position' => 5,
         'public' => true,
         'rewrite' => array('slug' => 'speaker'),
         'has_archive' => true,
         'supports' => array('title', 'editor', 'thumbnail', 'custom-fields', 'comments')
      )
   );
}


then you should change value "speaker" in line:

Code: Select all
'rewrite' => array('slug' => 'speaker'),
User avatar
Administrator


cron