Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Menu to Page Display

Apraksts

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

Uzstādīšana

  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.

BUJ

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”].

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“Menu to Page Display” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Menu to Page Display&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

Version 1.0

  • This is version 1.0. Everything’s new!