Plugin to hide admin menu (vertical menu bar)
Have you looked at the WP Custom Admin Bar plugin? At the very least it has some code chunks you can deconstruct to point you in the right direction.
Have you looked at the WP Custom Admin Bar plugin? At the very least it has some code chunks you can deconstruct to point you in the right direction.
Search for plugins: http://wordpress.org/extend/plugins/simple-twitter-connect/ and http://wordpress.org/extend/plugins/simple-facebook-connect/ and http://wordpress.org/extend/plugins/simple-google-connect/ All require applications be built at each service for different levels of interaction with a WordPress site, including automatic excerpt posting (except for G+), tweeting and linking.
You could check the user role when loading your metabox. //get user $user_id = get_current_user_id(); $user = new WP_User($user_id); //check user role if($user->roles[0] == ‘administrator’ || $user->roles[0] == ‘editor’) { //add your metabox here } That way the metabox is only added to the post for editor’s and users, you’ll probably want to wrap your … Read more
Does your file-server have an error log in the WP Directory? I would start by turning on the DeBug and error reporting via the wp-config file. Open your wp-config and add this from the WordPress Codex Debugging page if it’s not already there: // Enable WP_DEBUG mode define(‘WP_DEBUG’, true); // Enable Debug logging to the … Read more
If you store the password in the PHP, it will be accessible to anyone who has the PHP (i.e. anyone who has the plugin). If you store it in the database, it will be accessible to anyone who has direct access to the database (i.e. anyone who installs the plugin and knows how to use … Read more
It is possible to filter the get_bloginfo(), but you’ll have to find a way to fine tune the conditional, because the override is global… add_filter( ‘pre_option_blogname’, ‘wpse_58030_override_blogname’ ); function wpse_58030_override_blogname( $bool ) { // If not page with ID == 28, do nothing if( !is_page( 28 ) ) return false; // Change the ‘blogname’ return … Read more
There is a plugin called – Clean Options which promises to remove all unused entries from wp_options table. NOTE – that plugin hasn’t been updated for 2 years, you must do backup before using it. To remove all data manually You have to manually look into database for unused tables or rows and use the … Read more
I had to do the same thing. I used the JSON API plugin and had to create a new controller for JSON API that read the specific data out of the tables that All-in-One created. Unfortunately there really were not the right calls in the calendar plugin to access all the data (or at least … Read more
Having done some research into WordPress logins in the past, this is one of the few (possibly only?) tuts I could find where the author actually created a new login/register form. http://digwp.com/2010/12/login-register-password-code/ Even so, he still uses the generic WordPress wp-login.php code. Re-coding the entire process is a big task. If you dig into theme-my-login … Read more
Drop in add_filter( ‘the_content’, ‘widont’ ); (and the same for the_excerpt if required). This’ll apply the function to the post content in addition to the title (the_title).