Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
WordPress Plugins allow easy modification, customization, and enhancement to a WordPress blog. Instead of changing the core programming of WordPress, you can add functionality with WordPress Plugins.
1
vote
Accepted
Find out Requires WP tag for a plugin when submitting it
Yepp, if you really only use that hook, that would be the way to go. But it's pretty likely you also use a couple of WP functions...if so, you should check these functions, too, before going too low w …
9
votes
Accepted
Wordpress select dropdown list in widget
See my comment above...you're using get_field_id() on the name-attribute, where it should be get_field_name().
get_field_id() returns 'widget-'.$this->id_base.'-'.$this->number.'-'.$field_name,
where …
0
votes
Accepted
404 errors after plugin options update and category base change
Check the code in wp-admin/options-permalink.php lines 91 to 129 (3.0.5). Compare if you do all that.
17
votes
How to change a user's password programatically
A simple wp_update_user(array('ID' => $userid, 'user_pass' => 'myNeWpaSSword')) will do everything for you - wp_update_user() (Codex).
On a sidenote: are you aware of the Theme My Login (Wordpress Pl …
2
votes
Change default admin page for specific role(s)
Use the Theme My Login plugin.
This plugin themes the WordPress login, registration and forgot
password pages according to your current theme. It creates a page to
use in place of wp-login.php, using …
0
votes
2
answers
131
views
Is there any way to pass messages from a script to a redirect target in a hidden fashion?
I'm trying to pass error messages or regular messages from a page that processes a form post request to the page it then redirects to (after processing).
Since i want to get rid of the POST request h …
1
vote
Accepted
Is there any way to pass messages from a script to a redirect target in a hidden fashion?
Hehe, got it meself, just a little too late, unfortunately, now i have to change half the stuff again...
set_transient(), get_transient() and delete_transient() will be my friends
Edit: More on this …
0
votes
custom uploader in the admin area
Alternatively, you can treat your CSS uploads just like any other attachments and use the attachment manager for that. For instance, introduce a custom post type called 'Stylesheets' and replace the t …
26
votes
3
answers
33k
views
How do i best handle custom plugin page actions?
I'm constantly running into the same annoyance, so i thought i'd see if there's any ideas or experience out there...
I've created a plugin that uses it's own admin page. It has to. Now that i sorted …
3
votes
Accepted
Current class on admin menu using add_submenu_page()
Try this:
add_menu_page(__('My Plugin', 'myplugin'),__('My Plugin', 'myplugin'), 'edit_posts','my-plugin-dashboard','my_plugin_dashboard','icon');
// dashboard submenu - this fails to highlight with …
1
vote
Accepted
Using $wpdb object in a widget
If you really just want a single row, use $wpdb->get_row($sql) instead.
But your query looks funny...it looks like you're trying to get the latest 'client status' for the user in which case your quer …
1
vote
Replace audio/video enclosure with player?
I believe part of what you're looking for is the WP_Embed class defined in wp-includes/media.php. It implements a framework for automatically replacing urls with the output of embed handlers. I'm afra …