Realia Theme

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

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

  • Author
    Posts
  • #1321
    graphill
    Spectator

    Hi,

    I have installed the easypropertieslistings plugin and I am experiencing issues with the properties page layout. Any help you can give me on this would be greatly appreciated. If you need any other files just let me know.
    Files attached.
    Thanks,
    Grant.

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

    Hi Grant,

    I’ve seen this format before. Not WordPress standard but the clue to the theme is the page.twig file.

    single.twig
    page.twig

    There should be a folder in there called /twig

    Inside the twig folder you should see the templates in a different format and php syntax.

    ### Note: I’m not sure of the extension format in the info below. EXT

    single.EXT
    page.EXT
    index.EXT

    What you need to do is replicate the format for the single.twig format file.
    call it single-listing.EXT

    Inside that insert Easy Property Listings Single template function.

    single-listing.php

    archive-listing.php

    Now your single-listing.php and archive-listing.php should look like the page.php and single.php files, except this file should look like this.

    single-listing.php
    echo View::render(‘single-listing.twig’, array(
    ‘wp_query’ => $wp_query,
    ‘posts’ => $wp_query->posts,
    ));

    Need to see how the archive/index.php is generated to give exact instructions, basically a template of the loop. It’s most likely the same.

    Can you supply your WordPress / FTP details in a private reply.

    NOTE: Check your theme documentation for how to make changes to the theme using a themes child theme. This will prevent you losing your changes on an update.

    Solution for the archive page.

    Create a page called for-sale and add use the built in shortcodes.
    [listing post_type=”property”]

    #1335
    Merv Barrett
    Keymaster

    The properta theme uses a similar format to the Relia theme with these .twig files. In the Properta theme they are located in the /templates directory in the parent theme.

    The properta theme has archive-agent.twig and archive-agency.twig, replicate one of these files for the archive-listing.twig files

    #1344
    graphill
    Spectator
    This reply has been marked as private.
    #1354
    Merv Barrett
    Keymaster

    Happy to help Grant, let me know once you have a live demo.

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

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