• Resolved KarenVChtf

    (@karenvchtf)


    I installed and activated the plug in. What next? How do I insert a table into a page? I’ve tried, but I don’t understand this direction: “DB-Table Editor Interfaces are added by calling the add_db_table_editor function in your theme’s functions.php file. This supports wp_parse_args style arguments.”
    btw I’m using Foundation Theme by Organized Theme

    https://www.ads-software.com/plugins/wp-db-table-editor/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bobbysmith007

    (@bobbysmith007)

    > “DB-Table Editor Interfaces are added by calling the add_db_table_editor function in your theme’s functions.php file. This supports wp_parse_args style arguments.”

    If you are uncomfortable following that direction (and the rest of the readme), I fear this plugin maybe a bit much for you, as it assumes quite a bit of knowledge about php, sql and wordpress.

    To answer your question directly though:

    Each wordpress theme can contain a functions.php file that allows execution of arbitrary php before your theme is loaded. Inside of that file you will need to call the add_db_table_editor(Array('table'=>'my_table'...)) filling in all the arguments (as described in the readme). You will probably want to wrap all calls to add_db_table_editor in if(function_exists('add_db_table_editor')) incase you ever deactivate the plugin (examples in the readme).

    Hope this helps,
    Cheers,
    Russ

    Thread Starter KarenVChtf

    (@karenvchtf)

    Oh, so much gobblygook to me. Hmm TablePress seems much easier to use and although it’s not editable on screen, it will at least show my table with search and download capabilities. Let me know if you ever make this plugin more friendly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Next step after installing and activating the plug in’ is closed to new replies.