Get embed code | WordPress.org

[ad_1]

Hi @mdotk at present this is the best way to obtain the embed code you are referring to. You could also try reusing a previous embed code and updating the values such as:

Here is an example embed code that you can save and edit with the values for other Stories:

[web_stories_embed url="http://testsite.co.uk/web-stories/test-story/" title="Test-Story" poster="http://testsite.co.uk/wp-content/uploads/2019/02/test-poster.jpg" width="360" height="600" align="none"]

Hope this helps to answer your question but let me know if you have any further.

Thread Starter
mdotk

(@mdotk)

Thanks @adamdunnage – there is no “automated” way to get it otherwise (other than publish –> draft –> publish)?

@mdotk That is correct. I will discuss with the team to see if there is something we could potentially add in the future.

@mdotk This has been discussed through a previously raised GitHub issue. At this time it is unplanned but maybe something that is considered in the future.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer