Skip Navigation

[Resolved] Dropdown Link not showing or working

This support ticket is created 4 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 reply, has 1 voice.

Last updated by chrisC-25 4 years, 5 months ago.

Author
Posts
#1657499

I have a dropdown button with links, the links do not show or work.
Example:
hidden link

Here is code

<h1>[wpv-post-title]</h1>
<span class="artist-name">[wpv-view name="songwriters-view"]</span>

<p></p>
[wpv-conditional if="( $(wpcf-pivot-link)  ne '' )"]<a href="[types field='pivot-link' output='raw'][/types]" class="btn btn-info" target='_blank' role="button">BUY OR LISTEN</a>[/wpv-conditional]
<!-- Split button -->
[wpv-conditional if="( $(wpcf-pivot-link)  eq '' )"]<div class="btn-group">
  <button type="button" class="btn btn-info">Buy or Listen</button>
  <button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    <span class="caret"></span>
    <span class="sr-only">Toggle Dropdown</span>
  </button>
  <ul class="dropdown-menu">
    [wpv-conditional if="( $(acf_amazon)  ne '' )"]<li>&ensp;[x_icon type="amazon"][types field='amazon-link' title='Amazon' target='_blank'][/types]</li>[/wpv-conditional]
    [wpv-conditional if="( $(acf_itunes)  ne '' )"]<li>&ensp;[x_icon type="apple"][types field='apple-link' title='Apple Music' target='_blank'][/types]</li>[/wpv-conditional]
    [wpv-conditional if="( $(wpcf-spotify-link)  ne '' )"]<li>&ensp;[x_icon type="spotify"][types field='spotify-link' title='Spotify' target='_blank'][/types]</li>[/wpv-conditional]
    [wpv-conditional if="( $(wpcf-artist-store)  ne '' )"]<li>&ensp;[x_icon type="dot-circle-o"][types field='artist-store' title='Artist Store' target='_blank'][/types]</li>[/wpv-conditional]
    [wpv-conditional if="( $(acf_cmg)  ne '' )"]<li>&ensp;[x_icon type="dot-circle-o"][types field='record-label-store' title='Label Store' target='_blank'][/types]</li>[/wpv-conditional]
    [wpv-conditional if="( $(wpcf-amazon-url)  ne '' )"]<li>&ensp;[x_icon type="dot-circle-o"][types field='record-label-store' title='Label Store' target='_blank'][/types]</li>[/wpv-conditional]

  </ul>
</div>[/wpv-conditional]
<br>
<br>
#1657503

My issue is resolved now. Thank you!