• Resolved gatestar

    (@gatestar)


    Hi I am enjoying the plugin. I am using the tables to display data from a custom table in my WP database. I am wanting to create a hyperlink or button to allow the people seeing the view to delete the record. As these people wont see the backend.

    The only way I can think is with a hyperlink calling a php page passing the row ID as a parameter. Is there another way that you can think off before I try this route.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Kim L

    (@kimmyx)

    Hi @gatestar,

    We’re happy to know you’re having fun with WP Data Access!

    I assume you’re using Data Tables to display your table in the front-end.

    You can certainly try the hyperlink route, but there’s an easier way to allow visitors to delete rows using Data Forms (formerly Data Projects) as this feature allows inline editing. But you will have to enable premium in order to display data forms on the front-end using shortcodes.

    If you’re currently using the free version, let us know how it goes with your method of choice. 🙂

    If you want to try the premium version, you can start a free trial under WP Data Access > Start Trial.

    Hope this helps! Let us know if you have more questions.

    Thread Starter gatestar

    (@gatestar)

    Hi I am on the Pro version. I used the Data Tables as thought this was the only way to connect to my WordPress DB. How do I do this with Data Forms?

    Thanks

    Plugin Contributor Kim L

    (@kimmyx)

    Hi @gatestar,

    Thanks for the response.

    You need to create a project first and then add your table as a page in that project.

    Go to WP Data Access > Form Builder > Create Project > Add New Page (choose your database, table, allow edits, etc) > Submit.

    On your Projects list, you will find the shortcode to add your project to your frontend page.

    I made this demo for you: https://share.getcloudapp.com/WnuZP4Zp

    To learn more about Data Forms and Data Projects, you can check our documentation here: https://wpdataaccess.com/docs/data-apps/data-projects/

    Hope this helps! Let us know if you have more questions.

    Plugin Contributor Kim L

    (@kimmyx)

    Hi there,

    Since there hasn’t been any recent activity in this thread, I’m going to mark this as resolved.

    Feel free to create a new thread if you have other questions.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Hyperlink to delete row’ is closed to new replies.