• Resolved trolldental

    (@trolldental)


    HI There, I’m sure you’ve had this message a million times before so apologies upfront.

    I have installed the WP-DB-Table-Editor plugin and added the demo function to my functions.php (changing the table and title names off course) but I could only get the table to show when I removed part of the example function. If I use only the following part of the function I can view the table and the title shows in my menu but unfortunately there are no editing capabilities:

    if(function_exists(‘add_db_table_editor’)){
    add_db_table_editor(‘title=Affiliates&table=wp_affiliate_wp_affiliates’);
    }

    Could you please tell me what i am doing wrong as I need to be able to edit one of the columns on a regular basis.

    Many thanks in advance.
    Chris.

Viewing 1 replies (of 1 total)
  • Thread Starter trolldental

    (@trolldental)

    Hi there, I just fixed my issue, I had not set the id_column name in the function ‘id_column’=>

    All works perfectly now.

    Beat regards.

Viewing 1 replies (of 1 total)
  • The topic ‘New To WP-DB-Table-Editor’ is closed to new replies.