Footer navigation menu

you can add new menu from WordPress admin on this https://de.ferberg.com/wp-admin/nav-menus.php?action=edit&menu=0 and then you need to call this menu where you’re calling your footer menu.

How to automatically set a Template Page Name next to a page in menu screen such as WooCommerce pages, front page, or posts page in wordpress?

Use the display_post_states hook: function custom_display_post_states( $states, $post ) { if ( ‘Services’ === $post->post_title ) { $post_states[‘custom-content’] = ‘Services Page’; } return $post_states; } add_filter( ‘display_post_states’, ‘custom_display_post_states’, 10, 2 ); or you can do by ID if ( 1 === $post->ID) { $post_states[‘custom-content’] = ‘Services Page’; } To check if page has template: function … Read more

Submenu items not working anymore

You’re right, this is odd behavior. I’m curious, what would happen if you added an anchor link directly on the ‘On the Block’ page (ie, #play)? Not suggesting this as a solution, just trying to establish whether anchor links will work on the page if not included as part of the navigation.

Twenty-Twenty-Two Child Theme Mega Menu

For the ‘Everything’ submenu, you can target it and then set the width to simply fit the content. nav.wp-container-2 li.wp-block-navigation-item.has-child ul.wp-block-navigation__submenu-container { width: fit-content; } This worked for me on StackBlitz, but you may need greater specificity (MDN) to target the element in your project. Note that you can also flag it as important (MDN) … Read more

Add CSS class to posts with certain meta key

The good thing about ACF is it comes with lots of functions to check fields. Here is the manual. Are you creating a meta value in addition to the field and it’s value? I’m guessing that you are looking for the value of the bloom field. If that’s so then get_field(‘bloom’,post->ID) should be what you’re … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)