Does it work with file / media fields?
-
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”
- The topic ‘Does it work with file / media fields?’ is closed to new replies.