Best choice of options/settings framework for plugin/theme development

My question is what is the best options/settings framework out there now to safely build custom plugin/theme upon? I found the similar question here, but it was asked 7 years ago and definitely, things changed from that time. I used ACF a lot to manage custom meta fields and creating theme options page. The plugin … Read more

Custom widget select options needs to stay selected after save

I am working on a custom widget that includes a select options drop-down list of pages. When I select a page and save, the selected option does not stay selected. However, if I refresh the widgets page, the selected option (page) does show as selected. class slideshow_widget extends WP_Widget { // Main constructor public function … Read more

How to add multiple checkbox elements to media attachments?

Based on solved question from: How to add a checkbox element to attachments editor with example Theres an example of multiple Checkboxes, for example: Colors, patterns, etc… A grouped list but using checkboxes? Tips to save and remember checked options on edit? Thanks in advance. 1 Answer 1 Like @Bainternet said, it is the same … Read more

Deploying Updated or New Plugins That Modify the wp_options Table

I have a WordPress site under local version control with Git. I deploy it to the production server using Capistrano. For the initial deployment, I manually import the SQL database to the production server, and change all the local references by hand. Any content changes are made on the production server from then on. This … Read more

How to use get_option() without any filter?

I’m using the newest WordPress 3.3.1 and newest qTranslate 2.5.27. I have made some an AJAX script which returns a value and message in the current language. Here I get my first problem, I solve it by sending in AJAX lang from qtrans_getLanguage() and using messages with qtrans_use($lang, ‘<!–:pl–>PL message<!–:–><!–:de–>DE message<!–:–>’); I have an wp_option … Read more

Custom style on profile options page

is there any way to style the profile page on wordpress ? I will like to add something like: Start of the page just below the <h2> tag <div id=”normal-sortables” class=”meta-box-sortables ui-sortable”> <div id=”poststuff” class=”metabox-holder has-right-sidebar”> <div id=”post-body”> <div id=”post-body-content” style=”margin-right: 0 !important;”> <div id=”normal-sortables” class=”meta-box-sortables ui-sortable”> Before each opening <table> tag (note “the php_e(‘name’)” … Read more

WordPress (+WPMU) Import/Export ALL settings?

As we all know WordPress does not import Widgets when you import content with [Tools > Import] and I’m wondering what kind of script could do that? Database has more than just 1 single information related to sidebars unfortunately. Another question would be – how to auto-import XML file without WordPress Importer? I’m looking for … Read more

update_option in javascript

So there’s function in wordpress to update a named option/value pair to the options database table: <?php update_option( $option, $new_value ); ?>. And what I’m trying to do implement this function in javascript so when you hit the bottom of the page an option would update. I am using this script to check when you … Read more