Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Excerpts, Read more, Pagination »

Ugly gallery code in search results

Old Nov 7, 2014, 11:43 AM
60 posts · Jan 2010
(Putting this thread here because I can't find a forum for search)

Atahualpa 3.7.15
WP 4.0

When a search is made on the site it returns a list of results which are configured sort of like a list of excerpts. Except they are not excerpts. If the results are posts which contain gallery code in them, the result is horrific.

Here is an example of a search for the term "slideshow" : http://indonesiaetc.com/?s=slideshow

Is there a way to make this search result look a little less horrible?

In ATO under the "Excerpts" heading there is the option to not parse some types of code, but could that really affect the presentation of search results?
Old Nov 7, 2014, 02:30 PM
lmilesw's Avatar
10,176 posts · Jul 2009
Central New York State USA
Any search I do ends up on the Buy the Book page. Have you tried deactivating all plugins and switching to another theme to see if the problem persists? Have you tried a search plugin?
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
Old Nov 10, 2014, 03:12 AM
24 posts · Jun 2014
Melbourne, Australia
I noticed similar effects with the search function (and archives, etc) where you have a gallery.

I'm pretty sure this is caused by Wordpress truncating the post into an excerpt (as in, the function in WP that does this), which breaks all the gallery code. Specifically it processes the whole page, but then after whatever the excerpt word limit is, the post gets trimmed, and none of the HTML tags are closed.

If you go into the Atahualpa theme options (WP Dashboard->Appearance->Atahualpa Theme Options) and then go into Configure EXCERPTS (under the Posts & Pages section), you can turn off excerpts for the various parts (eg: Search, Archive, etc).

I also have a gallery-heavy site and I've just turned everything to "Full Post" on there.


excepts, excerpt posts, gallery code, search results

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search Results billybatz9 Atahualpa 3 Wordpress theme 0 Jan 31, 2013 05:57 PM
Place Custom Menu Code with CSS & Javascript Looks Ugly GRF Sidebars & Widgets 7 Jul 22, 2012 10:00 AM
Customize Search Results page when "No Results" vCopia Center area post/pages 2 Mar 1, 2011 08:05 AM
search bar results three50seven Header configuration & styling 1 Sep 4, 2010 06:22 AM

All times are GMT -6. The time now is 05:22 AM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.