trms / wp-cablecast

A Wordpress plugin for Cablecast
GNU General Public License v3.0
2 stars 6 forks source link

Unable to build a page that shows all series (not shows in a series). #35

Open fozzieblue opened 1 year ago

fozzieblue commented 1 year ago

I've installed the cablecast plugin on a test WordPress site using Wordpress 6.2.2.

I'm able to see a series page by going to a show and clicking the link next to "series" in the show details. Here's a link to a series page: https://dev-necat.pantheonsite.io/series/1116letsplaygames/

I've tried to add a block to show all series, but there isn't a block available. I looked for a taxonomy block, but I only see category and tag.

Is there a way to create a page that shows a list of all series (like this: https://cmac.tv/series-guide/) by using the block system? Or does this have to be done in code?

Apologies if this is already answered in issues. I looked, but I'm coming from Drupal and I'm still getting used to WordPress.

bryanharley commented 1 year ago

Hello! I'm from CMAC. I made this into a plugin, I'll send it later today. You'll be able to use a shortcode within a block to create the series list.

fozzieblue commented 1 year ago

@bryanharley Hi! That sounds excellent. Looking forward to trying it out. :)

bryanharley commented 1 year ago

See attached. Install this plugin. It will create two custom shortcodes you can use in blocks or pages/posts. I haven't tested this on another WP installation (other than ours). Let me know if this works for you. Here's some documentation:

Shortcode: [series_list] Description: Displays the names of all series/projects in Cablecast. Names are hyperlinked to the series/project's page.

Shortcode: [producers_list] Description: Displays the names of all producers in Cablecast. Names are hyperlinked to the producer's page.

There's some simple styling in the plugin, feel free to edit to your desire.

wp-cablecast-shortcodes.zip

fozzieblue commented 1 year ago

Thank you so much for sharing that plugin. It worked perfectly! https://dev-necat.pantheonsite.io/shows/

bryanharley commented 1 year ago

Awesome. If there's anything else I can do to help, let me know.