[Resolved] Menu Text Labels Missing On Single Post Pages

Home Forums Support [Resolved] Menu Text Labels Missing On Single Post Pages

Home Forums Support Menu Text Labels Missing On Single Post Pages

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #708298

    My menu disappears on single post pages. I inspected the code, and it appears the menu links are there, but the labels are missing.

    I’m not 100% sure if related, but this happened after I initially started modifying things directly in the generatepress theme customizer, before later switching to a child theme. Switching back to the parent theme shows the menu correctly.

    Please let me know if you need a temporary admin login.

    GeneratePress 2.1.4
    GP Premium 1.7.2
    Customer Support

    Hi there,

    That’s weird. The customizer options are separated from child theme so there shouldn’t be an issue there.

    What have you added in the child theme? Does it work if you try a blank child theme here?

    Let me know ๐Ÿ™‚


    It might be best if I gave you a temporary login. Let me know a safe way to give you the credentials.

    I am using that blank child theme (just added it in the last day or so). Beyond that, has some css added in customizer – but this shouldn’t be the cause since the text labels are missing in the source code and not being hidden by css.

    And this is what I have in functions.php:

    // Added to use Font Awesome
    function tu_load_font_awesome() {
    wp_enqueue_style( ‘font-awesome’, ‘//use.fontawesome.com/releases/v5.3.1/css/all.css’, array(), ‘5.3.1’ );
    add_action( ‘wp_enqueue_scripts’, ‘tu_load_font_awesome’ );

    // Added to replace Hot list title with teaser title
    function replace_hot_list_title_with_teaser($title, $result) {
    return get_post_meta($result->ID, ‘teaser_title’, TRUE);
    add_filter(‘tptn_post_title’, ‘replace_hot_list_title_with_teaser’, 10, 2);

    // Added to replace blog listings and next/previous posts title with teaser title
    function replace_blog_listings_title_with_teaser($title, $postID) {
    $currentPostID = get_the_ID();
    if (!is_single() && in_the_loop()) {
    return get_post_meta($currentPostID, ‘teaser_title’, TRUE);
    else if (is_single() && ($currentPostID <> $postID)) {
    return get_post_meta($postID, ‘teaser_title’, TRUE);
    return $title;
    add_filter(‘the_title’, ‘replace_blog_listings_title_with_teaser’, 10, 2);

    // Added to remove excerpt on archive listings:
    function remove_excerpt($excerpt) {
    if(!is_single() && in_the_loop()){
    return “”;
    add_filter(‘the_excerpt’, ‘remove_excerpt’);

    // Added to replace author with display author when available
    function replace_author_name($name) {
    $displayAuthor = get_post_meta(get_the_ID(), ‘display_author’, TRUE);
    if (!empty($displayAuthor)) {
    return $displayAuthor;
    return $name;
    add_filter(‘the_author’, ‘replace_author_name’);


    Clearing my functions.php fixed it, so must be an error in there. I’ll figure it out. Thanks.

    Customer Support

    Glad you figured out ๐Ÿ™‚

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.