Conversation
supportHi! Great plugin! This statement seems to be duplicated: <?php include( ABSPATH . ‘wp-admin/admin-footer.php’ ); WP includes footer by default in all pages. Also, how do we manage tabs within WP admin? http://wordpress.org/extend/plugins/sweet-custom-dashboard/
Hi, can you please give me more details, i’m not having that issue, or at leat i’m not not able to replicate it.
Not the OP but same issue. I just downloaded this plugin today directly through my blog, so it’s a fresh install. Essentially, there is a “Thank you for creating with WordPress Version 3.5 at the bottom of every “screenful” of information. If you only have enough content on the dashboard to keep it without a scroll bar, there’s no duplicated footer ( http://imageshack.us/photo/my-images/6/cudash01.jpg/ – shown at full screen width). If you have enough content for one screen and a bit of another, this is what shows up ( http://imageshack.us/photo/my-images/717/cudash02.jpg/ – notice the dual “Thank you for creating with WordPress Version 3.5” at the bottom). If you have way more content for just one screen, you see this ( http://imageshack.us/photo/my-images/839/cudash03.jpg/ ).
Ok, i see, thanks for the update
Do you know how to fix this?
not yet, but i will! 😉
no response?
I ultimately had to turn it off, it’s just that annoying with the dupe messages.
yes i understand this is pretty bad, but i’ve been very busy and wasn’t able to sort it our for the moment.
hello, Unless the site is modifying or removing wp-admin/admin-footer.php elsewhere , you can remove line 45 from custom_dashboard.php. thanks for the plugin, Remi – great time-saver 🙂
How do we manage tabs within WP admin? Answer: At the beginning of custom-dashboard.php add the following code snippet: <?php $active_tab = isset( $_GET[ 'tab' ] ) ? $_GET[ 'tab' ] : 'Step1_options'; ?> Then replace the following code with the existing code: <h2 class="nav-tab-wrapper"> <a href="?page=custom-dashboard&tab=Step1_options" class="nav-tab <?php echo $active_tab == 'Step1_options' ? 'nav-tab-active' : ''; ?>"> <?php _e( 'Step 1' ); ?> </a><a href="?page=custom-dashboard&tab=Step2_options" class="nav-tab <?php echo $active_tab == 'Step2_options' ? 'nav-tab-active' : ''; ?>"> <?php _e( 'Step 2' ); ?> </a><a href="?page=custom-dashboard&tab=Step3_options" class="nav-tab <?php echo $active_tab == 'Step3_options' ? 'nav-tab-active' : ''; ?>"> <?php _e( 'Step 3' ); ?> </a> </h2> Finally, give a condition as follow: <?php if( $active_tab == 'Step1_options' ) { ?> <div class="changelog"> //First tab options </div> <?php } elseif( $active_tab == 'Step2_options' ) { ?> <div class="changelog"> //Second tab options </div> <?php } else { ?> <div class="changelog"> //Third tab options </div> <?php } ?> And you r done!
Hi, can you please give me more details, i’m not having that issue, or at leat i’m not not able to replicate it.
Not the OP but same issue. I just downloaded this plugin today directly through my blog, so it’s a fresh install. Essentially, there is a “Thank you for creating with WordPress Version 3.5 at the bottom of every “screenful” of information. If you only have enough content on the dashboard to keep it without a scroll bar, there’s no duplicated footer ( http://imageshack.us/photo/my-images/6/cudash01.jpg/ – shown at full screen width). If you have enough content for one screen and a bit of another, this is what shows up ( http://imageshack.us/photo/my-images/717/cudash02.jpg/ – notice the dual “Thank you for creating with WordPress Version 3.5” at the bottom). If you have way more content for just one screen, you see this ( http://imageshack.us/photo/my-images/839/cudash03.jpg/ ).
Ok, i see, thanks for the update
Do you know how to fix this?
not yet, but i will! 😉
no response?
I ultimately had to turn it off, it’s just that annoying with the dupe messages.
yes i understand this is pretty bad, but i’ve been very busy and wasn’t able to sort it our for the moment.
hello, Unless the site is modifying or removing wp-admin/admin-footer.php elsewhere , you can remove line 45 from custom_dashboard.php. thanks for the plugin, Remi – great time-saver 🙂
How do we manage tabs within WP admin? Answer: At the beginning of custom-dashboard.php add the following code snippet: <?php $active_tab = isset( $_GET[ 'tab' ] ) ? $_GET[ 'tab' ] : 'Step1_options'; ?> Then replace the following code with the existing code: <h2 class="nav-tab-wrapper"> <a href="?page=custom-dashboard&tab=Step1_options" class="nav-tab <?php echo $active_tab == 'Step1_options' ? 'nav-tab-active' : ''; ?>"> <?php _e( 'Step 1' ); ?> </a><a href="?page=custom-dashboard&tab=Step2_options" class="nav-tab <?php echo $active_tab == 'Step2_options' ? 'nav-tab-active' : ''; ?>"> <?php _e( 'Step 2' ); ?> </a><a href="?page=custom-dashboard&tab=Step3_options" class="nav-tab <?php echo $active_tab == 'Step3_options' ? 'nav-tab-active' : ''; ?>"> <?php _e( 'Step 3' ); ?> </a> </h2> Finally, give a condition as follow: <?php if( $active_tab == 'Step1_options' ) { ?> <div class="changelog"> //First tab options </div> <?php } elseif( $active_tab == 'Step2_options' ) { ?> <div class="changelog"> //Second tab options </div> <?php } else { ?> <div class="changelog"> //Third tab options </div> <?php } ?> And you r done!