Shape 5

Wordpress Club Themes => Zoka Transports - Club => : cspub January 05, 2016, 01:29:04 PM



: single.php
: cspub January 05, 2016, 01:29:04 PM
I'm trying to add easy property listing plugin. i can do that but it calls for editing the single.php file and renaming to single-listing.php.

i see those files in other templates and standard wordpress templates but not in the shape 5 templates. can you tell me where that is?


: Re: single.php
: Tristan Rineer January 06, 2016, 07:16:00 AM
The framework functions differently from most other WP themes, and does not have those extra files.  However, you can get the same result by duplicating the index.php file and renaming it to whatever the plugin requires. 

The loop code that you will most likely need to replace will look something like this:
:
							<?php if ($s5_show_component == "yes") { ?>

<?php s5_component_call(); ?>
<div style="clear:both;height:0px"></div>

<?php ?>