Support » Plugins and Hacks » [Resolved] wp database tables

[Resolved] wp database tables

  • Hello Brett,
    Hope you had a good easter.

    I have a question for you to do with the database.

    I hope you don’t might but i got asked to add custom fields so i went ahead and edited all the files to add:


    Everything looks good except im just getting this back:


    i have found the tables in the db where i need to add in the extra fields but there is a bit of the code im not sure about

    wp_options table

    i:0;s:12:”[staff-name]; etc….

    what is the s:12 ????

    some use the same number others are different. so where is it getting that number from ?

    Ricky 🙂


Viewing 3 replies - 1 through 3 (of 3 total)
  • I might be something else.

    when i go make to _staff_listing_default_tags the ones i have added are not there no more?

    the same happens to _staff_listing_default_tag_string

    where have i gone wrong ?


    FIXED IT 🙂

    it wasnt in the db at all. i just forgot to add them to the admin-install-uninstall.php file.

    you can have the code if you like

    Plugin Author Brett Shumaker


    Sorry I wasn’t around to help you get to the answer but I’m glad you got it worked out.

    Yeah, the entries in the WordPress database from the options api are serialized arrays, which is why they look so weird.

    Again, glad you got it worked out! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] wp database tables’ is closed to new replies.