• Resolved lostearstudio

    (@lostearstudio)


    pastorfriend.org

    I have a blog page plus three pages on each of the three locations under events, Brazil, Rwanda, and Uganda. If you look at the blog page, you can see a short excerpt of the post under the post title in this list of posts. But if you look at any of the three location’s pages, you can only see a large title of each posts and that’s it.

    How do I get the location’s pages to look like the blog pages?

    I need to be able to show excerpt of the posts so I can use that to make a easy and quick list of events for visitors to scan for basic details and then click through for more information.

    I did a search on this and I keep finding people having the opposite problems, they was trying to change from excerpt to full post or the other way around. Can’t find anything quite like my issue so far. I also accidently posted this at wordpress.com forum so you might find my post over there with the same content.

    Thank you

    :EDIT: forgot to mention that I am using WP Filter Post Category plugin to control which page shows which categories. Trying to tweak this plugin to fix this absence of except :EDIT:

Viewing 4 replies - 1 through 4 (of 4 total)
  • Howdy,

    Did you check the plugin options? I don’t have time to install it and test, but looking at the plugin code real quick:

    if (get_option('merlic_filtercategory_show_as') == 'excerpt') {
                        $content = $mypost->post_excerpt;
                        $content = apply_filters('the_excerpt', $content);
                        $output .= '<p>'.$content.'</p>';
                    } else {
                        $content = $mypost->post_content;
                        $content = apply_filters('the_content', $content);
                        $output .= '<p>'.$content.'</p>';
                    }

    Seems it is looking at an option setting to determine whether to show excerpt of content.

    Also… not sure why you’re not getting at least one of the two. Have you made changes to the plugin on your end?

    Take care,
    Paul

    Thread Starter lostearstudio

    (@lostearstudio)

    I did nothing to the plugin itself. When I try to generate the shortcode, I can’t see any codes attributed to displaying full post or excerpt. Though I can make the full post or the title show up, I need excerpt.

    this is what I see
    [wp_filter_posts cat=”9,6,8,7″ limit=”” title_style=”h1″]

    but I do not see how I can make it show except.

    suppose I change the ‘the_content’ in the code you posted to ‘the_excerpt’?

    Thank you so much for your help

    Thread Starter lostearstudio

    (@lostearstudio)

    Found an alternate plugin that apparently showed up recently. WP posts filter

    This just worked for me. The only issue with this plugin now is the spacing between the posts in the page.

    Thank you for helping me.

    Howdy,

    I’m thinking your posts do not have specific excerpts added to them, and you want excerpts automatically generated from your post content?

    You need to either:
    1. Add specific excerpts to your posts.
    or
    2. Ask the plugin author to alter the plugin to auto generate excerpts.

    It’s not hard using the_excerpt(), but that needs to be in a proper loop, as it works on the current post. This plugin isn’t creating a proper posts loop, or you could just change a few lines.

    Good luck,
    Paul

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Page with category not showing excerpt in post listings’ is closed to new replies.