pmpro-series icon indicating copy to clipboard operation
pmpro-series copied to clipboard

Feature: Shortcode to display what posts/series a user has access to

Open andrewlimaza opened this issue 4 years ago • 3 comments

Create a shortcode that shows a list of series (and links) or Series and posts a user has access to so it may be displayed on any page.

Here is a starting point, abstracted code from the Member Links area of the Series Add On -> https://gist.github.com/andrewlimaza/de319c25aee8ebe2eb4a73ea5471fdd7

andrewlimaza avatar Feb 09 '21 13:02 andrewlimaza

Stuff to talk about:

  • Do we want a block, widget, and shortcode?
  • A shortcode that shows all posts for a specific series or all series (not just the ones the user has) could be interesting. Probably a separate shortcode/etc to avoid confusion or could be a parameter.

Let's pitch it.

ideadude avatar Feb 10 '21 14:02 ideadude

I'd like the option to leave out "empty" series, where the member does not yet have access to anything

aaron843 avatar Jul 16 '22 22:07 aaron843

Merging this issue in from https://github.com/strangerstudios/pmpro-series/issues/9 with another shortcode request:

Is there a shortcode for the list? Would like to be able to list series at end of each post in series &/or on sidebar. Ideally the list would detect which element of series is currently shown & bold that list element & perhaps lighten the text of posts that aren't yet viewable, or simply show the same not available yet button.

kimcoleman avatar Jul 19 '24 10:07 kimcoleman