Server IP : 66.29.132.124 / Your IP : 18.116.19.19 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/misswavenigeria.com/wp-content/plugins/ombre-features/ |
Upload File : |
<?php $terms = get_terms( 'ombregallerycats' ); ?> <?php if ( ! empty( $terms ) && ! is_wp_error( $terms ) ){ ?> <ul class="ombre-menu"> <li id="ombre-menu-title"><?php echo esc_attr__( 'CATEGORIES', 'ombre'); ?></li> <?php foreach ( $terms as $term ) { $cat_name = $term->name; $cat_id = $term->term_id; $cat_url = get_term_link( $cat_id ); $cat_output = '<li><a href="' . esc_url($cat_url) . '">' . esc_attr($cat_name) . '</a></li>'; print $cat_output; } ?> </ul> <?php } ?>