Title: Digex's Replies | WordPress.org

---

# Digex

  [  ](https://wordpress.org/support/users/digex/)

 *   [Profile](https://wordpress.org/support/users/digex/)
 *   [Topics Started](https://wordpress.org/support/users/digex/topics/)
 *   [Replies Created](https://wordpress.org/support/users/digex/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/digex/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/digex/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/digex/engagements/)
 *   [Favorites](https://wordpress.org/support/users/digex/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Can I move the wp-config file to another server](https://wordpress.org/support/topic/can-i-move-the-wp-config-file-to-another-server/)
 *  Thread Starter [Digex](https://wordpress.org/support/users/digex/)
 * (@digex)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/can-i-move-the-wp-config-file-to-another-server/#post-4939096)
 * I will change the way I work with wordpress files. I will limit access priveledges
   to ftp and database.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [How do I use wp_register_script() and wp_enqueue_script() functions](https://wordpress.org/support/topic/how-do-i-use-wp_register_script-and-wp_enqueue_script-functions/)
 *  Thread Starter [Digex](https://wordpress.org/support/users/digex/)
 * (@digex)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/how-do-i-use-wp_register_script-and-wp_enqueue_script-functions/#post-5885489)
 * 1. The url [http://bit.ly/1Ea2wqT](http://bit.ly/1Ea2wqT)
    This shows where the
   plugin works, but template is broken.
 * 2. The second url [http://bit.ly/1BuC3mT](http://bit.ly/1BuC3mT)
    This shows 
   where the template works, but the plugin is broken
 * The plugin is Screets X Live chat in the bottom right corner.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Resume Submissions & Job Postings] try to change state of form Resume Submissions](https://wordpress.org/support/topic/try-to-change-state-of-form-resume-submissions/)
 *  [Digex](https://wordpress.org/support/users/digex/)
 * (@digex)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/try-to-change-state-of-form-resume-submissions/#post-4679833)
 * Did you find a solution?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Resume Submissions & Job Postings] How to Edit Form – Which Files to Touch?](https://wordpress.org/support/topic/how-to-edit-form-which-files-to-touch/)
 *  [Digex](https://wordpress.org/support/users/digex/)
 * (@digex)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/how-to-edit-form-which-files-to-touch/#post-4677151)
 * Did you find the file?
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [add an icon to homepage service tab](https://wordpress.org/support/topic/add-an-icon-to-homepage-service-tab/)
 *  Thread Starter [Digex](https://wordpress.org/support/users/digex/)
 * (@digex)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/add-an-icon-to-homepage-service-tab/#post-3944787)
 * I ended up with this.
 *     ```
       <?php $myCounter = 0; $myClass = "tabClass"; ?>
       <?php if (have_posts()) : while(have_posts()) : the_post(); ?>
       <?php
       	);$et_nova_settings = maybe_unserialize( get_post_meta(get_the_ID(),'et_nova_settings',true ) );
   
       $tab_title = isset( $et_nova_settings['et_service_tabtitle'] ) && !empty($et_nova_settings['et_service_tabtitle']) ? $et_nova_settings['et_service_tabtitle'] : get_the_title();
       $tab_subtitle = isset( $et_nova_settings['et_service_tab_subtitle'] ) && !empty($et_nova_settings['et_service_tab_subtitle']) ? $et_nova_settings['et_service_tab_subtitle'] : '';
       $myCounter++;
       $myClass = "tabClass" . $myCounter;
       ?>
   
       <li><a href="#<?php #echo $hash; ?>"  class="<?php echo $myClass; ?>"><strong><?php echo esc_html($tab_title); ?></strong><?php if ($tab_subtitle != '') { ?><span><?php echo esc_html($tab_subtitle); ?></span><?php } ?></a></li>
       ```
   
 * Working like a charm!
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [add an icon to homepage service tab](https://wordpress.org/support/topic/add-an-icon-to-homepage-service-tab/)
 *  Thread Starter [Digex](https://wordpress.org/support/users/digex/)
 * (@digex)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/add-an-icon-to-homepage-service-tab/#post-3944527)
 * Thank-you esmi,
    Thanks for the pseudocode. I still need some help understanding
   the logic. Here goes… Applying a counter variable to the tab loop. Increment 
   for each tab (4 loops) > Add current value to class name.
 * What element or selector is the class applied to. How is it applied?
 * This is my attempt at writing incremental class variable
 *     ```
       class TabClass {
           public static $counter = 0;
   
           function __construct() {
               self::$counter++;
           }
       }
   
       new TabClass();
       new TabClass();
       new TabClass();
       new TabClass();
   
       echo TabClass::$counter;
       ?>
       ```
   
 * Does this need to be included into the existing loop. Do I need to be concerned
   with WordPress syntax? I guess I
    ‘ll find out if it breaks! This is my first
   site. Learning PHP, please bear with me. I’m jumping right in!

Viewing 6 replies - 1 through 6 (of 6 total)