The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
11 views

Wordpress Deadlock Error

I see more of this error these days in error_log. I see that someone asked this question here a year ago but no solution. Please advise what is causing this issue. Already, tried deactivating some ...
0
votes
1answer
28 views

Cannot unserialize Wordpress serialized values in `wp_options` table?

I have nav_menu_options in my Wordpress database as below. 284,'nav_menu_options','a:2:{i:0;b:0;s:8:\"auto_add\";a:0:{}}' I tried to deserialize this value but the result is empty string - I put a ...
0
votes
0answers
28 views

How to create a new database table whenever user changes options

I'am new to wordpress plugin development and I'am stuck in developing menu for my plugin. By going through documentation and many sites i created following menu. But i want to create a new table in ...
0
votes
1answer
16 views

Custom Role accessing the wp-option table

I'm using a plugin that create an additional record in the wp-option. Everything is great with the admin account, the record can be save and update. But I'm stuck with allowing one of the custom role ...
0
votes
0answers
18 views

Store custom taxonomy option data in option table

Iam stuck in middle of thing that how could i store custom field data in option table of custom taxonomy. Actually i have a csv file and i want to save those data in custom taxonomy with the help of ...
0
votes
0answers
24 views

How to import wp_options rows from Wordpress admin?

Is there any plugin, script or solution to importing rows from wp_options into another Wordpress site via the Wordpress admin? For example import a .sql file that has the rows needed that upon ...
1
vote
1answer
75 views

get_option() is not working even db contains the corresponding option_name and option_value

First of all, this is not a plugin specific problem. I wonder why this might happen? I am using @bainternet's Tax Meta Class for saving Taxonomy Meta using the options table. I uploaded my contents ...
0
votes
0answers
77 views

How to save array of objects in wp_options table?

