• Hello,

    I want to create a page on my wordpress website where users can interact with the content.
    Specifically, the process I have in mind is something like this:
    – a table is shown on a wordpress page
    – the user can select a row of it’s own choosing
    – then this row is added to an overview ‘my selected rows’

    I’m looking for a plugin which makes this possible.
    I already found out this can’t be done with tablepress.

    Alternatively, the content doesn’t have to be stored in a table.
    If this is an issue, I can also just add different blocks containing the information from the table.

    However, the main thing is that the user should be able to create his own selection, and view it in an organized way.
    Similar to a shopping cart list from a webshop.

    It there a plugin available for something like this? Or would it be easier if I just used a webshop template? I have been looking on the forum and internet and can’t seem to find any related topics.

    Thanks in advance.

    Best regards

Viewing 1 replies (of 1 total)
  • I started with your thinking too, a table to hold certain information in a neat format, and trying to feed data into that.

    If you’re publishing different rows, or blocks etc I can highly suggest the Repeater field type by Advanced Custom Fields.

    Once you create a new repeater field, you enter and manage the data in it from an edit screen of your choice (i.e. any admin page, post, or other WP designated area) like a control panel, and then save it. Then to get this data onto your front end site, you add the PHP code they have under the heading “template usage” below

    https://www.advancedcustomfields.com/resources/repeater/

    So that code is quite compact and goes into your template file that is behind the particular front end page or post that is displaying the information to your users.

    In a repeater you can nest all sort of sub fields to have specific and differentiated segments of data.

    If you’re not using template files and only Gutenberg check out what ACF has done to integrate with the Gutenberg.

    As for the selecting functionality, I’m not sure. You could ask ACF support though they’re great. Perhaps there’s already be some setup for it.

Viewing 1 replies (of 1 total)
  • The topic ‘user can select items from a table’ is closed to new replies.