Skip to content

Whitelist Conditional Logic Functions

Whitelist Conditional Logic Functions

The theme includes a class named TotalTheme\Conditional_Logic that is used for certain functions such as the Transparent Header Conditional Logic customizer field. This class will loop through your defined parameters to check if any return true. For security reasons only…

Read more

Change the Contact Form Element “to” Adress

By default the Total theme contact form element uses the site admin email address for the "to" email address and this can be modified from the main Theme Panel, however, if you wish to dynamically modify the value it is…

Read more

Add Post Views to the Archive & Post Meta

The following includes 2 examples showing how to add the Post Views Counter plugin views to your blog post entry and single post meta sections. The first example shows how to use a theme icon "eye" and the second is…

Read more

Allow Sticky Posts To Show First in Related Posts

This snippet will enable sticky posts for the related posts. By default sticky posts are disabled for related items as you may end up with the same posts being displayed on all items also sticky posts can mess with the…

Read more

Change the Attachment Page Layout

The following snippet can be used to alter your attachment.php page layout. This is the page that is used to display attachments (images, videos, pdfs, etc) on the front-end. By default the attachment page uses the same layout as your…

Read more
Back To Top