[wp-trac] [WordPress Trac] #36801: Add POST-TYPE into css CLASSNAME
WordPress Trac
noreply at wordpress.org
Tue May 10 08:24:05 UTC 2016
#36801: Add POST-TYPE into css CLASSNAME
-------------------------+-----------------------------
Reporter: selnomeria | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
typical source code of PAGE EDITOR (in dashboard), is like this:
{{{
<form name="post" action="post.php" method="post" id="post">
}}}
REQUEST:
when i add(or edit) a post type '''MyVideos''', it is good, if the FORM
contained classname, like:
{{{
<form class="posttype-MyVideos" name="post" action="post.php"
method="post" id="post">
}}}
default for typical posts or pages should be i.e.
class="posttype-'''post'''" and class="posttype-'''page'''"
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36801>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list