I am creating a Wordpress plugin, where I need to save data in following format in wp_options table: array ( array( 'product_name'=> 'iPhone', ...
0
votes
1answer
256 views

Save and user submitted data from a form and display them in the wp backend

My question is very simple but the answer I'm not sure if will be that simple. I'm developing a website for a non-profit organization where people can fill out a form containing questions usually ...
1
vote
1answer
40 views

Creating a one click demo importer

edit: I've re-written this because it is unclear, apologies it was written rushed on a Friday afternoon. Wordpress has import/export functionality for posts within wordpress, I am a theme developer ...
0
votes
2answers
148 views

WP CLI to set options

I have WP-CLI working fine using WP Multisite (or network). I can create blogs, add users, set permissions etc. But am not certain how to enable plugins for individual blogs via WP CLI. For example, ...
0
votes
1answer
88 views

shopping cart plugin development

I'm developing a new shopping cart plugin for WordPress. At a point, how to save orders, I am stuck, sort of confused. Actually I am not sure whether I should save order through options api or create ...
0
votes
1answer
67 views

Options table - where does my values go?

I just got my hand into wordpress and wp theme development. I know to create basic wordpress themes from scratch but I wondered how to get into custom theme options. My custom theme options (custom ...
0
votes
1answer
93 views

How do I add a value to a wp_options option that is an array?

What is the best way to add an option value to a registered option in wp_options that is an array? With phpmyadmin i see the option_value field is ...
0
votes
0answers
29 views

Saving plugin options page

As I understood, default mechanism of saving options on plugin admin settings page (submitting form to options.php) allows to update only WordPress options (get_option, etc). But I have 2 values to ...
0
votes
0answers
141 views

WP_Query on “property” in the options table

I'm quite new to WP and I hope this question isn't seen as too specific. It's not entirely bound to my little "pre story". I'd really like an answer to this question for future cases as well. I get ...
3
votes
1answer
181 views

wp_options table value

I am trying to understand a wordpress behaviour. When I add a tag in the admin panel mysql does a sequence of queries. Essentially: update wp_terms update wp_term_taxonomy and udate wp_options with ...
1
vote
1answer
480 views

What is _transient_random_seed for?

This is a very short question. _transient_random_seed is in wp_options. What is it for?
0
votes
2answers
140 views

WP_Options high

I have a site where the options_id field in the wp_options table have grown very, very large. After a month and a half after the installation the auto_increment value is now at over 10 million. ...
1
vote
2answers
36 views

Would it be dangerous to send all the wp_options to javascript file?

I've noticed that wordpress allows me to send the wordpress options to javascript via wp_localize_script: wp_localize_script( $this->plugin_slug . '-plugin-script', 'wp_options', ...
0
votes
0answers
92 views

Add images functionality not working as wanted

I achieved this structure in wordpress admin panel. I am using wordpress option api to save and retrieve data from option.php . All I want to do is on every click of add more image button one more ...
0
votes
0answers
1k views

Creating custom theme options page

I am creating a theme for a client and it has a custom front page that has a slider and displays the services they offer. I am looking to add an options page where the client can easily update the ...
1
vote
1answer
53 views

Does auto_load to 'no' in wp_options improve performance

I am trying to improve the performance of a wordpress based blog. I am looking at wp_options table and am thinking to set the column auto_load to 'no'. Does it have any side-effect on the site ...
0
votes
1answer
68 views

Image link issues after importing a database backup to my local web server

I am pretty new in WP (I came from Joomla) and I have the following problem trying to import an old WP blog (made using WP 3.5) on my local web server. I have put the old blog foder into my www ...
1
vote
0answers
12 views

After migration of an old WP blog on my local web server I obtain white screen, why? is it a wp_options DB table problem? [duplicate]

I am pretty new in WP (I came from Joomla) and I am finding some difficulties in the migration of an old WP website (made inWP 3.5) on my local web server. I have performed the following operation: ...
1
vote
1answer
718 views

Save wp_editor() content as option

I'm having some troubles with a extra feature i'm writing for my theme. The admin should be able to make some special posts, those posts are stored as an option. The options are atored as an array ...
0
votes
0answers
121 views

Share content between two different sites in same domain

I am trying to accomplish something weird... I have a client who wants to have two different sites to share the same content (some post types and pages). I warned him about SEO problems, but he still ...
0
votes
2answers
898 views

update a value in wordpress wp_options

I am trying to modify a plugin and in which i require to update a value in wp_options which has multiple values . My option_name is ws_mem_options and the option_value has values such as in ...
0
votes
1answer
509 views

How Do I create multiple Top Level Admin Menu Pages To submit data to the options table?

I am trying to create more than one top level options page in my wordpress theme. But right now I can only save the data for one. How can I save the data for two without having to create tabbed ...
0
votes
1answer
271 views

WP Options Query “Rewrite Rules” Taking 10 Seconds After Testing wp_insert_post( )

Suddenly one of my test sites became absolutely unresponsive after testing with wp_insert_post( $my_post ) I Installed the black box plugin and checked what queries are slowing it down I found one ...
0
votes
1answer
100 views

Wordpress setup one database with two different website?

Hello Friends I want to setup two website first.com and second.in that are different domain and server. I want to a same data base in both site with the same content. means we enter new posts in ...
0
votes
1answer
25 views

How to delete orphan userdata from array in wp-options

I have an option that subscribes members to forum email notifications. The list of emails is in an array as an option value. All is working fine and all subscribing and unsubscribing is done using ...
0
votes
1answer
66 views

Blogname and Blogdescription in Pagelines DMS Options Panel

I am attempting up set up a front end options panel in the pagelines-dms framework, from which users will be able to change the blogname and blogdescription. So far I have set up the form which has ...
2
votes
1answer
163 views

Site Title and Tagline in Pagelines DMS Options Panel

I'm using the Pagelines DMS Theme and I'm wanting to extend the functionality of the front end admin panel. The user(s) I'm building this for would like to be able to edit a few settings directly from ...
2
votes
1answer
976 views

Delete option value from array using update_option()

I have a user profile field which subscribes the user to forum posts by email. This adds the user's email address to an array in wp-options. Naturally I want the user to be able to unsubscribe, in ...
0
votes
1answer
28 views

Subscription list function

I have created a function which automatically adds users with the role of contributor to a list in which they will receive forum (modified mingleforum plugin) updates by email. My problem is that the ...
0
votes
0answers
30 views

Trouble adding data to options table

I am trying to create a function that adds an option containing a subscription list to the options table. (This list is eventually referenced by a plug-in.) I am having some problems as there are two ...
0
votes
1answer
34 views

Adding data to options table

I am currently tweaking a plugin so that all "contributors" (here referred to as "players") are automatically subscribed to a forum. I basically want to subscribe everyone with the role of contributor ...
0
votes
1answer
35 views

How to find an option in the database?

As far as I can tell, the plugin that I'm using is saving options to the wp_options file: ### New global settings container, will eventually be the only one! $cformsSettings = ...
9
votes
4answers
198 views

This CSS Stuffing Works, But Is This A Good Practice?

I am trying to include a dynamic css in my plugin, I have been searching anywhere but doesn't find any case that is similar to what I do. And what I use to do it is by adding a css file directly into ...
0
votes
2answers
273 views

Accidentally deleted active_plugins portion of the wp_options DB table

Ok, so I'm pretty sure I'm screwed here, because I do not have a database backup, but I figured I'd ask just in case. Within PhpMyAdmin, I meant to just go to the wp_options table and empty out ...
0
votes
2answers
601 views

Auto approve all comments (editor)

I unchecked both options in the discussion area (so the one where they need a post to comment and administrator has to approve), but still, my users can't put their comments without me approving it. ...
-1
votes
1answer
301 views

Options.php loop won't show!

I'm creating an options panel for a theme on my localhost that's stored within the options.php file. My options panel will have two main loops. The first is to list the different sections and the ...
0
votes
1answer
88 views

What could cause a WP Option to get truncated?

I have a WP plugin, where all admin setting field values were suddenly changed to the letter 'a'. All settings are stored in one 'big' option in the table. Seemed like the serialization gone wrong. I ...
0
votes
1answer
74 views

Comment Blacklist

I have a list of words that I placed in my blacklist_key option values update_option( 'blacklist_keys', $words);. But I still can make a comment with such words. Any ideas? I can't answer my question ...
10
votes
2answers
1k views

How come `wp_options` table does not have an index on `autoload`?

In the beginning of each page served by WordPress, there is a MySQL call to fetch options: SELECT option_name, option_value FROM wp_options WHERE autoload = 'yes'; Because there's no index on ...
0
votes
3answers
302 views

Display random image url from list of input values

I have created an options page in my WordPress theme that allows the user to input a url/upload an image to an input field. The field has the name headerimage_options[image] and when it is populated ...
10
votes
1answer
784 views

Using jQuery to delete data stored in wp_options

I wonder if anyone could advise me further on my problem. Part of my plugin stores log files for debugging purposes. I have successfully displayed them in a (div#log) in my admin page using jquery ...
0
votes
1answer
234 views

accessing wordpress serialized data outside wp

I've never worked with serialized data... I need a little help with how to load "text" widgets title and content in php script outside wordpress... my script just connects to database (including ...
0
votes
1answer
814 views

Wordpress Options Page not working

So, I need to add a custom options page, and based on as many tutorials I could find, I came up with the following code to create an officers & chairs options page for my group, mainly, so I can ...