My contact form is working nicely at http://ccgi.thehusses.plus.com/contact-us/
I have installed the Search Pages 2.0 plugin, but am finding that when this page comes up as the result of a search, e.g. here, the contact form is not appearing, but rather a paragraph containing the field names and drop-down values.
Have I goofed somewhere?
March 6, 2005
Thanks for the detailed environment info Richard!
I think it has to do with how Search Pages 2.0 processes the searched for & found data. It seems as if this plugin reads the post's content and strips out the html. If this is the case and Search Pages 2.0 is not configurable to display the full information than there is little you (or I) can do about that.
I've tried disabling the Search Pages plugin and putting the contact form in a post rather than a page, with the same results. It appears from the code that all Search Pages does is intercept the normal Wordpress search functionality and alter the WHERE clause so pages are included as well – no munging of the HTML over whatever is built into Wordpress.
March 6, 2005
The same behaviour can be in fact be seen with your other posts as well, they all loose the HTML when displayed as a search result (or simply when being displayed as an archive snapshot: category and time based, just click on a month to test).
So it's not the search plugin, but it may be related to the way the WP theme handles it.
Aha! It turns out the theme was using the_excerpt() rather than the_content() in search results and archive pages. Duly tweaked, and all working.
Very sorry for bothering you. Quite new to this Wordpress thing.
Most Users Ever Online: 959
Currently Browsing this Page:
Guest Posters: 3731
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6400), Nicky (3)