Forum Replies Created
-
AuthorPosts
-
omerkhanMember
Brad
You are ROCK STAR! It worked. And you were right -- I had to manually enable comments on those existing posts.
I just tweeted about your site as being an AWESOME WP resource -- I hope that helps.
--Omer
omerkhanMemberVery nice Brad! That post threw me for a second when you mentioned some 'other guy' named Omer. 🙂
I setup the custom post type using the Custom Post Type UI plugin. The problem was that under the 'advanced settings', I hadn't set "archive = yes" and defined the slug as podcast. Then I created a new page called page_podcast.php to create a podcast template using these instructions http://designsbynickthegeek.com/tutorials/creating-page-templates-in-genesis.
But after reading your post (and the one on creating custom post types), I thought it would be much better to follow your advice on creating custom post types in functions.php. That way I could uninstall the Custom Post Type UI plugin.
Then I created the archive page, updated permalinks, added a link to http://my.domain.com/podcast and it worked!
But there were two small issues that I still needed to address:
1) The podcast archive page looked a little different to the blog page (because that links to a page using the 'blog' template type that came with Parallax Pro) e.g. the podcast archive page would show the date or author under the headline.
2) I want at some point to be able to add some static content on the top of the podcast archive page at some point, so I am assuming creating a podcast page using a podcast template type would be the best way to do that. Not sure.
Anyway, so the one tweak that I made was to remove the archive-podcast.php file and instead put back the page_podcast.php (following these instructions) and then I created a page called podcast at http://my.domain.com/podcast and set it up to use the podcast template type that I just created.
Now both my blog section and podcast section look identical in terms of layout.
Brad -- I did have two questions for you:
1. What are the pros & cons of using an archive page vs. a page with a 'podcast' template? Does it make a big difference?
2. On your page for creating custom post types, you have the following code:
'name' => __( 'Members', 'wpsites' ),
'singular_name' => __( 'Member', 'wpsites' ),I understand that I should replace Members/Member with Podcasts/Podcast, but what is the 'wpsites' value used for?
And thank you for your help!
--Omer
omerkhanMemberI setup the custom post type using the Custom Post Type UI plugin. The problem was that under the 'advanced settings', I hadn't set "archive = yes" and defined the slug as podcast. Then I created a new page called page_podcast.php to create a podcast template using these instructions http://designsbynickthegeek.com/tutorials/creating-page-templates-in-genesis.
But after reading your post (and the one on creating custom post types), I thought it would be much better to follow your advice on creating custom post types in functions.php. That way I could uninstall the Custom Post Type UI plugin.
Then I created the archive page, updated permalinks, added a link to http://my.domain.com/podcast and it worked!
But there were two small issues that I still needed to address:
1) The podcast archive page looked a little different to the blog page (because that links to a page using the 'blog' template type that came with Parallax Pro) e.g. the podcast archive page would show the date or author under the headline.
2) I want at some point to be able to add some static content on the top of the podcast archive page at some point, so I am assuming creating a podcast page using a podcast template type would be the best way to do that. Not sure.
Anyway, so the one tweak that I made was to remove the archive-podcast.php file and instead put back the page_podcast.php (following these instructions) and then I created a page called podcast at http://my.domain.com/podcast and set it up to use the podcast template type that I just created.
Now both my blog section and podcast section look identical in terms of layout.
Thanks for your help!
omerkhanMemberBut there were two small issues that I still needed to address:
1) The podcast archive page looked a little different to the blog page (because that links to a page using the 'blog' template type that came with Parallax Pro) e.g. the podcast archive page would show the date or author under the headline.
2) I want at some point to be able to add some static content on the top of the podcast archive page at some point, so I am assuming creating a podcast page using a podcast template type would be the best way to do that. Not sure.
Anyway, so the one tweak that I made was to remove the archive-podcast.php file and instead put back the page_podcast.php (following these instructions) and then I created a page called podcast at http://my.domain.com/podcast and set it up to use the podcast template type that I just created.
Now both my blog section and podcast section look identical in terms of layout.
Brad -- I did have two questions for you:
1. What are the pros & cons of using an archive page vs. a page with a 'podcast' template? Does it make a big difference?
2. On your page for creating custom post types, you have the following code:
'name' => __( 'Members', 'wpsites' ),
'singular_name' => __( 'Member', 'wpsites' ),I understand that I should replace Members/Member with Podcasts/Podcast, but what is the 'wpsites' value used for?
And thank you for your help!
omerkhanMemberI setup the custom post type using the Custom Post Type UI plugin. The problem was that under the 'advanced settings', I hadn't set "archive = yes" and defined the slug as podcast. Then I created a new page called page_podcast.php to create a podcast template using these instructions http://designsbynickthegeek.com/tutorials/creating-page-templates-in-genesis.
But after reading your post (and the one on creating custom post types), I thought it would be much better to follow your advice on creating custom post types in functions.php. That way I could uninstall the Custom Post Type UI plugin.
Then I created the archive page, updated permalinks, added a link to http://my.domain.com/podcast and it worked!
omerkhanMemberVery nice Brad! That post threw me for a second when you mentioned some 'other guy' named Omer. 🙂
omerkhanMemberAlso, one other insight that might help troubleshooting this....
In order for http://my.domain.com/blog to show a summary of blog posts, I have to have to create a page at http://my.domain.com/blog and set that as 'blog' template type. If I delete that page, then I get a 404 error.
That's why I assumed that I needed to create a 'podcast' template type and then create a page at http://my.domain.com/podcast and set that as 'podcast' template type. But that was just a total guess.
Also, I didn't mess around with any of the blog templates -- as far as I know, that's how it's been working since I did a clean install of WordPress with Genesis/Parallax Pro.
--Omer
omerkhanMemberThanks Summer.
The custom posts I create, have the following URL structure http://my.domain.com/podcast/each-custom-post-name
I deleted the Podcast page/template and tried accessing http://my.domain.com/podcast (and http://my.domain.com/podcasts) but both return a 404 error now.
Any other ideas?
omerkhanMemberHi Jan
Thanks for your sharing. I'm trying to do exactly what she's done on her site:
A page for blog post summaries: http://thewpchick.com/blog/
A page for podcast post (custom post type) summaries: http://thewpchick.com/podcast/Unfortunately, she doesn't explain how she did that in that particular article.
--Omer
omerkhanMember@AcesUp - thanks so much for the kind offer. I actually tried what you suggested and it did the trick! Thank you for your help!
omerkhanMemberThanks Brad.
Also, any recommendations where I could hire a designer to acquire/create a customized image for me?
omerkhanMemberThank you Brad!!
-
AuthorPosts