Tagged Questions
-1
votes
0answers
15 views
Reset Button for Custom Plugin (reset to default settings with php not using settings api)
I have a custom plugin I am creating for wordpress in php. It's simple one with whitelabeling functions. I am trying to create a reset button. I know how to create the field. I think I can do it by ...
0
votes
1answer
65 views
Filtering a Database Query
In a WP_List_Table example I'm using, I am seeing how to make a general query to the wp_options table in the Wordpress database.
For example, $query = "SELECT * FROM $wpdb->options";
I also see ...
1
vote
0answers
84 views
How to store options in an array
I am creating a custom table to display selected options for a page called "Testimonials". The user will enter their options on a "manage testimonial settings" page, and then those options will ...
1
vote
1answer
399 views
Enqueue Javascript Correctly for 3.5
I am trying to create tabs for admin settings page in wp, but I think I'm doing it wrong. The example below shows how I did it but I don't know how to change this to use it correctly with no conflict ...
0
votes
1answer
158 views
Page Options Saving But Not Updating In Backend
I have created a custom options page for a slider that you can upload slides to. Everything works great except when trying to save the data. It will get saved and I can use it on the front end. But ...
0
votes
1answer
79 views
is it possible to force wordpress to always save thumbnails as 'jpg' not 'png'
I cant see any settings and cant see much in the php api docs regarding this?
for instance if the original file upload is a png wordpress converts to jpg
1
vote
1answer
83 views
Woo Framework: woo_cat_featured not populating
In framework settings:
$options[ 'featured_cat' ] = array( "name" => "Featured Category",
"desc" => "Featured Posts will display in the main rotator on the homepage.",
...
0
votes
1answer
197 views
How can I increase the post count for custom post types only?
I have the page count set to the default 10 in my reading settings menu.
However, I use my template archive.php file for all post types, including posts and books
How can I change the loop so that ...
9
votes
3answers
5k views
How to get WordPress Time Zone setting?
Can someone tell me how to get the time zone that is set in the WordPress Admin?
For example, if the blog is set to Eastern time, I need this exact string to print out:
US/Eastern
This is for a ...
1
vote
1answer
409 views
problems with wordpress and php version 5.3.3-1
I recently installed a server with new php version - 5.3.3-1 and when I imported wordpress site and database, there were some problems with plugin settings - some of them were reset. In pagenavi ...