WordPress.org

Forums

Webcomic
[resolved] Need to remove post content from searches, leaving title only (5 posts)

  1. frankentoast
    Member
    Posted 5 years 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/

  2. Mike
    Member
    Plugin Author

    Posted 5 years ago #

    Try adding the following to your theme style.css file:

    body.search .comic .entry,
    { display: none; }

  3. Mike
    Member
    Plugin Author

    Posted 5 years ago #

    Sorry, try this one: body.search .comic .entry { display: none; }

  4. frankentoast
    Member
    Posted 5 years 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.

  5. frankentoast
    Member
    Posted 5 years 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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Webcomic
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic