WordPress.org

Ready to get started?Download WordPress

Forums

List category posts
[resolved] Password protected post titles disappeared from list (6 posts)

  1. aWEBthatWORKS
    Member
    Posted 1 year ago #

    Good morning!
    I'm using this shortcode
    [catlist id=97 numberposts=100]
    to show a list of all the posts in this category. I've just updated the plugin, and now all the password protected ones aren't listed. Is there a parameter I can add to bring these back?

    http://wordpress.org/extend/plugins/list-category-posts/

  2. cedricbenjamin
    Member
    Posted 11 months ago #

    Hello,
    I've got the same issue.
    Did you finally find a solution ?
    Tanks in advance,

  3. ruw8279
    Member
    Posted 10 months ago #

    I've been fighting with this.

    You need to comment some lines in CatListDisplayer.php file inside the includes folder of you catlist plugin.

    This is the portion of coded changed:
    `//Posts loop
    foreach ($this->catlist->get_categories_posts() as $single) :
    //if ( !post_password_required($single) ) :
    $this->lcp_output .= $this->lcp_build_post($single, $inner_tag);
    //endif;
    endforeach;`

    Hope it helps

  4. aWEBthatWORKS
    Member
    Posted 8 months ago #

    Thanks so much ruw8279, that worked perfectly! You've saved the day :)

  5. dkerlee
    Member
    Posted 8 months ago #

    Thanks ruw8279.
    Hope this gets fixed in upcoming releases of this plugin.

    BTW

    excerpt=yes

    will bypass password and display contents of post.

  6. fernandobt
    Member
    Plugin Author

    Posted 7 months ago #

    I added a parameter to show protected posts. It's "show_protected" and it should be set to yes. It will be available on the next release.

    Thanks for reporting this!
    Regards.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic