Title: hyperlink to values
Last modified: September 1, 2016

---

# hyperlink to values

 *  [Ahir Hemant](https://wordpress.org/support/users/hemant-ahir/)
 * (@hemant-ahir)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/hyperlink-to-values/)
 * Hi
 * I need to add hyperlink to first column values only. how can i do this.
    for 
   example
 * I have table with 5 column and 5 rows now i need to add link to all td which 
   in first column
 * any quick solution ?
 * [https://wordpress.org/plugins/advanced-custom-fields-table-field/](https://wordpress.org/plugins/advanced-custom-fields-table-field/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Johann Heyne](https://wordpress.org/support/users/jonua/)
 * (@jonua)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/hyperlink-to-values/#post-7479423)
 * Just use PHP while rendering the table.
 *     ```
       foreach ( $table['body'] as $tr ) {
   
           echo '<tr>';
   
               $i = 0;
   
               foreach ( $tr as $td ) {
   
                   $i++;
   
                   echo '<td>';
   
                       if ( $i === 1 ) {
                           // cell in first column
                       }
   
                   echo '</td>';
   
               }
   
           echo '</tr>';
       }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘hyperlink to values’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields-table-field/assets/icon-256x256.png?
   rev=1962986)
 * [Table Field Add-on for ACF and SCF](https://wordpress.org/plugins/advanced-custom-fields-table-field/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields-table-field/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields-table-field/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields-table-field/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields-table-field/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields-table-field/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Johann Heyne](https://wordpress.org/support/users/jonua/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/hyperlink-to-values/#post-7479423)
 * Status: not a support question