Skip to content

Instantly share code, notes, and snippets.

@kimcoleman
Last active January 29, 2023 16:57
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Example of the Advanced Levels Shortcode with Comparison Items and Hyperlinks
/* Example of the Advanced Levels Shortcode with Comparison Items and Hyperlinks */
[pmpro_advanced_levels layout='compare_table' compare='<a href="/item-1/">Item 1</a>,1,1;<a href="/item-2/">Item 2</a>,0,1']
@thomasfromwood
Copy link

Thanks for the example! I think there is an useless bracket at the end.

@kimcoleman
Copy link
Author

Thank you, @thomasfromwood - just updated the example code here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment