Title: Classic Menu Block
Author: Jonny Harris
Published: <strong>28 ژانویه 2022</strong>
Last modified: 24 آوریل 2024

---

جستجوی افزونه‌ها

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

![](https://ps.w.org/classic-menu-block/assets/icon-256x256.png?rev=2668472)

# Classic Menu Block

 توسط [Jonny Harris](https://profiles.wordpress.org/spacedmonkey/)

[دانلود](https://downloads.wordpress.org/plugin/classic-menu-block.0.1.7.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/classic-menu-block/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/classic-menu-block/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/classic-menu-block/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/classic-menu-block/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/classic-menu-block/)

## توضیحات

Use classic menus in gutenberg, using this block. This block renders classic menu
data using wp_nav_menu function, improving backwards compatiblity.

## عکس‌های صفحه

[⌊The navigation block \⌉⌊The navigation block \⌉[

The navigation block \

## بلوک‌ها

این افزونه 1 بلوک ارائه می‌دهد.

 *   Classic Menu Block A gutenberg block to use classic menus.

## نصب

This section describes how to install the plugin and get it working.

 1. Upload the plugin files to the `/wp-content/plugins/classic-menu-block` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress

## نقد و بررسی‌ها

![](https://secure.gravatar.com/avatar/a968f2ad2ae997a72f80b6fd8516108ef48c4c39d4af957591ca734d58cc3871?
s=60&d=retro&r=g)

### 󠀁[More documentation please](https://wordpress.org/support/topic/more-documentation-please/)󠁿

 [aldebaran57](https://profiles.wordpress.org/aldebaran57/) 4 سپتامبر 2024

Great plugin for what it is – as a wrapper for the classic menu insert fn wp_nav_menu(),
and so to be able to insert a classic menu into a full block theme.  BUT  ….   The
documentation is totally absent for who this plugin is for, how you use it , whats
the prerequisites    .. So the plugin provides a block to insert a classic menu …
So I assume you can insert a classic menu into a website which is using a Block 
theme. But if I simply start with block theme 2024, install and activate the plugin,
then I don’t get in the Backend the menu item ‘Menus’  under Appearance  … so I 
cannot first setup/create a classic menu …. But then I realised if you  include 
the function register_nav_menus() in an action hook in the theme, then I get the
MI ‘Menus’  –  function register_my_menu() {    register_nav_menus();          }
add_action( 'after_setup_theme', 'register_my_menu' ); So now I can create a classic
menu in the Backend, insert a Classic Menu block  in a page and select a classic
menu for that  block insert. So for example, theme 2024 has no such register fn,
so I  added it to  a child theme    And then to the styling   ….   The plugin  comes
with some simple menu styling  – that’s  OK, at least its something  … But  if you
want to do  your own styling the Spacemonkey article mentions  a filter  .. but 
its not clear  what it’s for / how  you  use it  …   But after looking in the code
of the plugin  top file  classic-menu-block.php,  you  can use the filter  to change
the  params  which  in the plugin are then passed to the classic menu insert function
wp_nav_menu() .   So  I  used this to change the class name of the outer  wrapper
div of the inserted menu from the default to my own  …  as such I could remove the
default styling, and style the menu as I  want without the need for !important or
mega specificity.     So in conclusion it would be useful to simply add this info
in the diocumentation    ….  A comment on improving the default styling / adding
styling config  (there isn’t any config at the moment)  …  I don’t know how far 
this should go  … simply because there would be so many  possibilities  to  suite
each person’s needs so the whole thing becomes totally overweight  …   I think its
best as is  –  the simple current  styling – at least  it works for the  non-dev,
but  with the filter  a developer can do  their own styling.

![](https://secure.gravatar.com/avatar/68393fa518a276797fb60d51100ab3c4f97d80d69df83d68787e9b15be8730d7?
s=60&d=retro&r=g)

### 󠀁[Perfect!](https://wordpress.org/support/topic/perfect-10256/)󠁿

 [MattV](https://profiles.wordpress.org/mattv/) 20 فوریه 2024

Exactly what I was looking for: a simple menu-block. Nothing more, nothing less.

 [ خواندن تمامی 2 نقد و بررسی‌ ](https://wordpress.org/support/plugin/classic-menu-block/reviews/)

## توسعه دهندگان و همکاران

“Classic Menu Block” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ Jonny Harris ](https://profiles.wordpress.org/spacedmonkey/)

“Classic Menu Block” به 10 زبان ترجمه شده است. با تشکر از [مترجمین](https://translate.wordpress.org/projects/wp-plugins/classic-menu-block/contributors)
برای همکاری و کمک‌هایشان.

[ترجمه “Classic Menu Block” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/classic-menu-block)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/classic-menu-block/)،
[مخزن SVN](https://plugins.svn.wordpress.org/classic-menu-block/) را بررسی کنید،
یا از طریق [RSS](https://plugins.trac.wordpress.org/log/classic-menu-block/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/classic-menu-block/) مشترک
شوید.

## اطلاعات

 *  نگارش **0.1.7**
 *  آخرین به‌روزرسانی **2 سال پیش**
 *  نصب‌های فعال **7,000+**
 *  نگارش وردپرس ** 5.9 یا بالاتر **
 *  آزمایش‌شده تا **6.5.12**
 *  نگارش PHP ** 5.6 یا بالاتر **
 *  زبان‌ها
 * [Catalan](https://ca.wordpress.org/plugins/classic-menu-block/)، [Chinese (Taiwan)](https://tw.wordpress.org/plugins/classic-menu-block/)،
   [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/classic-menu-block/)، [English (US)](https://wordpress.org/plugins/classic-menu-block/)،
   [French (France)](https://fr.wordpress.org/plugins/classic-menu-block/)، [German](https://de.wordpress.org/plugins/classic-menu-block/)،
   [Spanish (Chile)](https://cl.wordpress.org/plugins/classic-menu-block/)، [Spanish (Colombia)](https://es-co.wordpress.org/plugins/classic-menu-block/)،
   [Spanish (Ecuador)](https://es-ec.wordpress.org/plugins/classic-menu-block/)،
   [Spanish (Spain)](https://es.wordpress.org/plugins/classic-menu-block/)، و [Spanish (Venezuela)](https://ve.wordpress.org/plugins/classic-menu-block/).
 *  [به زبان خودتان ترجمه کنید](https://translate.wordpress.org/projects/wp-plugins/classic-menu-block)
 * برچسب
 * [block](https://fa.wordpress.org/plugins/tags/block/)[menu](https://fa.wordpress.org/plugins/tags/menu/)
   [navigation](https://fa.wordpress.org/plugins/tags/navigation/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/classic-menu-block/advanced/)

## امتیازها

 4.5 از 5 ستاره.

 *  [  امتیاز 1 5-ستاره     ](https://wordpress.org/support/plugin/classic-menu-block/reviews/?filter=5)
 *  [  امتیاز 1 4-ستاره     ](https://wordpress.org/support/plugin/classic-menu-block/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/classic-menu-block/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/classic-menu-block/reviews/?filter=2)
 *  [  امتیاز 0 1-ستاره     ](https://wordpress.org/support/plugin/classic-menu-block/reviews/?filter=1)

[بررسی شما](https://wordpress.org/support/plugin/classic-menu-block/reviews/#new-post)

[مشاهدهٔ همهٔ بررسی‌ها](https://wordpress.org/support/plugin/classic-menu-block/reviews/)

## مشارکت کنندگان

 *   [ Jonny Harris ](https://profiles.wordpress.org/spacedmonkey/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/classic-menu-block/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://github.com/sponsors/spacedmonkey)