allowposttag
allowposttag
Description
WordPress doesn’t allow some tag in post. If you want to use class in img tag, you will lost class attributes when you publish (only admin not lost). So, allowposttags plugin can allow attributes and new tags in wordpress. You just edit in allowposttags.php file.
A few notes about the sections above:
- “Contributors” saturngod
- “Tags” posts
- Stable tag should indicate the Subversion “tag” of the latest stable version, or “trunk,” if you use
/trunk/for stable.
Installation
This section describes how to install the plugin and get it working.
e.g.
- Upload
allowposttags.phpto the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Faq
A question that someone might have
An answer to that question.
How to add allow tags?
allowedposttags[‘pre’][‘name’]=array();
‘pre’ is the tag name ‘name’ is the attribute name
So. If you want to add class attributes in img
allowedposttags[‘img’][‘class’]=array();
Reviews
Changelog
0.1
- use global allowtags