Title: Get embed code
Last modified: August 16, 2022

---

# Get embed code

 *  Resolved [mdotk](https://wordpress.org/support/users/mdotk/)
 * (@mdotk)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/get-embed-code/)
 * Hi use the classic editor (not Gutenburg). What is an easy way to get a web story
   embed code without having to switch a published story back to draft and then “
   publish” it again?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/get-embed-code/#post-15919534)
 * Hi [@mdotk](https://wordpress.org/support/users/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:
    - URL
    - Title
    - Poster
 * 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](https://wordpress.org/support/users/mdotk/)
 * (@mdotk)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/get-embed-code/#post-15919742)
 * Thanks [@adamdunnage](https://wordpress.org/support/users/adamdunnage/) – there
   is no “automated” way to get it otherwise (other than publish –> draft –> publish)?
 *  [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/get-embed-code/#post-15919764)
 * [@mdotk](https://wordpress.org/support/users/mdotk/) That is correct. I will 
   discuss with the team to see if there is something we could potentially add in
   the future.
 *  [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/get-embed-code/#post-15920016)
 * [@mdotk](https://wordpress.org/support/users/mdotk/) This has been discussed 
   through a previously raised [GitHub issue](https://github.com/GoogleForCreators/web-stories-wp/issues/7898).
   At this time it is unplanned but maybe something that is considered in the future.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Get embed code’ is closed to new replies.

 * ![](https://ps.w.org/web-stories/assets/icon.svg?rev=2386543)
 * [Web Stories](https://wordpress.org/plugins/web-stories/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/web-stories/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/web-stories/)
 * [Active Topics](https://wordpress.org/support/plugin/web-stories/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/web-stories/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/web-stories/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/get-embed-code/#post-15920016)
 * Status: resolved