• Resolved itsjonesyy

    (@itsjonesyy)


    Hi,

    I am using the [stc-subscribe] shortcode on a page – I have 500 unique categories that the user can subscribe to, so scrolling this list takes a long time. I want to add some html and JS so I am able to add a search filter for the list that is generated by the plugin. Then the user can easily find what they want to subscribe to.

    Where can I find the appropriate template in plugin files so I can modify it to achieve this?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author vandestouwe

    (@vandestouwe)

    The html code is generated in the php file class stc subscribe. This code is generic for the page and the widget. There are also some js function active. They also need to know what categories to show and or handle.
    It will not be so easy to make it work.

    Thread Starter itsjonesyy

    (@itsjonesyy)

    Ok, I was planning on implementing something simple like this, it at least gives the user a way of getting through a list of hundreds – https://www.w3schools.com/howto/howto_js_filter_lists.asp

    Will there be more complexity than I think? Do you have any simpler suggestions for my scenario?

    • This reply was modified 4 years, 1 month ago by itsjonesyy.
    Plugin Author vandestouwe

    (@vandestouwe)

    Use a tree view for the categories. Before you do rearrange the 500+ categories into a tree.

    Thread Starter itsjonesyy

    (@itsjonesyy)

    @vandestouwe Thanks for the reply, can you please elaborate on what you mean exactly? Is something I need to do with the plugin i.e modify the shortcode I am using? Thanks again

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

The topic ‘Modify subscribe template?’ is closed to new replies.