CODEX: How do I get map on top of Property page

Easy Property Listings WordPress Real Estate Plugin Forums Extensions Advanced Mapping CODEX: How do I get map on top of Property page

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

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

  • Author
    Posts
  • #1514
    jrundle
    Spectator

    Hi

    How do I get this plugin to show up at the top of the listings page (property) – saw this on other websites as examples – so thought it happened automatically.

    What do I need to do

    Thanks
    Janet

    #1515
    Merv Barrett
    Keymaster

    Hi Janet,

    Thanks for your purchase.

    Its not automatic as every theme behaves differently. What theme are you using and what is your site URL?

    All it takes to get it on a page is the shortcode. Either through a widget or written in the php of the theme. Happy to assist you.

    There are 2 ways.

    Add a shortcode if your theme supports a full width widget eg:

    [advanced_map post_type="rental" limit="30"]

    or copy the template file from
    plugins/easy-property-listings/lib/templates/themes/default/archive-listing.php
    into your child theme folder.

    then edit that php file then use the do_shortcode() function where you want the map to appear.

    eg

    <?php echo do_shortcode('[advanced_map post_type="rental"]'); ?>

    Again happy to assist you as we want to make this as easy as possible for you and future users. There are sooooooooo many different themes available which makes it really difficult for automatic addition.

    • This reply was modified 9 years, 7 months ago by Merv Barrett.
    • This reply was modified 9 years, 7 months ago by Merv Barrett.
    • This reply was modified 9 years, 7 months ago by Merv Barrett.
    #1519
    jrundle
    Spectator

    Hi Merv

    Have just tried it but not working not sure how to code it

    You previously helped me with the single archive listing – copy attached

    Could not get the complete coding off the comment above

    Thanks

    #1520
    jrundle
    Spectator

    reuploading as text file

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

    Hi Janet,

    Just this line after this line<div id="content-area" class="clearfix">

    <?php echo do_shortcode('[advanced_map]'); ?>

    I’ve done it to the attached. However that line may need to be above/below the next div. Depends on the theme, are you still using the Elegant Theme Divi? If so you may have a easier time using the Page Builder.

    Create a layout for the Listings and add a fullwidth module. insert the shortcode in there. Then no modifications should be needed to the archive-listing.php.

    This seems to work like iThemes builder which allows easy adding of the full width. Using the archive file will limit your design options.

    I can assist better if you provide me your WP site details (use a private reply)

    (adjust the shortcode options) like here.
    http://easypropertylistings.com.au/extensions/advanced-mapping/

    Attachments:
    You must be logged in to view attached files.
    #1524
    jrundle
    Spectator

    Thanks – this has now been fixed.
    Janet

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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘CODEX: How do I get map on top of Property page’ is closed to new replies.