Support » Plugin: Pods - Custom Content Types and Fields » How to display a button only when there is a link

  • Resolved philooowp

    (@philooowp)


    Hello,
    I’ve created a beaver themer template with some content coming from pods.
    And we have 2 links (buttons), and the URL are coming from custom post types, fields created with pods.
    Our problem is that sometimes, one link or both links are not there, in the content.
    I would like to have the button on the page only visible when there is a link, if not, make the button not visible.
    So I’m wondering how to achieve that with maybe a CSS class that we can assign to the CPT (URL) and maybe jQuery, but I can’t find a solution for that.
    Anyone would have an idea ?
    Thanks in advance for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.