Skip to main content
deleted 4 characters in body
Source Link

I'm making a Wordpress theme that generate placeholder menus using the theme support "starter content". I read the documentation and is very vague: https://make.wordpress.org/core/2016/11/30/starter-content-for-themes-in-4-7/.

I want in my theme generate menus and them put images in each menu item using the plugin Menu Image. But I can't find a hook that executes after starter content generation and executes only once. The hooks I use the content is basically in customizer changeset and I can't access them using the normal the Nav Menu API of WordPress.

What I can do in this case. Someone have some idea about it? Thanks!

I'm making a Wordpress theme that generate placeholder menus using the theme support "starter content". I read the documentation and is very vague: https://make.wordpress.org/core/2016/11/30/starter-content-for-themes-in-4-7/.

I want in my theme generate menus and them put images in each menu item using the plugin Menu Image. But I can't find a hook that executes after starter content generation and executes only once. The hooks I use the content is basically in customizer changeset and I can't access them using the normal the Nav Menu API of WordPress.

What I can do in this case. Someone have some idea about it? Thanks!

I'm making a Wordpress theme that generate placeholder menus using the theme support "starter content". I read the documentation and is very vague: https://make.wordpress.org/core/2016/11/30/starter-content-for-themes-in-4-7/.

I want in my theme generate menus and them put images in each menu item using the plugin Menu Image. But I can't find a hook that executes after starter content generation and executes only once. The hooks I use the content is basically in customizer changeset and I can't access them using the normal Nav Menu API of WordPress.

What I can do in this case. Someone have some idea about it? Thanks!

Source Link

Theme Development: Starter Content after hook

I'm making a Wordpress theme that generate placeholder menus using the theme support "starter content". I read the documentation and is very vague: https://make.wordpress.org/core/2016/11/30/starter-content-for-themes-in-4-7/.

I want in my theme generate menus and them put images in each menu item using the plugin Menu Image. But I can't find a hook that executes after starter content generation and executes only once. The hooks I use the content is basically in customizer changeset and I can't access them using the normal the Nav Menu API of WordPress.

What I can do in this case. Someone have some idea about it? Thanks!