I’m using theme that has on single page field with “Feautures” and when you click on Feauture it goes to weblink.com/properties_features/feauture where is listed all other apartments that have same feauture. My question is how can i delete link from feauture.
i have this:
// Features
if (!empty(trx_addons_get_post_terms('', get_the_ID(), TRX_ADDONS_CPT_PROPERTIES_TAXONOMY_FEATURES))) {
?>
<section id="<?php echo esc_attr($trx_addons_tabs_id . '_features'); ?>_content"
class="properties_page_section properties_page_features">
<h4 class="properties_page_section_title"><?php echo esc_html($trx_addons_section_titles['features']); ?></h4>
<div class="properties_page_features_list">
<?php trx_addons_show_layout(trx_addons_get_post_terms('', get_the_ID(), TRX_ADDONS_CPT_PROPERTIES_TAXONOMY_FEATURES)); ?>
</div>
</section><!-- .properties_page_features --><?php
}
and this:
// Features
$list = trx_addons_get_list_terms(false, TRX_ADDONS_CPT_PROPERTIES_TAXONOMY_FEATURES, array('hide_empty' => 1));
if (is_array($list)) {
foreach ($list as $id=>$title) {
trx_addons_get_template_part(TRX_ADDONS_PLUGIN_SHORTCODES . 'form/tpl.form-field.php',
'trx_addons_args_sc_form_field',
array_merge($trx_addons_args, array(
'labels' => true,
'field_placeholder' => $title,
'field_name' => "properties_features_{$id}",
'field_type' => 'checkbox',
'field_value' => $id,
'field_checked' => in_array($id, $params['properties_features']),
'field_req' => false
))
);
}
}
if someone could help me i would be gratefull