Editing 375 posts simultaneously? Maybe from the database?
Search RegEx is a good plugin to be able to search and replace with Grep through all posts and pages.
Search RegEx is a good plugin to be able to search and replace with Grep through all posts and pages.
maybe this can do the trick? (untested). Note I used contributor role (Thanks to Brian Fegter for pointing this out) function my_remove_meta_boxes() { if (current_user_can(‘contributor’)) { remove_meta_box(‘slugdiv’, ‘post’, ‘normal’); } } add_action( ‘admin_menu’, ‘my_remove_meta_boxes’ );
If you change the DB structure than you are effectively not running wordpress any longer, but your fork of it. This is not always a negative thing to do as long as you are aware that once you do it there is no guaranty that any plugin or theme or future wordpress version will work … Read more
Doing this in PHP is an awful idea: This page is impossible to cache ordering by random is extremely expensive to query, involving creating temporary database tables, and scans, as it has to copy the entire posts table, then randomly re-order the posts, then finally do the actual query on the new table before destroying … Read more
this the default template priority structure for categories: category-slug.php category-ID.php category.php archive.php index.php so if your category slug is “car”, you can add file named category-car.php make sure you resave permalinks after adding the file, if it doest work 🙂 more details here
You should really only need to run this on an existing post, since new posts will be created in the manner you specify. add_action( ‘load-post.php’, ‘custom_content_conversion’ ); function custom_content_conversion() { if (! empty($_GET[‘post’]) ) { // Get the post object $post = get_post($_GET[‘post’]); // If the post object has content, store it in the meta … Read more
Quick tip – never, ever edit WP core files. Updates are released several times a year and you’ll lose your changes, among other reasons (such as security). Your theme and the particular template file in question is what determines how WP search is processed. Assuming no search plugin is active, and your theme is calling … Read more
It is caused by using an old plugin, update all of your plugins. Although your problem is very rare.
It seems your theme (or one of your plugins) has reduced the query to 10 posts per page.Otherwise, changing the option in the Settings page has to change the number of posts per page. Check code of your theme and remove posts_per_page parameter of queries (If queries have been modified, and this parameter was set). … Read more
I’m not sure this is what you’re looking for, but you can use publicize through wordpress to automatically use your blog posts as facebook status updates. Go into your Dashboard, select My Blogs, go to the Publicity column, check Facebook.