Widgets for WordPress

How to add a free stock ticker widget to WordPress

Put live quotes for stocks, crypto, forex and metals on any WordPress post, page or sidebar. The widgets are free, need no account or API key, and go in through the Custom HTML block WordPress already has, so there is no plugin to install, update or keep compatible.

Install the widget in WordPress

The main path uses the block editor. The sidebar and the classic editor are covered in the last two steps.

  1. Check where your site runs

    Self-hosted WordPress accepts the code as is. On WordPress.com the free and entry plans do not run third-party scripts, so you need a plan that allows custom code. Check your current plan before you start.

  2. Build the widget

    Open a builder from the widgets page, for example the ticker tape. Pick the instruments, the theme and the language, then copy the code. It is one container with a single script and the "Quotes by FinaQuotes" line.

  3. Add a Custom HTML block

    Open the post or page, click the plus button to open the block inserter, type "Custom HTML" and drop the block where the quotes should sit.

  4. Paste the code unchanged

    Paste the whole snippet into the block, attribution line included. Do not edit the script tag: the settings inside it are what the builder produced. The editor preview does not always run scripts, so judge the result on the live page.

  5. Publish and check

    Publish or update the page and open it in a private window, on a desktop and on a phone. If you use a caching plugin, clear its cache. If a security plugin sets a content security policy, allow widgets.finaquotes.com.

  6. Sidebar or footer

    For a widget on every page, add a Custom HTML widget to a widget area: Appearance > Widgets in classic themes, or the template part in the Site Editor in block themes. Paste the same code.

  7. Classic editor

    In the classic editor, switch to the Text (or Code) tab and paste the snippet there. Save from that tab: switching back to the visual view before saving can alter the script.

Which widget fits where on a WordPress site

Eight widgets share one builder. These are the placements WordPress sites use most.

  • Ticker tape above the content

    A scrolling strip of prices under the header of a finance blog or a news site. Put it in a header template part or at the top of key pages. Build a ticker tape.

  • Symbol card inside a post

    An article about one stock or one coin gets its price and daily change right next to the text, and the number stays current after the post goes out. Build a symbol card.

  • Market watch in the sidebar

    A compact quote table in a Custom HTML widget shows the same watchlist on every page without touching the posts. Build a market watch.

  • Mini chart in reviews

    Analysis and review posts read better when the reader can see where the price has been. A mini chart adds the line without a full charting tool. Build a mini chart.

  • Forex widgets and technical analysis for specialist posts

    A forex blog puts the cross rates table or the currency heat map on its markets page, and a post about one instrument carries the technical analysis gauge next to the chart.

Data, attribution, speed and privacy

Crypto, forex, metals and commodities update in real time. Stocks, indices and bonds come with a 15 minute delay on the free plan. Pro shows every asset class in real time.

The "Quotes by FinaQuotes" line under the widget is the condition of free use, so keep it in the snippet. If it is removed, the line appears inside the widget instead.

The widget renders in an iframe from our domain, and the loader script is light, about 15 KB (under 6 KB compressed). It loads asynchronously, so your theme and plugins are not blocked while it starts, and the widget does not get in the way of Core Web Vitals. Static files are cached for up to 4 hours.

Your WordPress site sends us nothing beyond the standard request for the widget. The quotes come from widgets.finaquotes.com, and no cookies or forms of your site are involved.

FinaQuotes or TradingView widgets on WordPress

Both are pasted into a Custom HTML block. The differences are in what you get and what you have to keep.

TradingView free widgetsFinaQuotes Free
How it goes in Code snippet, no plugin neededCode snippet, no plugin needed
Attribution TradingView credit as a condition of use"Quotes by FinaQuotes" line, removed on Pro
Widget range Wide, including advanced chartsEight quote widgets
Real-time data Depends on the market, see providerCrypto, forex, metals, commodities; stocks, indices, bonds delayed 15 min
Account Not needed for the embedNot needed

TradingView details reflect its public materials at the time of writing and may change. For a fuller comparison see FinaQuotes vs TradingView widgets.

Other platforms

WordPress questions

Do I need a WordPress plugin or a FinaQuotes account?

No. The widget is a code snippet for the Custom HTML block or widget, and the builder works without sign-up or an API key. The only exception is WordPress.com, where the plan has to allow custom code.

Why are stock prices 15 minutes behind?

On the free plan stocks, indices and bonds are shown with a 15 minute delay. Crypto, forex, metals and commodities are real time. For real-time stocks, see Pro.

Can I hide the "Quotes by FinaQuotes" line?

Not on the free plan: the line is the condition of free use, and if it is deleted, it appears inside the widget instead. Widgets without any credit come with Pro.

Does the widget work in mobile themes and on phones?

Yes. It runs in any modern mobile browser, and its height adjusts to the content, so the block does not leave a gap or cut rows off. Check the page at phone width after publishing, since themes differ in how wide they make the content column.

How do I change the instruments later?

Open the builder again, set the new list and replace the snippet in the block. The widget itself is served from our domain, so fixes on our side reach your site without any action; because of caching that can take up to 4 hours.

Quotes on WordPress without the credit line

The free widgets cover most blogs. If you need real-time stocks or no "Quotes by FinaQuotes" line, tell us about your site and we will reply within one business day.

Contact the team

WordPress and TradingView are trademarks of their owners. FinaQuotes is not affiliated with or endorsed by them. Platform details may change; check the current terms of your plan.