07
	May
				Conditional tags
Comments
					Conditional tags are used in WordPress to display content, perform different actions, start a workflow based upon whether a certain condition is true or not. For instance, you can limit the execution of a workflow on the home page of your website only. Although the conditional tags are truly software things, you don’t need to be a developer, the tags can be chosen from a drop-down list.
Where conditional tags are available
- In a WordPress widget created by a workflow with the Create widget trigger
 - If a workflow is started with the Hook up trigger
 - During the execution of a workflow, in the action Get conditional tag
 
What WordPress conditional tags are available in the jetFlow plugin
| Main blog page is being displayed | is_home() | 
| Front page of the site is being displayed | is_front_page() | 
| Single post any type page is being displayed | is_single() | 
| Page, post or attachment page is being displayed | is_singular() | 
| Single page is being displayed | is_page() | 
| Tag page is being displayed | is_tag() | 
| Category page is being displayed | is_category() | 
| Search result page is being displayed | is_search() | 
| Attachment page is being displayed | is_attachment() | 
| Any type of archive page is being displayed | is_archive() | 
| Author page is being displayed | is_author() | 
| Error 404: Not Found page is being displayed | is_404() | 
| Workflow is executing within WP Loop | in_the_loop() | 
| Current query is the “main” query | is_main_query() | 
| Workflow is executing in the admin Dashboard | is_admin() | 
| Current user has capability | current_user_can() | 
| Current user is a site admin | is_super_admin() | 
| Any logged in user | is_user_logged_in() | 
What WooCommerce conditional tags are available in the jetFlow plugin
| Product archive page is being displayed | is_shop() | 
| Product category page is being displayed | is_product_category() | 
| Product tag page is being displayed | is_product_tag() | 
| Single product page is being displayed | is_product() | 
| The cart page is being displayed | is_cart() | 
| The checkout page is being displayed | is_checkout() | 
| Customer’s account page is being displayed | is_account_page() | 
| WooCommerce endpoint is being displayed | is_wc_endpoint_url() | 
Make it even more flexible
You can make a combination of the Conditional tags with the workflow restrictions.