2020-11-23 05:52:49

Related Docs

Do You Need Help or Expertise?

Is editing Source Code not Your Thing? Are you in a tight Time Schedule and need to deliver a fully scalable and safe solution fast to your Clients?

Maybe you want to incorporate the Software found on TukuToi unbranded and royalty free in your Clients Projects after customizing it as per your Projects requirements?

Or eventually you need some training on any WordPress Plugin, Theme or their creation and maintenance?

ShortCode[tws_group_by]

ShortCode to group items in a loop by a condition

The [tws_group_by] allows to display contents depending on a input compared to its previous value in a loop. You can for example group posts in a View loop by their Date, and output the date only if it is different to its previous instance in the loop.

Attributes:

  • conditionstring [year|month]
  • valuemixed [date]
  • infoboolean (1)

Example:

[tws_group_by condition="month" value="TYPES_DATE_FIELD_SHORTCODE_HERE"]Output This only when Condition matches[/tws_group_by]