Is there a way to generate the tab element dynamically?
I am trying to put some post list into the tab element. And each tab page representing a date of posts.
The date will show as the tab name. The tab content will be the post list of that date.
However, I want the date to be dynamic. I want to show 5 tab pages which the tab name are recent 5 days.
e.g.
Tab Name 1: Jul 10 (or today)
Tab Name 2: Jul 09 (or yesterday)
Tab Name 3: Jul 08
Tab Name 4: Jul 07
Tab Name 5: Jul 06
tomorrow, the tab will be changed to:
Tab Name 1: Jul 11
Tab Name 2: Jul 10
Tab Name 3: Jul 09
Tab Name 4: Jul 08
Tab Name 5: Jul 07
Hi boscotwcheung!
You can enable debugging mode to see shortcodes you have created in pages using Advanced Layout Builder – http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/
You can switch to Default Editor and click on Magic Wand to see full list of shortcodes http://i.imgur.com/n4KXkdm.jpg
then you can create any of them and copy/paste shortcode into any other content element or into text widget.
Regards,
Yigit
It works! Thanks!