Function epl_property_blog
Selecting Card Display Style
Allows the use of one function where we can then select a different template when needed
Package: EPL\Functions\Templates
Copyright: Copyright (c) 2020, Merv Barrett
License: GNU Public License
Since: 1.0.0
Since: 3.4.4 Removed default template check for loop templates as this caused incorrect templates to load in some cases.
Since: 3.4.23 Removed compatibility template for loop as we are passing the class using post_class filter.
Since: 3.4.36 New: Additional action support for listing templates. Actions are: epl_loop_template_{post_type}, epl_loop_template_listing.
Since: 3.4.38 New: Additional parameters default to pass the default template which will be used if the template is not found.
Located at lib/includes/template-functions.php
Copyright: Copyright (c) 2020, Merv Barrett
License: GNU Public License
Since: 1.0.0
Since: 3.4.4 Removed default template check for loop templates as this caused incorrect templates to load in some cases.
Since: 3.4.23 Removed compatibility template for loop as we are passing the class using post_class filter.
Since: 3.4.36 New: Additional action support for listing templates. Actions are: epl_loop_template_{post_type}, epl_loop_template_listing.
Since: 3.4.38 New: Additional parameters default to pass the default template which will be used if the template is not found.
Located at lib/includes/template-functions.php
Parameters summary
string |
$template = '' |
The template. |
string |
$default = 'default' |
Optional template name. |