The options tag has no wiki summary.
2
votes
2answers
1k views
Get category slug and display it on a query_post
I just read "How to create option page for wordpress theme" in wp.tutsplus.com - I have a problem with getting categories .
there is two parts to my question
- Part A - Get category slug and ...
1
vote
2answers
36 views
options creation for plugins
I am new to wordpress and learning to create plugins.
I want to know how wordpress itself create options in 'wp_options' table for plugin during plugin installation or activation?
How wordpress decide ...
0
votes
2answers
40 views
Wordpress options text format
Wordpress converts my theme options text with smart quotes.
I know that to remove problem from posts etc:
remove_filter('the_content', 'wptexturize');
remove_filter('the_excerpt', 'wptexturize');
...
0
votes
2answers
80 views
Creating on-page options for Custom Post Type
I'm creating a plugin for creating Landing Pages.
I use custom post type and custom fields for the landing pages, but i need to add some on-page options for each entry. For example i need to have a ...
0
votes
2answers
112 views
How to store accumulate multiple option values in a single array using Options_API
I have created an option array that stores a series of options, along with their values. The problem is that I want to ACCUMULATE these options and store them in the options database. Meaning I would ...
0
votes
2answers
64 views
update_option using variable name
Title may not be clear but I'm using update_option($my_option, $new_order); and for some reason it would not work but if instead I change to update_option('my-option-name' $new_order); it works.
I ...
0
votes
2answers
167 views
Get data from Theme Options and use them into meta options field in custom post type
I want to grab data from my theme options and have to use them in meta option fields in custom post types. I know how to grab theme option data and show them on front pages but don't know how to grab ...
3
votes
1answer
131 views
Define Wordpress image size in img tag
Is there a way to output a image in a pre-determined size (Ie; using add_image_size) using just the img tag?
For example, how can I make sure that the image that is echoed using this tag is the exact ...
1
vote
1answer
57 views
Full page (no WP admin menus and options) admin theme options
I'd like to drag and drop functionality into one of the admin pages and I've been wondering about the best way to implement it: an iframe or something else?
What I'd like is: Once the use choose the ...
1
vote
1answer
31 views
Transients API conditional
I have the following transient, but if the user changes the value of $url the transient should not be used. I want to know what is the most appropriate way to use this variable with the transient. ...
1
vote
1answer
45 views
How to Call pages from a Options Panel
Need a little bit of help here. I am adding this dropdown to my options panel. However, when I call my option in my template. It does not display
Here is the function for the dropdown:
function ...
1
vote
1answer
112 views
API for wp menu hacks
Question changed due to new developments!
I was loooking for a way to hack the menu items in the custom menu page to add a "hide" checkbox and other options. The only way I found is to override the ...
0
votes
1answer
22 views
Same theme with different settings
i have a wordpress website.. (no multi site or anything) just one simple worpdress website..
i have a theme which comes with many options which are shown in the admin area..
Changing the settings ...
0
votes
1answer
27 views
Options page for widget
I started developing a plugin which only required a few options. But over time the number of settings grew, and I want to move most of them to a separate page. I've seen quite a few tutorials about ...
0
votes
1answer
20 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 ...
0
votes
1answer
49 views
Incorporating the Settings API in WordPress Themes - by Chip Bennet
I am using the code by Chip Bennett to create a settings options page for my plugin. The problem is that I am getting a Warning error as indicated below that I cannot figure it out. Any help is ...
0
votes
1answer
363 views
NHP Theme Options Framework
I have a small problem, I downloaded and installed great program NHP theme options framework, I have no problem with the configuration of individual options, but I have a problem with calling them. ...
0
votes
1answer
159 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 ...
-1
votes
1answer
81 views
Error: options page not found
This error is really well known and every where I look its either I am not doing:
<form method="post" action="options.php">
or I am not registering my options, which is not the case as seen ...
3
votes
0answers
211 views
How do I extract the Alt Text from an image attachment upload via the Wordpress Options Framework Plugin?
I'm currently creating a custom WordPress theme and using the WordPress Options Framework plugin to make a custom options page for my client. I'm able to easily create an image upload option and can ...
2
votes
0answers
52 views
Tab from Settings API resetting all options with INSERT INTO
I have an Options menu created with the code from Chip Bennett tutorial, the old code, though, the one from like a year ago (the new one has a much better validation structure, but still, it works ...
1
vote
0answers
85 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
0answers
144 views
WP-Super-Cache - generate cache programmatically
I wonder if there is possibility to generate WP-Super-Cache programmatically after the cache is being purged ( after I have published a new post ). I thought of writing some kind of crawler that will ...
0
votes
0answers
10 views
Reuse form function of widget in an option page
Can I reuse the form function of a widget in an option page to use it to store default values for the widget and its shortcode?
0
votes
0answers
34 views
How can I update options with javascript?
I'm writing a plugin with an admin screen. I have a set of radio buttons to select the tabs on the plugin's admin page. I also have a 'last_tab' option that allows the administrator to pick up where ...
0
votes
0answers
21 views
After added two section to theme options, I can't save the content
I added a section for my options, everything works fine. I added a new section (social) and after that I can't save the content of the "General Options" form. The business section is working. Where is ...