Title: Button visibility
Last modified: September 4, 2025

---

# Button visibility

 *  Resolved [PedroDK](https://wordpress.org/support/users/pedrodk/)
 * (@pedrodk)
 * [9 months ago](https://wordpress.org/support/topic/button-visibility/)
 * Hi,
 * I believe that Block Visibility is the most valuable and clever plugin I have
   come across in my almost 15 years of WordPress experience.
 * But I do have one issue:
 * I am trying to control the visibility of a button designed to open up an uploaded.
   pdf or .doc file.
 * The URL goes to the uploaded document in the Media library.
 * I want the button to only be visible if there is a link (URL) to the uploaded
   document in the button.
 * I (try to) control this using GenerateBlocks 2.0 Pro’s dynamic data fetched from
   a form with ACF fields on the frontend.
 * I can’t get it to work.
 * I thought that would be easy peasy to do with Block Visibility – but I can’t 
   get it to work.
 * Can you guide me in the right direction, please?
 * Thank you.
 * BW Peter
    -  This topic was modified 9 months ago by [PedroDK](https://wordpress.org/support/users/pedrodk/).
    -  This topic was modified 9 months ago by [PedroDK](https://wordpress.org/support/users/pedrodk/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbutton-visibility%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Nick Diego](https://wordpress.org/support/users/ndiego/)
 * (@ndiego)
 * [9 months ago](https://wordpress.org/support/topic/button-visibility/#post-18630638)
 * Hi [@pedrodk](https://wordpress.org/support/users/pedrodk/),
 * I don’t believe what you are looking to do is possible with Block Visibility.
   There is no current visibility control that can display a block based on the 
   input of another element on the page. You will likely need a JavaScript-based
   solution.
 * Best, 
   Nick
 *  Thread Starter [PedroDK](https://wordpress.org/support/users/pedrodk/)
 * (@pedrodk)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/button-visibility/#post-18643898)
 * Hi Nick,
 * Sorry for my late reply and thank you for yours.
 * I think I got it nailed by using the settings of GenerateBlocks Pro.
 * Thank you for a fantastic plugin.
 * Bw Peter

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Button visibility’ is closed to new replies.

 * ![](https://ps.w.org/block-visibility/assets/icon-256x256.png?rev=3122657)
 * [Block Visibility — Conditional Visibility Control for the Block Editor](https://wordpress.org/plugins/block-visibility/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/block-visibility/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/block-visibility/)
 * [Active Topics](https://wordpress.org/support/plugin/block-visibility/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/block-visibility/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/block-visibility/reviews/)

## Tags

 * [button link](https://wordpress.org/support/topic-tag/button-link/)

 * 2 replies
 * 2 participants
 * Last reply from: [PedroDK](https://wordpress.org/support/users/pedrodk/)
 * Last activity: [8 months, 3 weeks ago](https://wordpress.org/support/topic/button-visibility/#post-18643898)
 * Status: resolved