- This topic has 4 replies, 3 voices, and was last updated 7 years, 1 month ago by sheik.
-
AuthorPosts
-
November 22, 2016 at 3:27 pm #246807Andy
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.
November 22, 2016 at 8:01 pm #246863TomLead DeveloperLead DeveloperIt 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
November 23, 2016 at 6:08 am #246960AndyThank 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-loaderIt seems there is two ways of overriding templates and the guide you posted works best for GP.
November 23, 2016 at 9:53 am #247013TomLead DeveloperLead DeveloperAwesome, glad you got it all working 🙂
March 9, 2017 at 9:29 pm #289565sheikHi 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 -
AuthorPosts
- You must be logged in to reply to this topic.