0

I have come across a theme that has a way of having multiple options in the option_value field.For instance,in the theme,one can perform the Create,Read,Uodate and Delete functionalities on such fields as

-image url

-link url

-description

The wp_options has the following fields:

option_id / blog_id / option_name / option_value / autoload

How is this being done?.

1 Answer 1

2

I found a way to do that. This is how to Consolidate Options with Arrays described in this article

http://striderweb.com/nerdaphernalia/2008/07/consolidate-options-with-arrays/

Related question: How do you store options with a:n:{{}} syntax in wp_options?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.