Forum Support

 
Advanced Search


New Posts
FAQs for Wordpress
If you have a question about Wordpress products please read through a list of our most commonly asked questions here.
[1]

Offline cspub
Free Member
Posts: 236
Posted on: February 24, 2016, 03:14:05 PM

I had another topic posted about adding a property listing plugin. I couldn't get that one to work, so i'm trying another called wp-property. seems no matter what i try they don't work with shape 5 templates.

i purchased their template to try and it all works but don't like the other page layouts. so i'm trying to add the property listing pages into the theme so they can work. it does let you pick a specific template page for property listings. i've copied their pages into the zoka theme root but it doesn't show up as a template. not sure what i need to do. i know your themes don't use single.php and they use that when displaying properties.

i guess question is if there is an easy way to get these different plugins to work or is shape 5 templates so different these types of plugins don't work.

my site
http://rdsrealestate.com

a demo of how it should look is
http://madison.ci.usabilitydynamics.com

individual page listing
http://madison.ci.usabilitydynamics.com/listings/fitzgerald-ave/
Logged

Offline Tristan Rineer
Free Member
Posts: 3858
Posted on: February 25, 2016, 01:24:21 PM

You can duplicate the index.php file as a "page template".  If the content call needs to be changed, what you're looking for is the following code, or something very similar:

Code:
<?php if ($s5_show_component == "yes") { ?>
<main>
<?php s5_component_call(); ?>
<div style="clear:both;height:0px"></div>
</main>
<?php ?>

Logged

Offline cspub
Free Member
Posts: 236
Posted on: February 25, 2016, 02:29:50 PM

do i just add to root of zoka theme? and call it whatever.php? thanks
Logged

Offline Tristan Rineer
Free Member
Posts: 3858
Posted on: February 25, 2016, 09:45:40 PM

That should be all you need to do, as well as adding whatever code is needed.  I believe page templates require a PHP comment block at the top that defines it as a page template before WP can detect it, but I haven't ever had to create one, so I can't be certain.
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.023 seconds with 22 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
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.