Robert
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Creating a new menuNo. That didn’t work alas. No Main Menu created. No errors either.
Here’s my code:
add_action('after_setup_theme', function () { // Register Menu Locations register_nav_menus( [ 'main-menu' => esc_html__( 'Main Menu', 'wphierarchy' ), ]); });
- This reply was modified 3 years, 7 months ago by bcworkz.
Forum: Developing with WordPress
In reply to: Creating a new menuThanks heaps. Will give it a go.
Forum: Developing with WordPress
In reply to: Creating a new menuThanks for getting back. I don’t think that code is within an action hook callback. Unless it’s in the header.php. There’s nothing like that in the functions.php file. Here’s the complete code in functions.php. Remember I’m on my Ls.
<?php // Add Theme Support add_theme_support( 'title-tag' ); add_theme_support( 'post-thumbnails' ); add_theme_support( 'post_format', ['aside', 'gallery', 'link', 'image', 'quote', 'status', 'video', 'audio', 'chat'] ); add_theme_support( 'html5' ); add_theme_support( 'automatic-feed-links' ); add_theme_support( 'custom-background' ); add_theme_support( 'custom-header' ); add_theme_support( 'custom-logo' ); add_theme_support( 'customize-selective-refresh-widgets' ); add_theme_support( 'starter-content' ); // Load in our CSS function wphierarchy_enqueue_styles() { wp_enqueue_style( 'main-css', get_stylesheet_directory_uri() . '/style.css', [], time(), 'all' ); } add_action( 'wp_enqueue_scripts', 'wphierarchy_enqueue_styles' ); // Register Menu Locations register_nav_menus( [ 'main-menu' => esc_html__( 'Main Menu', 'wphierarchy' ), ]); ?>
- This reply was modified 3 years, 7 months ago by bcworkz.
Forum: Plugins
In reply to: [bbPress Notify (No-Spam)] Subject line UTF-8 encodingHi Vinny
Your fix for the Subject line UTF-8 encoding error when using quotes works well. Many thanks for the work you put into it.
Kind regards
Robert Sterry [Guild of One-Name Studies Web Team]Yes. I’m the same Robert and the one who sent the message. Thank you for explaining the problem.
Thanks for getting back. I don’t know why the email bounced. Did you send it to
?
[email protected]?
?
If that email is a problem, my personal email is [email protected]I’ll now transfer this ticket now back to you.
Robert