CRUD plugin for Wordpress

Asked

Viewed 2,175 times

0

Someone knows a tool (plugin) that allows you to customize CRUDS simple and access them in the wordpress interface?

2 answers

1

It is not an interface, but only pointing here that it is not necessary any plugin to make generic Cruds within Wordpress. The system uses a global class called $wpdb that already brings with it an open connection to the bank, so just use it as you would use a PDO instance, for example.

Example of the Codex:

<?php
    global $wpdb;

    $wpdb->query( 
        $wpdb->prepare( 
            "DELETE FROM $wpdb->postmeta
             WHERE post_id = %d
             AND meta_key = %s
            ",
            13, 'gargle' 
            )
    );

In the same way that you can run queries against the standard WP tables (as in the example) you can run against any other table that is in the same database.

  • In this sense there is a very interesting explanation here: https://gist.github.com/ericjuden/5136638 But, in fact, I was looking for plugins.

0

  • None free, right?

  • in fact none of those I mentioned is free... as the question did not make any specification in this regard, I thought paid options would also be worth the answer =)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.