Show Manual Excerpt on Cat Page and NOT Home Page

Community Forums Forums Design Tips and Tricks Show Manual Excerpt on Cat Page and NOT Home Page

This topic is: not resolved

This topic contains 1 reply, has 1 voice, and was last updated by  suzyo 1 year, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #53783

    suzyo
    Participant
    Post count: 46

    Alrighty. I want to show the manual excerpt on the category page.
    >
    > On the home page (front-page) I am using the blog posts with a read more
    > break, as I have specified that in the Genesis theme settings in the
    > Content Archives field.
    >
    > I have created a category template where I have told it to use a thumbnail
    > image floated left blah blah blah.
    >
    > All is well, BUT…I want to show the manual excerpt here, and can’t
    > figure it out. I want to show the manual excerpt and nothing else, no
    > image from the post, just the MANUAL excerpt. (Remember, I am already
    > successfully using a thumbnail there. I’ll keep that, but don’t want any
    > other image.)
    >
    > Right now I’m using the following to hide the content:
    >
    > ‘ remove_action( ‘genesis_post_content’, ‘genesis_do_post_content’ );
    > add_action( ‘genesis_post_content’, ‘genesis_page_category_content’ ); ‘
    >
    > Here’s a link to what I’m going for, to clarify:
    > http://screencast.com/t/wEZlOFaC3H3Z

    This is a Genesis thing, so please don’t tell me to go read the Codex. I’ve been doing that for days, anyway.
    >
    > Thank you.

    #53832

    suzyo
    Participant
    Post count: 46

    Got the answer from Jennifer at Copyblogger Media support.

    Thank you, Jennifer!

    ‘remove_action( ‘genesis_post_content’, ‘genesis_do_post_content’ );
    add_action( ‘genesis_post_content’, ‘genesis_page_category_content’ );
    function genesis_page_category_content() {
    the_excerpt();
    } ‘

    I added this to a Category template that I had created. Will be doing something similar w Search results.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.