• Resolved Lomic

    (@lomic)


    Hello all,

    I’d like to know how to prevent UM from displaying post excerpts which access is limited to registered users on the Posts page.

    I’ve set it to display excerpt but it shows too much of the posts which access is restricted.

    I would like UM to behave like this :

    – If the user is not logged in, displays excerpt of only public posts on Posts page.
    – If the user is logged in, diplays excerpt of all posts on Posts page.

    Thanks for your help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @lomic,

    Please see the documentation on content restrictions:

    https://docs.ultimatemember.com/category/175-content-restriction

    Thanks.

    Thread Starter Lomic

    (@lomic)

    Thanks for your answer.

    But my Posts Page is empty when viewed in WordPress editor. I only have the ability, with UM tools on the right column to choose if the entire page is available to everyone, to logged-out users or to logged-in users.

    I don’t see how to use the content restriction methods listed in the link you’ve provided on that particular page.

    (and same goes to archives widget, but I am not sure I will use it).

    Thanks for your help.

    • This reply was modified 7 years, 8 months ago by Lomic.
    Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @lomic,

    Unfortunately, UM does not have the functionality to control the excerpts of page/posts content. You can try looking into customizing the plugin to achieve this.

    Thanks.

    Thread Starter Lomic

    (@lomic)

    Hello,

    I don’t want to control excerpts, I just want them to be displayed accordingly to the UM privacy setting of their respective post.

    Does it means that every site in the world using UM is not using “Posts Page” which is a basic feature of WordPress ? I find it really surprising.

    Should I make a custom post page with a call to latests posts inside [um_loggedin] and another one inside [um_loggedout] ? Which would be rather weird because the timeline would be messed up. Or two columns, one which would be empty if you are not logged in?

    A messy workaround in my opinion :-/

    Thread Starter Lomic

    (@lomic)

    Ok I figured out how to display excerpts of posts both private and public whithout displaying too much of the private ones : put the “More” tag in the right spot and it is ok ??

    Sorry for bothering you with a dumb question ??

    • This reply was modified 7 years, 8 months ago by Lomic. Reason: flag
    Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Thanks for letting us know!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Posts page displays all posts including private ones’ is closed to new replies.