I encounter this weird problem.. I'm trying to create a simple & easy website for a client. He wants to embed video's into the page.

I use different customfields assigned to specific elements in the website. I hide the standard wordpress wysiwyg editor and registred a new one to put it in line with other customfields.

Here is the problem, when i use the shortcode icons made by plugins and i post them in the registered wysiwyg editor and i save the page, it doesn't work, it only shows the short-code.

Example short-code:

[pro-player width='600' height='600' type='video']http://www.youtube.com/watch?v=-nOjUXGCREs[/pro-player]

But when i use the short-code in the original wordpress wysiwyg editor it does execute it properly.

Ofcourse when i call the plugins short-code throughout a .PHP file it definitely works.. But i want to keep it easy & simple for the client to understand, so an generated icon would be my best bet.

Why does he custommade wysiwyg editor execute short-codes as text ?

I hope someone can help me with this problem.


  • You're aware of oembed? Simply paste a youtube URL on its own line, making sure it isnt turned into a hyperlink, and itll be replaced with a full youtube embed on the frontend. Apply CSS styling to the embed so it fits correctly
    – Tom J Nowell
    May 12, 2013 at 0:20
  • Thanks for the response, strangely It doesn't work on a custom made wysiwyg editor... I tried it on the standard wordpress editor and it works....
    – Laurens
    May 12, 2013 at 1:01
  • 4
    How is this custom made WYSIWYG editor made?
    – brasofilo
    May 12, 2013 at 1:34
  • Yes you have a problem with your code yet no code is provided
    – Tom J Nowell
    May 12, 2013 at 21:50
  • I use custom metaboxes & fields for wordpress. github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress, Its kinda strange that i can't find much information about this problem..
    – Laurens
    May 12, 2013 at 21:52

1 Answer 1


Yessss, I fixed the problem, i needed to apply a filter into the get_post_meta to make it work.

<?php  echo apply_filters( 'the_content', get_post_meta($post->ID, '_wenc_content_inhoud', true)); ?>

Thanks anyway!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.