Forum Support

Shape 5
March 29, 2024, 06:55:22 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: single.php  (Read 757 times)
cspub
Jr. Member
**
Offline Offline

Posts: 236



« on: 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?
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 on: 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:
Code:
<?php if ($s5_show_component == "yes") { ?>

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

<?php ?>
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.