Skip to content

Create a Custom Off Canvas Element Shortcode

Create a Custom Off Canvas Element Shortcode

The following snippet can be used to create your own custom off-canvas element that has whatever content you want. In this example the off canvas element will display content from a custom dynamic template but you can customize it to…

Read more

Limit the Ajax Search Post Types

If you're using the new search modal that displays results via AJAX, the request is sent to WordPress using the default query, which returns any posts matching the search term and having a 'publish' status. When registering custom post types,…

Read more

Insert Content Between Post Cards Entries

In Total 5.19 we introduced two new hooks you can use to insert content before or after specific entries in the Post Cards element. You can use this code to insert a banner for example after "x" entry. Here are…

Read more

Advanced AJAX Filter Example

The Total theme includes a powerful AJAX filter script that is currently used for the navigation bar element for adding simple term based AJAX filters. However, if you are using a child theme or code snippet plugin it's possible to…

Read more

Prevent Editor Access to Dynamic Templates

By default the Dynamic Templates can be edited under Theme Panel > Dynamic Templates, however, site "Editors" don't have access to the Theme Panel so the Dynamic Templates admin link will display at Tools > Dynamic Templates. If you wish…

Read more

Modify Post Meta Icons

The following snippet shows how you can modify the icons used for the post meta blocks. This snippet displays the default icons used so you can simply switch out the names for the theme icons you want to use instead…

Read more
Back To Top