Themer

Themer Visibility Conditions Allow you to set rules that determine display the conditions under which a template is displayed or not.

Add a Visibility Condition

  • In the Dashboard, in the Cwicly tab, open the Themer.

  • Select the template to which you wish to add visibility conditions.

  • Click the Visibility Conditions icon to open the modal.

  • Click "+" to add a Visibility Condition.

  • Choose Show/Don't Show in the dropdown (whether to show or not the template under the conditions you set).

  • Open the "Type" dropdown.

  • Set a Condition Type.

Condition Types
  • All (whether the selected template is shown or not shown)

  • Singular (whether the query is for an existing single post of any post type - post, attachment, page, custom post types)

  • Archive (whether the query is for an Archive, that is a collection of WordPress posts of any post type - post, attachment, page, custom post types)

  • Author (whether the query is for every Author or for one or more selected authors - All, name/names in list

  • ACF T(which fields you want to show and how they appear - the group you want to be queried, the field and the operator you wish to apply (equals, doesn't equal, empty, not empty) as well as whether the condition is true or false.

  • Cookie

  • Date

  • Day of the Week

  • Day of the Month

  • Time

  • Shortcode

  • Logged in

  • Username

  • User Capabilities

  • User Role

All Type

The All Type determines whether the selected template is shown or not shown.

Singular Type

The Singular Type determines whether the query is for an existing single post of any post type (post, attachment, page, custom post types).

Archive Type

The Archive type determines whether the query is for an Archive, that is a collection of WordPress posts of any post type (post, attachment, page, custom post types).

Author Type

The Author Type determines whether the query is for every Author or for one or more selected authors (All, name/names in list).

ACF Type

The ACF Type allows you to determine which fields you want to show and how they appear.

Within the ACF Type, you can select the group you want to be queried, the field and the operator you wish to apply (equals, doesn't equal, empty, not empty) as well as whether the condition is true or false.

The Cookie Type allows you to query a cookie using an operator (equals, doesn't equal, contains, does not contain).

Date Type

The Date Type allows you to query a date using an operator (equals, doesn't equal, before, after)) and a selected date (month/day/year).

Day of the Week Type

The Day of the Week Type Type allows you to query a day of the Week using an operator (equals, doesn't equal, before, after) and a selected day of the week (Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday).

Day of the Month Type

The Day of the Month Type Type allows you to query a day of the Month using an operator (equals, doesn't equal, contains, does not contain) and a selected day of the month (1-31).

Time

The Time Type Type allows you to query Time using an operator (equals, doesn't equal, before, after) and a selected Time (hour/minute/second).

Shortcode

The Shortcode Type allows you to filter your posts by using your own special attributes and a true/false operator.

Username

The Username Type allows you to filter your posts by Username using a specified operator (equals, doesn't equal, contains, does not contain).

User ID

The User ID Type allows you to filter your posts by User ID using a specified operator (equals, doesn't equal, smaller, bigger, bigger or equal, smaller or equal).

User Capabilities

The User Capabilities Type allows you to query your posts by User Capabilities. You can query User Capabilities, equals or doesn't equal, depending on the type of User Capabilities being queried (switch_themes, edit_themes, edit_plugins, edit_users, edit_files, manage_options, moderate comments, manage categories).

User Role

The User Role Type allows you to query your posts depending on the User Role. You can query User Capabilities, equals or doesn't equal, depending on the User Role being queried (Administrator, Editor, Author, Contributor, Subscriber).

Last updated