I ended up solving this (in a limited fashion) by just using text, which I linked to the function I wanted using javascript on click. This may not work for others still trying to do what my original intention had been, but maybe this will solve your problem too
Related Posts:
- How Can I Add the “Insert From URL” Tab to a Custom 3.5 Media Uploader?
- Where is the content of widgets stored in mysql table
- How do I rebind event after widget save
- Determining a Widget Instance and Sidebar Location?
- Randomize widgets displayed in my sidebar [duplicate]
- Remove […] from RSS feed?
- Difference between widget form code variables
- How to create a widget that has a submit form in the front end
- Custom shortcode in widget forced to top of widget
- Modifying recent post widget to include icons for post titles
- Unfiltered html in widget title not working
- How Can I Register Menus and Widgets Conditionally Based on Theme Options/Settings?
- check for shortcode in post/pages AND widgets AND template files
- Why can’t I add this feed to the RSS widget?
- Why use dynamic_sidebar() conditionally?
- WordPress Widget multiple use
- Using Advanced Custom Fields in a widget
- Closest thing to an is_widget() tag?
- More flexible sidebar and widget management
- How to “pair” two widgets side by side in one sidebar [closed]
- Dynamic Sidebars On Multiple Subpages
- Can I remove a widget area without editing code?
- Custom dashboard widget search box
- Notice: Undefined index: filter in …wp-includes/default-widgets.php on line 382
- Need some help understanding widgets
- Cannot save widgets in custom sidebars
- Disable widgets on specific posts
- register widget class not written in theme
- Font awesome Icon HTML in widgets disappear on save
- How to determine the number of widgets contained in a sidebar via customizer JS
- Hide widget if user is logged in without plugin
- Toggle option in sidebar widgets
- for class wp_widget, in what order are the member functions called?
- Add field to dashboard to update embedded URL on homepage?
- How can hide widget title if custom widget is empty
- styling back end widget form and enabling multi widget feature
- How to show different widgets on different pages in a user friendly way
- widgetlogic and permalinks
- allow user to style widget backgound per widget
- I’m trying to find a basic plugin for displaying images in a widget [closed]
- Elementor widgets – conditional controls
- WordPress Tag Cloud args (font-size) not working since wp update 4.9
- How to track whether the user has changed the value of the field in the widget or not?
- Problem creating an array instance in a widget in 4.4 update
- Redirect to page after a widget form submit
- WordPress: How to embed a widget on a separate website?
- Where to put custom widget file?
- Making tags appear as an Unordered list instead of a ‘cloud’
- Shortcode not working in widget
- How to pass a special CSS class into widget li
- Show Woocommerce Product “attributes/extra information tab” in widget [closed]
- How to use the widget area to extend the page content?
- wordpress widget missing jquery
- Is there a simple way to have a new sidebar for each page?
- Widget Title is not saving in backend
- Add class to on sidebar widget
- Save button is not working on custom widget
- WordPress update not saving
- WordPress Edit Button not appearing for widget in customizer
- WordPress database error – quick review
- Removing widget from home page when coming from specific landing page
- In which folder can we find the core wordpress Widgets such as Menu Widget
- How to remove Help tab and the Dashboard widget area’s empty border
- Add drop down to widget if it is in a certain area
- using get_template_part() inside a widget and passing variables
- How to add a text widget on the posts admin page?
- New Widget are not showing
- Widget select option not saving
- How do I exclude portrait pictures from the nextgen gallery sidebar widget?
- Add html after the first widget in a sidebar
- How to use multiple instances of Deal or Announcement With Countdown Timer Plugin Widget
- Changing the order of widgets according to current page?
- Your theme has 8 widget areas, but this particular page doesn’t display them
- A message to clients in the dashboard widget received from another site
- How to get individual values from custom widget?
- How would you return a value from an individual field in a custom widget?
- how to make video autoplay in widget
- Can view Social Media buttons only in the private mode – why?
- Before_widget won’t show up
- Widget Registration Problem
- Reload widget with AJAX
- Function for widget titles
- Custom archive widget drop down menu
- Widget outputting JS as plain text
- How do you add a widget to the side of a page
- get_post_class not working properly
- Is it good practice to change certain page appearance through a widget?
- Widget settings disappear after refreshing page
- widgets_init actions not fired from functions.php’s child theme
- Widgets Opening In New Window – Unwanted
- Editor Widget Role
- How can I build a widget area widget using the built in WordPress functionalities?
- Widget Logic code for different PMP membership levels
- How to display a widget available for all themes
- widgets in contacts only
- How to create a widget on witch a registered user can create a checklist
- How to hide sidebar widgets in all pages except Hompage?
- Extending Widgets – Exclude # of posts field from Recent Posts Widget
- How can I create my own widgets in WordPress? [closed]
- is it possible to create custom widgets page in admin?