Skip to content

Instantly share code, notes, and snippets.

@kimcoleman
Last active January 29, 2023 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kimcoleman/610cd124b15e8aee97c5e389ce8ee91d to your computer and use it in GitHub Desktop.
Save kimcoleman/610cd124b15e8aee97c5e389ce8ee91d to your computer and use it in GitHub Desktop.
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