Can I get my profile information as an FOAF file?编辑
How do I get .phps files to show up in colored text on my server?编辑
If you want to have your server display .phps files in color like this updatelinkroll.phps at carthik.net, add the following line to your .htaccess file in the server root directory. This assumes your server is Apache and that you have the ability to add types in .htaccess
AddType application/x-httpd-php-source .phps
Can WordPress power group/collective blogs?编辑
Many users can register and participate on a WordPress blog. You can even assign them different privileges ("User Levels"), so there can be "administrators" and simple "contributors". For more information see User Levels.
Where can I find more about the functions and how they relate to each other?编辑
Can I alphabetize my posts on the front page or in categories?编辑
Will my WordPress blog show up in search engines?编辑
Can I have a blog in a language other than English?编辑
How do you get cruft free URIs for search results?编辑
To return clean URIs for search results in WordPress from the search form (www.example.com/search/searchterms instead of www.example.com/?s=searchterms)
First create a file called search.php which contains:
<?php header('Location: http://www.example.com/search/' . $_GET['s']); ?>
Put that file in the root of your WordPress install and alter the action for the search form to this:
action="<?php bloginfo('url'); ?>/search.php"
- [wp-hackers] Rewriting search URL
- LMAO ~ Search URI behaviour
- WordPress Support Forum "search clean url - no ?s="
- Nice Search Plugin
How can I do a bulk edit of the Status field for all the posts in my database?编辑
Use the following SQL commands to change the post_status for every post in your wp_posts database table. This command will do the bulk change and exclude Pages from being changed--remember to replace STATUS with draft, private, or publish.
UPDATE wp_posts SET post_status = 'STATUS' WHERE post_status != 'static';
If you have multiple authors and only want to do a bulk edit of just one author's post, you can use the following command, but remember to replace NUMBER with the correct ID number of the post_author.
UPDATE wp_posts SET post_status='STATUS' WHERE post_author='NUMBER';