Tutorials for Speakers and Schedule

Best WordPress theme for festivals or other events with responsive, clean and unique design.
GK User
Fri Mar 15, 2013 5:30 pm
Hi,
I wasn't able to install the theme using the quick install, so I'm doing everything by hand. So far I haven't had many problems. I can't seem to figure out the Speakers and the Schedule pages though.

1. Is it possible to change the word 'Speakers' in the dashboard to 'Artists' or 'Performers'?
2. I can't seem to get the speakers to show up anywhere when I enter their info. I would like to have the widget on the home page, the main speakers page which lists all of the speakers photos and names, and then the individual speaker's bio page. But I can't seem to make this happen. Do I need to put any special code into a Page to pull in the info? Where do I enter the full bio info so that it all links together?
3. For the schedule page, do you enter the items in one at a time or all into the body of the page at once? Do I need to hand code all of the styling/columns or is it automated?

For people who are unable to use quickstart, it would be really handy to have a couple of tutorials or videos available!

Thanks to anyone who can help.
User avatar
Fresh Boarder

GK User
Sat Mar 16, 2013 11:04 am
Hi,

1) In the gavern/helpers/helpers.features.php you have a code:

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')
      )
   );
}


2) As I understand this kind of functionality is implemented here: http://demo.gavick.com/wordpress/fest/?cat=87 - it is a normal category with speaker post type. When you change the name of the slug, you will have to also rename the category-speaker.php file which is responsible for this view.

3) You have to put all events in one page, more details available here: http://demo.gavick.com/wordpress/fest/?p=952
User avatar
Administrator

GK User
Sun Mar 17, 2013 3:40 pm
Thank you for this help. When I change all instances of 'Speaker' and 'Speakers' to 'Artist' and 'Artists' in gavern/helpers/helpers.features.php it works, but loses the special Speaker formatting - no featured images in circles, no large page header. Where else does it need to be changed?
User avatar
Fresh Boarder

GK User
Mon Mar 18, 2013 10:22 am
Please also change the filename of the content-speaker.php file.
User avatar
Administrator

GK User
Mon Mar 18, 2013 2:22 pm
thank you - it's now formatted correctly. BUT, when I click on the artists name, I get a message saying 'It seems we can’t find what you’re looking for. Perhaps searching, or one of the links below, can help.' The url structure is http://websiteaddress.com/artists/artistname which seems correct, but the content is empty. What else am I missing? Thank you for your help!
User avatar
Fresh Boarder

GK User
Mon Mar 18, 2013 10:47 pm
Did you changed in the category-artists.php file these lines:

Code: Select all
$args = array( 'post_type' => 'gavern_speakers', 'posts_per_page' => 100 );


and:

Code: Select all
<?php get_template_part( 'content', 'speaker' ); ?>


to the proper ones with artists?
User avatar
Administrator

GK User
Tue Mar 19, 2013 9:31 am
Yes, I did that. This is taking too long to get going, with only one response per day on the forum. I would be happy to create a login for my site for you if that could help facilitate things. I would really appreciate your help as I need to get this up and running. Can you help?
User avatar
Fresh Boarder

GK User
Tue Mar 19, 2013 10:12 am
In this case it will be necessary, because I have no other ideas. Please send me an FTP and back-end access using the PM message :)
User avatar
Administrator

GK User
Tue Mar 19, 2013 11:57 am
Hi, I just purchased the wordpress theme and I am currently using FEST.
In speakers section, I have added 3 categories of speakers (speakers, event-speakers & team-speakers).
My question is how do I get the speakers page to show only one category of speakers? It is currently showing all categories.
User avatar
Fresh Boarder

GK User
Tue Mar 19, 2013 5:01 pm
@MackDS - for the future questions, please create a new topic, and please don't post duplicated posts - I've removed your duplicated post from other topic.

Regarding your question - you have to open file: category-speakers.php and change line:

Code: Select all
$args = array( 'post_type' => 'gavern_speakers', 'posts_per_page' => 100 );


to:

Code: Select all
$args = array( 'post_type' => 'gavern_speakers', 'posts_per_page' => 100, 'category_name' => 'YOUR_CATEGORY_SLUG' );


where YOUR_CATEGORY_SLUG is a slug of the category which you want to display.
User avatar
Administrator

GK User
Tue Mar 19, 2013 5:16 pm
@alissajrobinson - I've solved your problem just by resave the Settings-> Permalink structure, probably WP stored old taxonomy and that's why it needs resave :)
User avatar
Administrator

GK User
Wed Mar 20, 2013 11:55 am
THANK YOU! I really appreciate your help :)
User avatar
Fresh Boarder

GK User
Mon May 27, 2013 1:05 am
I have the same exact question as the OP's question #1, but I don't think I can piece together how it was done from the replies here. Is it possible to post a detailed tutorial with every instance of code that needs to be changed to make the "Speakers" widget into an "Artists" widget? All I would need is the name of each file and what changes to make in the code. Thank you.
User avatar
Fresh Boarder

GK User
Tue May 28, 2013 11:45 am
Hi crunchthalomew,

First of all, if you already have some speakers, copy their, because post type will be changed and you'll have no access to these speakers.
1. Open Fest/gavern/helpers/helpers.features and replace function gavern_create_post_type with this one:
Code: Select all
function gavern_create_post_type() {   
   register_post_type( 'gavern_artists',
      array(
         'labels' => array(
            'name' => __( 'Artists', GKTPLNAME ),
            'singular_name' => __( 'Artist', GKTPLNAME )
         ),
         'taxonomies' => array('category'),
         'menu_position' => 5,
         'public' => true,
         'rewrite' => array('slug' => 'artist'),
         'has_archive' => true,
         'supports' => array('title', 'editor', 'thumbnail', 'custom-fields', 'comments')
      )
   );
}

2. Change Fest/content-speaker.php filename to content-artist.php
3. Change Fest/category-speakers filename to category-artists.php
4. Open category-artists.php file and change this line
Code: Select all
$args = array( 'post_type' => 'gavern_speakers', 'posts_per_page' => 100 );
to
Code: Select all
$args = array( 'post_type' => 'gavern_artists', 'posts_per_page' => 100 );
and
Code: Select all
<?php get_template_part( 'content', 'speaker' ); ?>
change to
Code: Select all
<?php get_template_part( 'content', 'artist' ); ?>

5. Change Fest/single-gavern_speakers filename to single-gavern_artists
6. Open single-gavern_artists and change
Code: Select all
<?php get_template_part( 'content', 'speaker' ); ?>
to
Code: Select all
<?php get_template_part( 'content', 'artist' ); ?>
,
7. Open Fest/gavern/widget.speakers.php file and change line 75 to
Code: Select all
$gk_loop = new WP_Query( 'category_name=' . $category . '&post_type=gavern_artists');
,
8. Then change GK widget Title, create category "Artists", create new Artists, and that's all.

If you want to change only displayed name from "Speakers" to "Artists" (not custom post type), back to point 1 and paste this function:
Code: Select all
function gavern_create_post_type() {   
   register_post_type( 'gavern_speakers',
      array(
         'labels' => array(
            'name' => __( 'Artists', GKTPLNAME ),
            'singular_name' => __( 'Artist', 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 change Speakers category titile and description, GK Spekaers widget title and that's it.
User avatar
Moderator

GK User
Tue May 28, 2013 4:19 pm
Exactly what I needed. Many thanks!
User avatar
Fresh Boarder


cron