Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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


  #1  
Old Nov 7, 2014, 11:43 AM
markzip
 
60 posts · Jan 2010
Ugly gallery code in search results

(Putting this thread here because I can't find a forum for search)

www.indonesiaetc.com
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?
  #2  
Old Nov 7, 2014, 02:30 PM
lmilesw's Avatar
lmilesw
 
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.
  #3  
Old Nov 10, 2014, 03:12 AM
cefiar
 
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.

Bookmarks

Tags
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 12:08 AM.


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