چۈشەندۈرۈش
This plugin adds the css class .has-children to menu items that have a submenu to allow css styling.
ئورنىتىش
- Upload menu-child-indicator.php to the
/wp-content/plugins/directory - Activate the plugin through the ›Plugins‹ menu in WordPress
- Add styles with the CSS rule
.menu .children .has-children(Hint: use the pseudo-element::afteralong withcontent: "\00a0\bb";to add a double arrow pointing to the right.) - That’s it!
FAQ
- What style to you use for your indicator?
-
Glad you asked! See the css block below:
css
.menu .children .has-children::after {
content: "\00a0\bb";
position: absolute;
top: .3em;
right: 10px;
font-size: 18px;
color: white;
}
باھالاشلار
بۇ قىستۇرمىغا تېخى باھا يېزىلمىدى.
تۆھپىكار ۋە ئىجادكار
«Menu Child Indicator» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە قوشقان.
تۆھپىكار«Menu Child Indicator» نى تىلىڭىزغا تەرجىمە قىلىڭ
ئىجادىيەتكە قىزىقامسىز؟
كودقا كۆز يۈگۈرتۈپ، SVN خەزىنە تەكشۈرۈپ ياكى RSSئارقىلىق ئىجادىيەت خاتىرىسىگە مۇشتەرى بولغىلى بولىدۇ.
ئۆزگىرىش خاتىرىسى
1.1.4
- Update «tested up to» version
1.1.3
- Update «tested up to» version
1.1.2
- Add sample css and screenshot
1.1
- Minor readme tweaks
1.0
- First version