Tag Info

New answers tagged

0

You are making wrong use of the the_content filter. Why your code is not working You are not returning anything back to the referenced content Even if your condition fails, you should pass the referenced content back, otherwise nothing will be displayed if your condition returns false Your preg_match function is using the wrong subject. Use the ...


0

When you enter the URL, put your editor in TEXT mode. Lots of people don't notice the visual editor converts HTML special characters, and deactivates links.


1

EDIT After reviewing your edit, you may want to try following These Instructions To embed a video or another object into a post or page, place its URL into the content area. Make sure the URL is on its own line and not hyperlinked (clickable when viewing the post). It sounds like you would want to use wp_get_oembed() - The examples look like this: ...


1

declaring max-width: 100%; works for me. it looks like the selector in your example code is incorrect. try: .commentlist iframe { max-width: 100%; }


1

Try adding another attribute [video src="http://youtu.be/JQ_2De2cnzI&rel=0&showinfo=0" poster="/path/to/image-placeholder"] See the Codex



Top 50 recent answers are included