WPIntell

Source evidence

Duplicated footer statement

Sweet Custom Dashboard · support · 2012-12-20T19:16:00+00:00

complaintsentiment
highseverity
1.0relevance
10replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

1 / 9 rows with source links

11.1% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

8 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
raphaelsuzuki unresolved
Hi! 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!

Comments

10 shown
Remi Corson 2012-12-21T09:24:00+00:00

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.

randomusernamehere 2013-01-14T04:48:00+00:00

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/ ).

Remi Corson 2013-01-14T16:35:00+00:00

Ok, i see, thanks for the update

randomusernamehere 2013-01-14T18:29:00+00:00

Do you know how to fix this?

Remi Corson 2013-01-14T19:27:00+00:00

not yet, but i will! 😉

Malkev 2013-02-27T21:29:00+00:00

no response?

randomusernamehere 2013-02-27T23:08:00+00:00

I ultimately had to turn it off, it’s just that annoying with the dupe messages.

Remi Corson 2013-02-28T10:46:00+00:00

yes i understand this is pretty bad, but i’ve been very busy and wasn’t able to sort it our for the moment.

ramiabraham 2013-04-02T00:56:00+00:00

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 🙂

moviehour 2013-08-02T20:23:00+00:00

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!