With the snippet code generated for your WordPress website, you can embed your WM Store.
Embedding to WordPress
Let's walk through the steps below.
Using your admin account, log in to WordPress.
From the left-hand navigation menu, click Pages.
Select the page that’ll host your WM Store.
NOTE: The Menu will be our hosting page in the example below.
4. From your hosting page, click the Document tab.
5. In the Page Attributes dropdown, select Full-Width Template.
NOTE: Unless Full-Width Template is selected, your WM Store won’t fill the entire webpage and may not display correctly.
6. Click the Block tab.
7. Click the ( + ) button.
8. From the options, click Custom HTML.
9. For standard, non-Locator WM Store domains, enter the following HTML code (replace the highlighted text with the WM Store domain created earlier):
10. For Locator WM Store domains, enter the following HTML code (replace the highlighted text with the WM Store domain created earlier):
<div style="height:800px"><script src="https://your-store-name.wm.store/static/js/retailers-embed.js"></script></div>
11. At the upper right-hand corner of the screen, click Update.
At this point, your online store is:
Published
Ready for your patients and customers.
Check out these articles for pro tips and best practices on WM Store optimizations.