frankentoast
Member
Posted 1 year ago #
I'm using Webcomic plugin with WordPress 3.0. I have comics set up and also blog posts. My archive lists posts by title only, which is great. My search results come up with the title AND the body of the posts (which is "..." for each one).
Is there a way to remove the body of 'comic' posts on the search results page, but leave the body of 'blog' posts on the search results page?
See what I mean:
http://frankentoast.com/archive/ archive page - only subjects showing
http://frankentoast.com/?s=jew search page - search yielding comic posts only, with "..." body showing
http://frankentoast.com/?s=the search page - search yielding comic and blog posts together
http://wordpress.org/extend/plugins/webcomic/
Try adding the following to your theme style.css file:
body.search .comic .entry,
{ display: none; }
Sorry, try this one: body.search .comic .entry { display: none; }
frankentoast
Member
Posted 1 year ago #
That sounded really good, but I tried putting it in style.css and no change. I also tried body .search .comic .entry { display: none; } but no change. Any other ideas?
Also, more information: I am using the inkblot theme, and making changes to the style.css in the inkblot-child folder.
frankentoast
Member
Posted 1 year ago #
This ended up doing the trick:
.search .comic .entry { display: none; }
Now to fix some spacing issues that brought to my attention. Thanks mgsisk!