Hello there! Doing some multi-site development (I still want to call them blogs, gosh darn) that includes about a dozen different “Sites”. Each Site is featured on the home page (/) in a rotator of images of the writer’s faces (one writer per Site). Currently, I’m doing that with some custom PHP using a hook in my theme.
Right now, my options are being stored as PHP arrays, with identification information that duplicates the canonical WordPress options. I’m now rewriting this rotator in a more sustain way, using data from the WordPress sites backend, but the requirement for my project requires me storing a custom string (or two) with each Site.
Looking at the backend, there’s a dump of the wp_X_options table, where X is the ID of the Site. Is there a way to add a field for a custom option to each of those options tables in a sustainable way, such that it’d show and be editable up on that dump? Rather than writing a plugin that acts as an editor for this data, storing it there seems to make the most sense to me.
Thanks in advance for the help!
- The topic ‘Attach a custom string (or two) to each "Site"’ is closed to new replies.