Listing Templates

Tagged: 

Viewing 13 posts - 1 through 13 (of 13 total)

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

  • Author
    Posts
  • #1333
    Nikolay Ivanov
    Spectator

    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 you

    Nikolay

    #1337
    Merv Barrett
    Keymaster

    Hi 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, 8 months ago by Merv Barrett.
    #1339
    Nikolay Ivanov
    Spectator

    Hi 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

    #1340
    Nikolay Ivanov
    Spectator

    Ops why can’t attach files here?
    Try again with rename to TXT

    Attachments:
    You must be logged in to view attached files.
    #1345
    Merv Barrett
    Keymaster

    Hi 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


    #1346
    Merv Barrett
    Keymaster

    Also 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/

    #1347
    Nikolay Ivanov
    Spectator

    Hi 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();
    }
    ?>

    #1348
    Nikolay Ivanov
    Spectator

    Also here is attach from display= Is it OK ?

    Attachments:
    You must be logged in to view attached files.
    #1350
    Merv Barrett
    Keymaster

    Looking good,

    Yes you can change the information layout on that page you attached.

    Single Property Templates
    Template Type >> They are the new options

    Property List Archive Page.
    Property Card Style >> They are the new options

    #1351
    Merv Barrett
    Keymaster

    archive-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 with echo '</article>';

    • This reply was modified 9 years, 8 months ago by Merv Barrett.
    • This reply was modified 9 years, 8 months ago by Merv Barrett.
    #1355
    Nikolay Ivanov
    Spectator

    Thanks 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?

    #1356
    Merv Barrett
    Keymaster

    Looking 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

    #1357
    Nikolay Ivanov
    Spectator
    This reply has been marked as private.

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

Viewing 13 posts - 1 through 13 (of 13 total)
  • The forum ‘Basic Support’ is closed to new topics and replies.