• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

To achieve User generated Deletion of Post

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › To achieve User generated Deletion of Post

This topic is: not resolved

Tagged: Ajax, CPT, jquery, post

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 3 months ago by vajrasar.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 13, 2013 at 8:41 am #78797
    vajrasar
    Member

    What we have >

    > working CPT as "Classifieds"
    > name, contact numb and email of user who posts classified, stored in db (via gravity forms)

    What we need >

    > a method by which user can initiate delete request for a classified that he/she posted

    Idea to implement >

    > We can put a button called "Ask to Remove" on each post (of cpt)
    > when user will click on it, a popup should appear, asking for his/her name, contact number and email that they used while posting that classified.
    > if the 3 parameters are correct, post should show "Deal Closed" (in place of "Deal Open" text, mentioned in posts)
    > if parameters don't match, a custom message should be shown.

    Can anyone please suggest of how this can be achieved, since we believe this will require some ajax/jquery methods. Thanks for any help!


    I make WordPress websites using Genesis Framework.

    WordPress/Genesis Development | Customizations

    http://udaipurtimes.com/classifieds
    December 14, 2013 at 12:32 am #78994
    Sridhar Katakam
    Participant

    Wouldn't it be simpler to just let users submit a classified form to the CPT AFTER they are logged into the site so that they can delete/unpublish their submissions (CPT entries) themselves (after logging in) ?

    Justin Tadlock's Members plugin makes it possible to create new user roles and assign just the right capabilities.


    Genesis Tutorials | Follow me on Twitter

    December 14, 2013 at 1:18 am #78999
    vajrasar
    Member

    @sridhar: As of right now, we do not want user to log in. We are planning something else for future, when we will have much more stuff for user to do, when he logs in.

    So, right now, we need something where user can just use the interface without being logged in.


    I make WordPress websites using Genesis Framework.

    WordPress/Genesis Development | Customizations

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble