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 answers only user 73
1
vote
do_action() does not use a returned value. It works more like the onload event in JavaScript: You cannot undo the load. To change a value you need filters. If you want to change the option content, h …
answered Feb 21 '13 by fuxia
2
votes
The privacy page was removed in WordPress 3.5. Go to wp-admin/options-reading.php and set search engine visibility there.
answered Jan 13 '13 by fuxia
1
vote
Add a new settings section for the reset button that is called on every tab. In the callback function for the field create the reset button. I would include the submit button here too to get both …
answered Oct 15 '12 by fuxia
2
votes
Test the current user’s role with current_user_can( 'administrator' ): if ( current_user_can( 'administrator' ) ) { add_settings_field( /* arguments */ ); // or add_settings_section( /* …
answered Nov 20 '12 by fuxia
4
votes
You are in the wrong settings page. Your site is a multi-site setup; the URL is set in the site manager, not in individual sites. Go to Network Admin/Sites in the My Sites menu: Select a site to …
answered Apr 4 '13 by fuxia
3
votes
add_settings_field() accepts six arguments, the last one is an array of arguments: add_settings_field($id, $title, $callback, $page, $section, $args); You can add custom values here, so you can reu …
answered Sep 29 '13 by fuxia
3
votes
@Otto’s WordPress Settings API Tutorial for some examples. In one of my own plugins I do the same: Public Contact Data. See the method function add_contact_fields() for details. …
answered Jun 11 '12 by fuxia
1
vote
Localize the headings in your initial array: $sections = array( 'notifcations' => __( 'Notifications', 'your_text_domain' ), 'updates' => __( 'Updates', 'your_text_domain' ) ); foreach ($se …
answered Oct 17 '12 by fuxia
8
votes
There is no absolutely safe way to store such information permanently. You have two options to increase security a little bit: Use the options table and encrypt the data Use a strong encryption met …
answered Dec 19 '15 by fuxia
20
votes
Look at the declaration for the function: function add_settings_field( $id, $title, $callback, $page, $section = 'default', $args = array() ) { } The last parameter takes …
answered May 10 '12 by fuxia
1
vote
For beta testing use either a separate domain or at least a subdomain in another directory than your live site. If you absolutely have to use the current setup install a plugin that offers password …
answered May 6 '12 by fuxia