• Resolved jeremy2805

    (@jeremy2805)


    Hello,

    I’m trying to do two things and struggling on both. Or rather, I can probably do it, but the wrong way, so I’d appreciate a bit of advice….

    I’ve setup a repeating field using ACF for posts to point to one or more simple links. I want to show those specific simple links entries on the sidebar using the widget.

    So…in sl_links_main I can see that maybe I should be using the simple_links_widget_args filter, but I can’t see how to specify an array of IDs in the args?

    Also, I need to tinker with the link output displayed in the widget (just add a button). If I try to do so using the simple_links_widget_output hook, it looks like I have to rewrite the whole $links->output() method. I reckon I’m doing that bit wrong?

    Any pointers would be very welcome.

    Many thanks.

    https://www.ads-software.com/plugins/simple-links/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘args for simple_links_widget_args’ is closed to new replies.