Plugin Author
kjbenk
(@kjbenk)
In the main file you can add the “Listed: ” text to line 146, right before the start of the <a>
tag.
Then for the others you will have to add all the respective text to each line in the file /includes/js/kjb_quotes.js
at lines 80-82.
For example, “Price: ” can be added to line 80 like this:
$(".kjb_show_stock_quotes_quote_" + table_id + symbol).text('Price: $' + commaSeparateNumber(price));
I was going the CSS method and using
.kjb_show_stock_quotes_ticker:before {
content: “Listed: NYSEMKT: “;
}
.kjb_show_stock_quotes_quote_kjb_show_stocks–1AST:before {
content: “Price: “;
}
.kjb_show_stock_quotes_change_AST:before {
content: “Change: “;
}
.kjb_show_stock_quotes_change_p_AST:before {
content: “% Change: “;
}
Plugin Author
kjbenk
(@kjbenk)
Yeah that could work as well. Did you have success with it?
Yep it seems to be working fine.
If a shortcode was built for the plugin and the options to add those titles in before each element in the plugin settings, would be a cool couple of features. Ended up just using Widget Shortcode.
Plugin Author
kjbenk
(@kjbenk)
Great!
Let me know if you have any other questions.