• Resolved moose1

    (@moose1)


    Hello,

    I want to create a post that shows users how to use the embed tag to embed videos. I have a link to the codex page about this but I also want to paste a code example into my post, just as it’s done on that codex page.

    When I try to do this using the code tag, however, WP is just embedding the video. This is what I’ve got in my post:

    Below is an example of how to use the embed shortcode to embed a YouTube video:
    [embed width="400" height="400"]http://www.youtube.com/watch?v=-XJ4qi-PeMs[/embed]

    Unlike above, I’m not getting the code but the actual video embed.

    How can I get the code to show as it does on the codex page and above? From viewing source on that page, it looks like they’ve just used the code tag as well.

    I’ve also tried using the code markup plugin but still no luck.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Code tag not working?’ is closed to new replies.