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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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
Results tagged with Search options user 4793

Modifications to theme and plugin files to create new functionality.

3
votes
You can create an action to restrict users from trashing or deleting posts as follows. It's not the prettiest, but it works. You will have to manually populate the user and page ID's. function restr …
answered Sep 25 '11 by Brian Fegter
0
votes
It's a bad practice to update an option on every page load. You should use a constant instead. define('SHOW_SOCIAL_BAR', true); //functions.php if(SHOW_SOCIAL_BAR){ //Do Something }
answered Feb 2 '12 by Brian Fegter
1
vote
You certainly can save the data however you choose using the save_post action. Simply, place this in your functions.php file. add_action('save_post', 'foo_save_custom_post_type'); function foo_save_c …
answered Sep 14 '11 by Brian Fegter
1
vote
I've used GigPress before and it works really well. http://gigpress.com/
answered Feb 28 '12 by Brian Fegter
1
vote
You can hook into the post_row_actions as follows: add_filter('post_row_actions', 'wpse_43281_post_row_actions', 10, 2); function wpse_43281_post_row_actions($actions, $post){ $meta_value = get_p …
answered Feb 23 '12 by Brian Fegter
0
votes
Post ID's do not change. The reason behind this is the ID column in MYSQL is the primary key for the table. It is auto incremented when a new row is added. It is improbable that a post ID would change …
answered Sep 15 '11 by Brian Fegter
16
votes
Cross-site Scripting Issues You cannot transfer WP auth cookies between domains. You also don't want to store plaintext passwords for logging into another WP installation programmatically. So, you'll …
answered Jul 18 '12 by Brian Fegter
1
vote
You can use a fantastic plugin called CDN Linker.
answered Mar 2 '12 by Brian Fegter
1
vote
Just use flush_rewrite_rules(); Documentation here.
answered Sep 22 '16 by Brian Fegter
0
votes
I use this plugin It works dandy for setting different redirects for each role and even user capabilities.
answered Jul 24 '12 by Brian Fegter
1
vote
There are no filters for the plugin's output and this plugin wasn't built as a class (where you could technically extend the class and override the parent methods). If you're wanting to change the fr …
answered Oct 11 '11 by Brian Fegter
1
vote
You should use the save_post action and isolate your operation by checking the post type as this runs on all post types. There is obviously some more logic you will have to build into this to make it …
answered Sep 25 '11 by Brian Fegter
1
vote
I wrote a class specifically for passing data between widgets classes using static variables and it will work for your use case as well. Grab the class here. The way you would use this is as follows …
answered Dec 11 '11 by Brian Fegter