• Resolved vaccinemedia

    (@vaccinemedia)


    I have a file / media field for uploading pdf file downloads to a custom post type / jetengine type called case studies. I have also added a download widget plugi which allows me to have a button which links to the URL of the PDF dynamically. This at the moment shows, regardless of wether or not a PDF had been uploaded. I would like to hide this button if there is no PDF.

    I installed this plugin and set a condition on the jetengine custom field of “downloadable pdf” to be hidden if field is empty but now the field does not appear at all. I also tried the condition of show if field is not empty and still the button is not showing on the page.

    Setting the field to show if field is empty makes the website the same as it was before – it shows the button regardless of if a file has been uploaded or not with a broken button on those who have not have had a file uploaded.

    It’s looking like the plugin only works on text fields? I ask this due to file fields always being seen as “empty”

Viewing 1 replies (of 1 total)
  • Plugin Author rtowebsites

    (@rtowebsites)

    Hello,

    generally it also works with media fields. It is then compared to the url of the file.
    We do not use JetEngine and therefore cannot check it, but their DynamicTag may not return what is expected.
    But maybe there is a shortcode for JetEngine, which returns the image url.

Viewing 1 replies (of 1 total)
  • The topic ‘Does it work with file / media fields?’ is closed to new replies.