Merv Barrett

Forum Replies Created

Viewing 15 posts - 2,041 through 2,055 (of 2,073 total)

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

  • Author
    Posts
  • in reply to: Listing Templates #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, 7 months ago by Merv Barrett.
    • This reply was modified 9 years, 7 months ago by Merv Barrett.
    in reply to: Listing Templates #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

    in reply to: Listing Templates #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/

    in reply to: Listing Templates #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


    in reply to: Listing Templates #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, 7 months ago by Merv Barrett.
    in reply to: Realia Theme #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

    in reply to: Realia Theme #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”]

    in reply to: EPL templates files #1317
    Merv Barrett
    Keymaster

    Can you try re-freshing your permalinks? Go to

    Dashboard > Settings > Permalinks and just press save. See if that clears your 404

    in reply to: EPL templates files #1308
    Merv Barrett
    Keymaster

    Great, am currenty working on an update that adds a few more template options

    • This reply was modified 9 years, 7 months ago by Merv Barrett.
    in reply to: EPL templates files #1306
    Merv Barrett
    Keymaster

    What you see at the demo site is included in the free version of the plugin. The houses on the left are created with the EPL – Listing widget.

    in reply to: Background Color, Verbage Change #1305
    Merv Barrett
    Keymaster

    Hi Greg,

    Can you submit a link to your site as there shouldn’t be a background color. But the answer is yes by adding some basic CSS. Once you give me the link I can give you exact instructions on how to change the CSS for your theme.

    I had not thought about 1/2 bathrooms, will add this ability in the next update. As will add monthly to the rental options

    in reply to: EPL templates files #1282
    Merv Barrett
    Keymaster

    No Problem helping, if you get a chance would love a review on WordPress http://wordpress.org/support/view/plugin-reviews/easy-property-listings

    If any other issues, let me know

    in reply to: EPL templates files #1279
    Merv Barrett
    Keymaster

    All Fixed,

    When you uploaded the files they were named archive-listing[1].php and single-listing[1].php once i removed the [1] from both filenames the templates integrated correctly (the plugin could not recognise the files with the [1])

    in reply to: Translation for portuguese #1276
    Merv Barrett
    Keymaster

    Hi Paulo

    I think…. bit i think you need to save the .mo file eg epl-pt_BR.mo into the languages folder. The .pot file is the instructions to the .mo file about where all the elements are in the plugin.

    Once you have dropped the .mo file into the languages folder you need to enable your WordPress translations in the wp-config.php file and change the WPLANG like this

    define(‘WPLANG’, ‘it_IT’);

    but for Brazilian it is i guess

    define(‘WPLANG’, ‘pt_BR’);

    Really sorry for the lack of response to you, (not cool on my part, but learing to use bbPress as a forum is almost like another course) 🙂

    PS i’m 1/2 Brazilian on my Mum’s side from Governador Valadares 🙂

    in reply to: Translation for portuguese #1273
    Merv Barrett
    Keymaster

    Hi Paulo

    Sorry for the delay in response. We’re using bbPress and i thought it would send email notifications once someone posts a topic, like commens work… not so. I’ve added a plugin to infomr me when topics are added.

    Are you using the beta version? This is required for translations to work, however i’m new to translations myself.

    can you zip up your translations file and attach it here so i can add to the next version due this week

    Thanks!

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

Viewing 15 posts - 2,041 through 2,055 (of 2,073 total)