How to display sorted posts in the ‘All Posts’ page

I think this is what you want… This isn’t tested so you may have to fiddle with it. in your functions.php file, add something like this : EDIT (2) After rereading, I saw you’re not using custom post types, so i’ll change my code accordingly. I don’t know how to detect when you’re on the … Read more

How to create multiple version of single post

Create another post under same categories with same title but _hi in last of paramlink. Then add one more tag to all your hindi posts, say hindi. Now exclude all the posts of hindi tag from default search or index. Do the same with your English posts. Give an option to opt language on all … Read more

Pull posts from another wordpress install on same server

if it’s the same database, you can write the query easily using the global $wpdb variable. If it’s a separate database, create another instance of wordpress wpdb class & write the queries to it $wpdb2 = new wpdb( $user, $pass, $db, $host ); In any case, you’ll need to know the database tables prefix UPDATE … Read more

How to intercept Post Title on Post-Save

To set the title before it is saved, hook into wp_insert_post_data: add_filter( ‘wp_insert_post_data’, ‘wpse_75597_change_title’ ); function wpse_75597_change_title( $post_data ) { $post_data[‘post_title’] = ‘SOMETHING VERY LOUD’; return $post_data; }