If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
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.
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 #139111
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.
DevinSeptember 4, 2013 at 7:15 pm #139112
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.
Thanks so much for your help!
AndreaSeptember 5, 2013 at 5:30 am #139113
Please try to duplicate the sidebar.php on the child theme. Let us know if the sidebar works.
IsmaelSeptember 5, 2013 at 4:44 pm #139114
Hmmm, 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 #139115
As long as you have:
//get the sidebar
$avia_config['currently_viewing'] = 'page';
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 #139116
Here’s the page template:
And here are the pages that I have in my child theme:
IDX Pages Page Template
(style.css)September 6, 2013 at 2:38 pm #139117
Do 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 #139118September 7, 2013 at 4:32 am #139119
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.
IsmaelSeptember 9, 2013 at 1:39 pm #139120
I 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!
The topic ‘Specific IDX problem’ is closed to new replies.