Can’t access ‘Store uploads in this folder’

This is a very good question. The answer to the referenced post requires a change to the WP options. They are stored in the database in the wp_options table (assuming wp_ is your prefix). There are a few ways to change these in this case: Direct DB access: if you’re comfortable modifying the WP DB … Read more

Custom theme options Radio inputs not saving

Why isn’t the following option getting saved? Because the database option name (the second parameter for register_setting()) is aa_myoption, hence the input name has to be aa_myoption or in the array notation like aa_myoption[my_field]: <input name=”aa_myoption”> <!– like this –> <input name=”aa_myoption[my_field]”> <!– or this –> Secondly, when you retrieve the option value and when … Read more

Settings API get_option best practices

Is there a better, more efficient way – considered a “best practice” – to approach this? Yes! Storing structured data in a single option is bad practice. You should use the option name to seperate your data. Otherwise by using arrays and objects, WordPress cannot store those in the database, so it has to turn … Read more

Help running a MySQL query to update all wp_#_options tables in a Multisite install

Got a partial solution, but requires VPS to run it as shared hosting has a restriction on what you can do with a cursor. Anyway, DROP PROCEDURE IF EXISTS `update_all_options`; DELIMITER // CREATE PROCEDURE update_all_options( IN db varchar(255), IN theoption varchar(255), IN set_val VARCHAR(255) ) BEGIN DECLARE table_val VARCHAR(255); — Declare variables used just for … Read more

General Setting Allow Multiple Email Notification

It’s not really a WP-specific solution, but if you set up a Gmail address (and likely others), you could create a filter to automatically forward notifications generated by WordPress to other admins. Short of WordPress adding multi-email notifications, that might be a workaround to temporarily solve the problem.

wp_user_roles and Advanced Manipulation

I figured out that I needed to recreate the user account and its permissions. I made a YT tut on it because of the lack of support everywhere on this type of problem. youtube.com/webenvelopment Hope this helps someone else.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)