Easy Property Listings WordPress Real Estate Plugin › Forums › Basic Support › Listing Templates
Tagged: theming
- This topic has 12 replies, 2 voices, and was last updated 9 years, 9 months ago by Nikolay Ivanov.
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.
-
AuthorPosts
-
August 10, 2014 at 10:41 pm #1333Nikolay IvanovSpectator
Hello Merv
I have buy Easy Property Listings – Listing Templates and install it. But can’t receive the same view. How can I do it?Hre some test pages http://www.retireorinvest.com/property/
Thank youNikolay
August 11, 2014 at 11:18 am #1337Merv BarrettKeymasterHi Nikolay
Thanks for your purchase,
The issue seems to be how you’ve edited the single-listing.php and the archive-listing.php.
Can you attach thoes files here.
If you haven’t added these files to your child theme folder can you attach your index.php, archive.php and single.php files and we can see what happened here.
- This reply was modified 9 years, 9 months ago by Merv Barrett.
August 11, 2014 at 2:12 pm #1339Nikolay IvanovSpectatorHi Merv
I have read your posts about archive-listing.php and single-listing.php and try it to prpepare for my theme. Here is attachment. When I put the exact code with < ?php ?> it not work, empty pages.
When put code without <?php ?> it work but not like yours.
For that I vave buy a listing template but nothing different.Thank you
August 11, 2014 at 2:16 pm #1340Nikolay IvanovSpectatorOps why can’t attach files here?
Try again with rename to TXTAttachments:
You must be logged in to view attached files.August 11, 2014 at 3:38 pm #1345Merv BarrettKeymasterHi Nikolay
The issue is you are printing out the post content twice.
Remove from your custom archive-listing.php
get_template_part(‘content’, get_post_format());Remove from youe custon single-listing.php
get_template_part(‘content’, ‘single’);Doing this will integrate the plugin with your theme.
Open your style.css stylesheet and edit line 2139 and add the following post css classes .epl-property-blog and .epl-property-single.
.epl-property-single,
.epl-property-blog,
.post
{
background: #E2EDF3;
background: rgba(226, 237, 243, 0.1);
-webkit-border-radius:4px;
-moz-border-radius:4px;
border-radius:4px;
padding:3px;
margin:3px;
}or wrap the EPL functions inside the
August 11, 2014 at 3:41 pm #1346Merv BarrettKeymasterAlso assign a featured image, add the address details and a price.
Have you added the Listing Templates extension? If so go to Dashboard > Easy Property Listings > Display
There are settings here which allows you to change the page display for the Archive View
http://www.retireorinvest.com/property/Single Property View
http://www.retireorinvest.com/property/home-3-belize/August 11, 2014 at 4:02 pm #1347Nikolay IvanovSpectatorHi Merv
Thank you
I have do it all.
But last can’t understand – where can put this code ::
or wrap the EPL functions inside the
< ?php
if ( function_exists(‘epl_property_blog’) ) {
epl_property_blog();
}
?>August 11, 2014 at 4:08 pm #1348Nikolay IvanovSpectatorAlso here is attach from display= Is it OK ?
Attachments:
You must be logged in to view attached files.August 11, 2014 at 4:27 pm #1350Merv BarrettKeymasterLooking good,
Yes you can change the information layout on that page you attached.
Single Property Templates
Template Type >> They are the new optionsProperty List Archive Page.
Property Card Style >> They are the new optionsAugust 11, 2014 at 4:34 pm #1351Merv BarrettKeymasterarchive-listing.php
if ( function_exists(‘epl_property_blog’) ) { epl_property_blog(); }
Change to
if ( function_exists('epl_property_blog') ) { echo '<article class="post">'; echo epl_property_blog(); echo '</article>'; }
add the same 2 lines to the single.php around this function echo epl_property_single();
Your template is written in php so using
echo '<article class="">';
is inserting that just before the function and then you are closing it withecho '</article>';
- This reply was modified 9 years, 9 months ago by Merv Barrett.
- This reply was modified 9 years, 9 months ago by Merv Barrett.
August 11, 2014 at 5:20 pm #1355Nikolay IvanovSpectatorThanks again
I have do it
Now
archve-listing.php have
/* Start the Loop */
while (have_posts()) {
the_post();
if ( function_exists(‘epl_property_blog’) ) {
echo ‘<article class=”post”>’;
echo epl_property_blog();
echo ‘</article>’;
}
}
single-listing.php have
while (have_posts()) {
the_post();
if ( function_exists(‘epl_property_single’) ) {
echo ‘<article class=”post”>’;
echo epl_property_single();
echo epl_property_blog();
echo ‘</article>’;
}}
Is it OK?
Now think listing view good.
How can I change single view to look like yours. Now is look like not style?
What happens when change Template type? I don’t see difference
What happens when change Property Card Style?August 11, 2014 at 5:31 pm #1356Merv BarrettKeymasterLooking great! However can you give me the specific example of what you want it to look like?
Currently the plugin is adapting to your theme perfectly. You should upload larger images 800px wide at least, that will fill the page well and the thumbnails will be much larger here
http://www.retireorinvest.com/property/Can you reply and provide me with a username / passsword for your site. Just tick the “set as private reply” below
August 11, 2014 at 5:40 pm #1357Nikolay IvanovSpectatorThis reply has been marked as private. -
AuthorPosts
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.
- The forum ‘Basic Support’ is closed to new topics and replies.