????JFIF??x?x????'
| Server IP : 172.67.174.47 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././home/./tempvsty/pontiacques.org/wp-content/themes/slide/views/utils/ |
Upload File : |
<?php
/*only for archive pages*/
$templates_to_match = array(
'template-events-all.php',
'template-events-past.php',
'template-events-upcoming.php',
'template-photo-gallery.php',
'template-videos.php',
'template-discography.php',
'template-artists.php'
);
if (is_page_template($templates_to_match)) {
if (SLIDE_SWP_show_custom_cat(get_the_ID())) {
$tax_name = SLIDE_SWP_get_tax_name_by_page_template(basename(get_page_template()));
$args = array('taxonomy' => $tax_name);
$terms = get_terms($args);
if (count($terms) > 0) {
?>
<div class="lc_post_meta lc_cpt_category cpt_post_meta lc_swp_full">
<span class="meta_entry lc_cpt_category archive_cpt_category">
<?php
foreach($terms as $term) {
$term_url = get_term_link($term);
?>
<a href="<?php echo esc_url($term_url); ?>">
<?php echo esc_html($term->name); ?>
</a>
<?php
} /*foreach*/
?>
</span>
</div>
<?php
}
}
}