Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the copy-the-code domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pb-seo-friendly-images domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the johannes domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121
Make the Statistics section clickable in the cPanel Jupiter theme - PC✗3
Make the Statistics section clickable in the cPanel Jupiter theme

Make the Statistics section clickable in the cPanel Jupiter theme

Jupiter is the name of the new default cPanel theme, and one of the annoying things on this new theme is that the Statistics section on the right has no clickable links.

image - Make the Statistics section clickable in the cPanel Jupiter theme

To make the section clickable open the theme file

nano /usr/local/cpanel/base/frontend/jupiter/tools/index.tt

Find the Statistics section and add the links:

image 3 1024x143 - Make the Statistics section clickable in the cPanel Jupiter theme
<a ng-if="::app.url" id="lnkstats_{{::app.id}}" class="app-name" href="{{::app.url}}">{{::app.description}}</a>
<span ng-if="::!app.url" id="lblStatsName_{{::app.id}}" class="app-name">{{::app.description}}</span>

To also display the percentage bar bellow each section, add:

<!-- end limits-wrapper -->
<div class="progress" ng-if="::app.showPercent">
   <div id="progressbar_{{::app.id}}" class="progress-bar" ng-attr-style="width:{{::app.percent}}%"></div>
</div>
image 2 1024x109 - Make the Statistics section clickable in the cPanel Jupiter theme

The end result:

image 1 - Make the Statistics section clickable in the cPanel Jupiter theme
whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.