Nid yw’r ategyn hwn wedi cael ei ddiweddaru ers 3 ryddhad mawr. Efallai nad yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio gyda fersiynau mwy diweddar o WordPress.

Menu Child Indicator

Disgrifiad

This plugin adds the css class .has-children to menu items that have a submenu to allow css styling.

Gosod

  1. Upload menu-child-indicator.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add styles with the CSS rule .menu .children .has-children (Hint: use the pseudo-element ::after along with content: "\00a0\bb"; to add a double arrow pointing to the right.)
  4. That’s it!

Cwestiynau Cyffredin

  • 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;
    }

Adolygiadau

There are no reviews for this plugin.

Contributors & Developers

“Menu Child Indicator” is open source software. The following people have contributed to this plugin.

Cyfranwyr

Translate “Menu Child Indicator” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Cofnod Newid

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