Hi this is the code to the wordpress shown tags:
<label><?php _e('Tags', PLSH_THEME_DOMAIN); ?>:</label>
<?php
foreach($tags as $tag)
{
echo '<a href="' . plsh_assamble_url($shop_page_url, array('product_tag=' . $tag->slug), array('product_tag')) . '"';
if(plsh_get($_GET, 'product_tag') == $tag->slug) echo 'class="active"';
echo '>' . $tag->name . '</a>';
}
?>
I want to make this shown as drop-down menu but I can not figure it out :( can someone help me pls
Paste this code to functions.php end echo anywhere you want. You can also make shortcode with: add_shortcode( 'NAME TO DISPLAY', 'displayLocationDropdown' )'. Please also look at comments.
Would you please try above code?