Tagged: IDX, page template
-
AuthorPosts
-
September 3, 2013 at 4:09 pm #28911
So my client wants a Real Estate site – we’re using Enfold. We are also using the IDX plugin. The IDX plugin automatically generates pages for Real Estate agents. The pages that are created, however, are formatted like blog posts. I hid the icon and dashes to make it look less blog like but this will be an issue down the line.
e.g.
http://test.curlyhost.com/homes-for-sale-search/
http://test.curlyhost.com/homes-for-sale-toppicks/EastGrandRapidsWaterfrontHomes/28086/
Any idea on how to fix this? On how to make blog posts be formatted like blog posts and these dynamically created pages to be formatted like pages?
I know you guys don’t support third party plugins, but any thoughts in the right direction would be greatly appreciated.
September 3, 2013 at 8:01 pm #139111Hi andreanapier1985,
I’m not familiar with the plugin but it *should* output a class to the wordpress so that you can style those pages specifically. Unfortunately, it doesn’t.
So there isn’t anything to really grab onto to only style those plugin’s pages. I would suggest looking into their documentation to see if you can use page templates with a specific naming convention to define your own php template file to format them a bit.
Regards,
Devin
September 4, 2013 at 7:15 pm #139112Thanks Devin,
I was able to make an idx.php template based off the page.php (well, pretty much just copied and pasted the entire page.php to make the new template and added /*Template Name: IDX Pages*/ to the top) and was able to set that as the default for any of the dynamically created IDX pages. My issue now is that NOTHING is showing up on the sidebar. Is this because I copied everything from the page.php and brought it into the child theme and I needed to change a few more things around to get it to function correctly? I also included the loop-page.php in the includes folder of the child theme.
http://test.curlyhost.com/open-home-search/
Thanks so much for your help!
Andrea
September 5, 2013 at 5:30 am #139113Hi,
Please try to duplicate the sidebar.php on the child theme. Let us know if the sidebar works.
Regards,
Ismael
September 5, 2013 at 4:44 pm #139114Hmmm, it didn’t seem to fix it.
http://test.curlyhost.com/homes-for-sale-search/ (all of the pages in the very top menu are using the idx.php template now)
I cleared my cache just to be sure.
I can give login info if that would help.
September 5, 2013 at 5:08 pm #139115As long as you have:
//get the sidebar
$avia_config['currently_viewing'] = 'page';
get_sidebar();
?>still in the your new template it should work. If you can post your new template page copy on pastebin or something like that we can take a look.
September 5, 2013 at 9:44 pm #139116Here’s the page template:
And here are the pages that I have in my child theme:
Footer
(footer.php)
Theme Functions
(functions.php)
Header
(header.php)
IDX Pages Page Template
(idx.php)
loop-page.php
Sidebar
(sidebar.php)
Styles
Stylesheet
(style.css)
September 6, 2013 at 2:38 pm #139117Do you have that page set to show a sidebar in the options for it? Do you also have any widgets in your display everywhere/page sidebar widget areas?
September 6, 2013 at 7:24 pm #139118Yes, both in the display everywhere and in the sidebar pages area.
September 7, 2013 at 4:32 am #139119Hi,
I tried this on my end using a child theme and the sidebar shows properly. When editing a page with the idx template, did you properly select the Sidebar on Layout options on the lower right of the editor?
Note: The Advance Layout Editor will not work when using this IDX template. Please switch to Default Editor.
Regards,
Ismael
September 9, 2013 at 1:39 pm #139120I am SOOO sorry. The one widget I HAD placed in there as a test to see if something would pop up was the culprit. When I put a bunch of widgets in the page sidebar, it worked. I guess the IDX plugin didn’t like having one of their widgets on one of their pages and it nixed it automatically. Again, sorry for the extra work on your part.
Thanks so much for your help!
-
AuthorPosts
- The topic ‘Specific IDX problem’ is closed to new replies.