Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fozzieblue opened this issue Aug 2, 2023 · 5 comments
Open

Comments

@fozzieblue
Copy link

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
Copy link
Contributor

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
Copy link
Author

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

@bryanharley
Copy link
Contributor

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
Copy link
Author

fozzieblue commented Aug 3, 2023 via email

@bryanharley
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants