Possible to replicate economist.com’s debate section in wordpress? [closed]

That section looks extremely feature-rich and very custom. The possibility of just installing several plugins and getting something like that is pretty much zero (in my opinion). WordPress does have building blocks for such functionality: posts and custom post types for information; comments for discussion; scheduling functionality and calendar-related plugins; plugins for relationships between information; … Read more

Creating Tables on Network Activation

I would actually advise against doing that. If you create a table for each blog on network activation you’ll start running into scalability issues. Some Multisite networks are small (2-10 sites) and wouldn’t cause too many issues. But larger networks (1000+ sites) would add a lot to the database if they added their plugin. Instead, … Read more

What plugin will allow me to redirect 404 errors to a specific page?

add these to your function.php add_action( ‘template_redirect’, ‘custom_redirect’, 1 ); function custom_redirect() { $direction = get_permalink( 12 ); // Or whatever the page_id is … if ( is_404() ) wp_redirect( $direction ); } There. But it still not tracking the 404 errors. Unless you add more specific codes in the function which counts all the … Read more

Hide extra menus from WordPress Dashboard

Update As the Answer wasn’t best practice, I replace it with a link to my simple plugin that even does more than the OP needed. You can take it as reference on how to (re)move different things in the admin UI. It’s freely available Open Source Software. I encourage you to fork it. Functionality The … Read more

Set WordPress TinyMCE Editor To Readonly

You can hook into tiny_mce_before_init to modify the TinyMCE arguments to set the readonly attribute. For example (using PHP 5.3): add_filter( ‘tiny_mce_before_init’, function( $args ) { // do you existing check for published here if ( 1 == 1 ) $args[‘readonly’] = 1; return $args; } ); This will make the TinyMCE readonly, however it … Read more