• This is a very useful plugin, but I was wondering if a feature could be added for displaying the gainers, losers, and most actives, instead of needing to specify stocks by their names. Kind of like this page on Google. https://www.google.com/finance?catid=58211593

    It would also be useful if we could set a percentage width on the widget instead of a fixed width in pixels, for responsive design. I tried setting “width: 100%;” in the custom CSS, but it looks like the divs inside are a fixed width calculated from whatever the width is set to under Widget Config.

    Thanks!

    https://www.ads-software.com/plugins/custom-stock-widget/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Relevad

    (@relevad)

    Hi Carami,

    The feature you mentioned is something we’ve been looking into. It’s already in our feature request list, but for right now it doesn’t look like it will work with our plugin. We only request data for the stocks a user selects. To generate some meta-lists like ‘top performers’ or ‘most active’ would require us to have all the stock data on our own database which is not feasible at this point in time.

    However, that being said, we definitely have plans to add in sorting by more of the headers. So, you could sort by current price, change of price, etc. In this scenario, you could enter in, say, 100 stocks into the stock list, but set the widget to display only the top 10 of those.

    As for your second request for variable width, I put in a request for that feature to be natively supported. It shouldn’t be too hard to put in, but no ETA at the moment.

    Plugin Author Relevad

    (@relevad)

    While I don’t normally advocate this sort of thing, if you’re really interested in making it be variable width RIGHT NOW, you can always inject some extra CSS in the advanced styling field box. Something like this would work for 4 columns:

    width: 100%;}
    .stock_widget_row {width:100% !important;}
    .stock_widget_element {width: 25% !important;}
    {

    For 3 columns, change 25% to 33%.

    Thread Starter carami

    (@carami)

    Thanks for your help. I was pretty sure the CSS would be the easier feature of the two. I was poking around the plugin code (not editing, just looking at how it worked) and saw that the queries are written in such a way that they can only fetch stocks by name, so I anticipated that it would be difficult but was hoping I was missing something.

    Thanks for pointers on working around the CSS, though. ?? I will probably end up doing either that or adding some CSS to the theme (although I was trying to avoid adding plugin-specific CSS to the theme, so we’ll see).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Top Movers, and Responsiveness’ is closed to new replies.