This is a really geeky issue (which I thankfully don’t encounter much) and I’m hoping someone can readily assist. I’m configuring the “Simple Video Embedder” plugin for a new WordPress blog, and am running into trouble with the setup instructions which require modification of several WordPress theme files in the WordPress “loop.”

The instructions indicate the following code should be inserted so embed code is properly displayed in posts:

That is not working, however, so I’ve been trying multiple variants and am currently using this, but it does not successfully return/show the embed code:

Any WordPress gurus out there have any idea what I might be doing wrong? This is likely something that just requires a minor tweak, but since I’m not very PHP literate I’m groping in the dark here…

My reason for using the “Simple Video Embedder” plugin is that I want to provide users of a new team blog with the option to readily embed a video into new posts. If you know of a better / easier WordPress plugin to use which achieves this same functionality, I’m certainly open to using it instead.

Technorati Tags:
, ,

If you enjoyed this post and found it useful, subscribe to Wes' free newsletter. Check out Wes' video tutorial library, "Playing with Media." Information about more ways to learn with Dr. Wesley Fryer are available on

On this day..

Share →

3 Responses to Help needed with WordPress plugin theme file syntax

  1. nlowell says:

    Looks like you’re adding the code in a WYSIWYG text editor and not in a HTML code editor.

    The > and < entities are a give away

    You should be able to do that with a single pair of PHP tags .. an opener above and a closer below.

  2. Gary says:

    Not sure where you are embedding from but I have used and liked Viper’s Video Quicktags with a lot of my students blogs. Has a lot of different sites you can embed from and adds a button interface in the visual editor. You can hide/show which buttons are activated in the visual editor as well.

  3. Wesley Fryer says:

    @nlowell: Well, I was just adding code in the WordPress dashboard code editor… never could get it to work for some reason. Maybe it’s a plugin compatibility issue with WP 2.8.4… I know someone who knows that plugin developer, so I’ll follow up with him….

    @Gary: Thanks so much for the recommendation for Viper’s Video Quicktags – you are right, it is easier and it works great. THANKS SO MUCH!!!! This is exactly what I am needing.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.

Sharing from Matthews, North Carolina! Connect with Wes on Mastodon.