- This topic has 4 replies, 3 voices, and was last updated 5 years, 2 months ago by sheik.
November 22, 2016 at 3:27 pm #246807Andy
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 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-setupNovember 23, 2016 at 6:08 am #246960Andy
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.November 23, 2016 at 9:53 am #247013TomLead DeveloperLead DeveloperMarch 9, 2017 at 9:29 pm #289565sheik
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!
- You must be logged in to reply to this topic.