Support » Plugin: User Submitted Posts » Allow users to delete ONLY their own posts?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Also i wonder if there can be a
    place/page where all user submitted post or all posts are shown and also numbered vertically??

    For example: a page where all the posts wld be seen in a list much like in this ” screenshot


    The place i circled in red should be where the “DELETE button/link” should be ..and it should ONLY be visible to the user who created the post


    any code for this maybe?…or plugin suggestion.

    Plugin Author Jeff Starr

    (@specialk)

    Glad to help:

    “Any code snippet or thingy that would Allow users to delete ONLY their own posts?”

    There are two possible ways:

    1) The user is logged in when they submit the form AND have sufficient capabilities for editing, deleting, or whatever they need to do. Then later after submitting the post, they can log back in to WP and edit via the “Edit Post” screen.

    2) The other way is to use a front-end editing plugin to enable the users to make changes to post content on the front end. Here is a list to give you some ideas:

    https://plugin-planet.com/usp-pro-enable-users-edit-posts-front-end/

    Note that list is kind of old and written for USP Pro, but it also applies in general to the free version.

    Plugin Author Jeff Starr

    (@specialk)

    For your next question:

    “Also i wonder if there can be a place/page where all user submitted post or all posts are shown and also numbered vertically??”

    Sorry it is not a current feature of the plugin. Best advice would be to ask your theme developer for help to display posts however is necessary. Submitted posts are handled by WP just like regular posts, and include a custom field named is_submission that can be checked in the theme template, so you can tell which posts are submitted. Other than that, the submitted posts are identical to regular WP Posts, and thus will be displayed by your theme however regular posts are displayed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.