Get recent posts, posts from categories, and more. Display as widget or with shortcodes and template tags.
List its ID as a negative number.
Did you set the strip_tags attribute to false? ([excerpt strip_tags=0]). If tags haven't been stripped, it may have cut off the text before an HTML tag was properly closed, thus breaking the page. Setting strip_tags to false should only be used if you're carefully managing the excerpt's output.
There are limitations on the tag or tag/attribute combiniations allowed by WordPress. However, these can be overcome with a few lines of code.
To allow an additional tag, use this:
add_filter( "admin_init", "allowed_tags" );
function allowed_tags() {
global $allowedposttags;
$allowedposttags["video"] = array();
}
To allow additional attributes for any tag, use the following code:
add_filter( "admin_init", "allowed_tags" );
function allowed_tags() {
global $allowedposttags;
$allowedposttags["video"]["src"] = array();
$allowedposttags["video"]["type"] = array();
$allowedposttags["video"]["poster"] = array();
}
If you're using a custom theme, you can add this code the its functions.php file. Otherwise, you may want to create your own plugin to hold these modifications.
See this post for instructions on creating your own plugin.
Requires: 3.1 or higher
Compatible up to: 3.3.2
Last Updated: 2012-4-28
Downloads: 6,706
2 of 3 support threads in the last three weeks have been resolved.
Got something to say? Need help?