[Resolved] Plugin Layout Issues

Home Forums Support [Resolved] Plugin Layout Issues

Home Forums Support Plugin Layout Issues

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #246807
    Andy

    Hi Tom,

    Sorry to bother you again. I’m trying to get the Easy Property Listings plugin working/displaying correctly.

    On the archive page which appears after doing a property search such as here: http://tinyurl.com/hnhrhca

    I cant get the sidebar to position itself to the right as required. I managed to add a wrapping div around the left content with the classes “content-area grid-parent mobile-grid-100 grid-60 tablet-grid-60” but can’t seem to get the sidebar to behave like it does on a standard page such as here: http://tinyurl.com/zg7h66l

    Any help appreciated.

    #246863
    Tom
    Lead Developer
    Lead Developer

    It looks like you need to make custom template files in your child theme: http://codex.easypropertylistings.com.au/article/95-my-theme-is-requires-unique-configuration-to-the-single-and-archive-templates-how-will-this-work

    So you would copy the files from the GP parent, then make the necessary adjustments to the file name and content functions: http://codex.easypropertylistings.com.au/article/49-theme-setup

    #246960
    Andy

    Thank you Tom I have it working as intended now. I had looked at the docs but some how missed those pages.
    What made things more confusing is in the plugin settings there was a “Theme Compatability” option. When Enabled the archive page looked fine, but the single listing page wasnt quite right. When Disabled as it is now the single listing page looked fine but the archive page didnt work right with the sidebar in the wrong place. Also, I had followed this guide on creating custom templates: http://codex.easypropertylistings.com.au/article/121-how-to-create-your-own-custom-theme-templates-or-modify-existing-ones-using-the-theme-template-loader

    It seems there is two ways of overriding templates and the guide you posted works best for GP.

    #247013
    Tom
    Lead Developer
    Lead Developer

    Awesome, glad you got it all working 🙂

    #289565
    sheik

    Hi Tom,

    I am having similar issue with the eeasypropertylisting plugin. I tried the foll as per the instructions:
    1. copy and rename single.php to single-listing.php to my child theme folder
    2.Modify the line ” <?php get_template_part( ‘content’, ‘single’ ); ?> ”
    to ” <?php do_action( ‘epl_property_single’ ); ?> ”
    3. Copy and rename archive.php to archive-listing.php to my child theme folder.
    4. Modify the line ” <?php get_template_part( ‘no-results’, ‘archive’ ); ?> ”
    to ” <?php do_action( ‘epl_property_blog’ ); ?> ”

    Does not work…help!
    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.