remove theme’s name from dashboard .. How?

Your options are to hide the right now widget or to change the theme name in style.css To remove the right now widget that shows the theme name. To change the theme name open style.css and change the theme name in the header. If your using the WordPress file editor activate another theme before you … Read more

Add custom row to welcoming in dashboard

Yes it’s quite possible, there’s a filter hook in place so we can add our own links in, adjust the following code as necessary.. add_filter( ‘admin_user_info_links’, ‘custom_admin_user_info_links’ ); function custom_admin_user_info_links( $links ) { $links[] = ‘<a href=”http://www.google.com”>Example link</a>’; //$links[] = ‘<a href=”http://wordpress.stackexchange.com”>Another example</a>’; return $links; } Hope that helps.

Extending the user profile [closed]

I second what @Viruthagiri said. You can also use the plugin Theme My Login if you want to hide the real WordPress control panel from your users and only show them their own profile/edit profile page, themed just like your site. Best of luck!

how to render dashboard widgets conditionaly in wordpress admin

// PHP 5.3 syntax – anonymous functions (Closures) add_action(‘wp_dashboard_setup’, function(){ if(current_user_can(‘activate_plugins’)){ // Administrator wp_add_dashboard_widget(‘dbwidget-Administrator’, ‘#Administrator’, function(){ // Print widget here }); }elseif(current_user_can(‘delete_others_posts’)){ // Editor wp_add_dashboard_widget(‘dbwidget-Editor’, ‘#Editor’, function(){ // Print widget here }); }elseif(current_user_can(‘delete_published_posts’)){ // Author wp_add_dashboard_widget(‘dbwidget-Author’, ‘#Author’, function(){ // Print widget here }); }elseif(current_user_can(‘edit_posts’)){ // Contributor wp_add_dashboard_widget(‘dbwidget-Contributor’, ‘#Contributor’, function(){ // Print widget here }); }elseif(current_user_can(‘read’)){ … Read more

hook for dashboard show_user_profile

show_user_profile is the wrong hook to use. You should redirect before anything gets sent to the browser (eg. before headers are sent). Fortunately there are actions that happen much earlier: load-{$pagename} is the one you want. So you can hook into load-index.php and load-profile.php to throw people back to the front end. <?php add_action( ‘load-profile.php’, … Read more

Dashboard RSS Widget Overhaul

I edited default-widgets.php – function wp_widget_rss_output () but it’s still not showing any changes. There is NO NEED TO MODIFY CORE FILES!!!! Especially with dashboard widgets where a very extensible API as been provided by WordPress. PS: I’m using WPMUDEV Dashboard Feeds plugin. This plugin changes the widget_options so that I can show my own … Read more

Adding dashboard widgets to show – custom post type stats, information from other plugins

You can get a little more fancy, but this should get you started. add_action( ‘right_now_content_table_end’, ‘wpse_3809’); function wpse_3809() { $types = get_post_types( array( ‘_builtin’ => false ) ); foreach( $types as $type ) : $num_posts = wp_count_posts( $type ); $num = number_format_i18n( $num_posts->publish ); ?> <tr> <td class=”first b b_<?php echo $type; ?>”> <a href=”https://wordpress.stackexchange.com/questions/38098/edit.php?post_type=<?php … Read more

Customizing the dashboard page or post overview

I use a version of the following, to add text to the top of the Page (edit.php?post_type=page): // Show message when viewing pages function page_AdminMessage() { showMessage(“You are now viewing the Pages”, false); } if ($_GET[‘post_type’] == ‘page’) { add_action(‘admin_notices’, ‘page_AdminMessage’); } Which just needs to be added into functions.php.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)