Missing menu items in 6.1
-
Hi, everyone. I’m a react developer, trying for the first time to understand how theme developing in WordPress works, so please bear with me.
In the “Intro” video of WP 6.1, I can see a lot of menu items in the “Appearence” menu. However, on my dashboard, only “Themes” and “editor (beta)” show up.
I’m trying to develop and add a custom widget to my theme.
What I have done is to basically copy the files from the “twentytwentythree” theme, and started editing those. So far I’ve accomplished to set my project theme colors in the theme.json file.
-
This topic was modified 3 years, 5 months ago by
Jan Dembowski.
-
This topic was modified 3 years, 5 months ago by
-
I don’t know which intro video you’re talking about. However, based on your description, I recognize that you have a block theme currently enabled. Block themes have only 2 menu items under Appereance: Themes and Editor. No more. If you want to see the other menu items you probably saw in the video, you would have to use a classic theme (e.g. TwentyTwentyOne).
Aha, ok I see.
So, what I want to do is to make specific “widgets” for my theme. For instance, I want to make a “widget” that renders with a specific background color, font and border radius around it.
I thought I have to edit the functions.php file to achieve this, but is this now possible to achieve with the new “editor”, so that I don’t have to concern myself with PHP at all?
You need to decide what kind of theme you want to develop. If it is a block theme, the procedure is different from a classic theme. Here you can find an introduction to both themes:
https://developer.wordpress.org/block-editor/how-to-guides/themes/block-theme-overview/
https://codex.wordpress.org/Theme_DevelopmentThe keyword widget I know btw. rather from the classic themes. If you want to develop a widget, a classic theme would probably be the way you want to go. The procedure to develop a widget for classic themes is described here: https://developer.wordpress.org/themes/functionality/widgets/
Thanks, @threadi
The topic ‘Missing menu items in 6.1’ is closed to new replies.