Šis įskiepis nebuvo išbandytas su 3 vėliausiomis WordPress versijomis. Jis tikriausiai nėra prižiūrimas ir palaikomas, todėl gali neveikti su naujausiomis WordPress versijomis.

Menu to Page Display

Aprašymas

The Menu to Page Display was written to allow users to easily display a wordpress menu within a page without knowing PHP or editing template files.

Add the shortcode in a post or page, then add your menu slug to the attribute menu_name and use the arguments to include / exclude extra information as necessary. I’ve also added some extra options to display something more than just the title: include_date, include_excerpt, and image_size.

See the WordPress Codex for information on using the arguments.

Documentation | Examples

Diegimas

  1. Upload menu-to-page-display to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Add the shortcode to a post or page.

DUK

So the shortcode [menu-display] will not work by itself?

No. You have to include at least the menu_name attribute. If you have created a wordpress menu called „My awesome menu” your shortcode will be [menu-display menu_name=”my-awesome-menu”].

Atsiliepimai

Įskiepis neturi atsiliepimų.

Programuotojai ir komandos nariai

“Menu to Page Display” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.

Autoriai

Pakeitimų istorija

Version 1.0

  • This is version 1.0. Everything’s new!