Special characters in single product prev next navigation not displayed correctly

This topic has 7 replies, 3 voices, and was last updated 9 months, 3 weeks ago ago by Andrew Mitchell

  • Avatar: kikjou
    Martin
    Participant
    June 20, 2023 at 10:15

    Hi,

    due to naming conventions of my products I have to use single quotation marks in the product name.
    Those are not rendered properly in the prev nex navigation. Instead the html code is shown. Interestingly, not always, sometimes it affects ‘ at other times ’

    https://prnt.sc/xNluG58hDTtt

    Best regards
    Martin

    6 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 20, 2023 at 10:18

    Hello, Martin,

    Thank you for getting in touch with us.

    Could you provide temporary wp-admin and FTP access?

    Kind Regards,
    8theme team

    Avatar: kikjou
    Martin
    Participant
    June 20, 2023 at 10:22

    Hello Rose,

    thank you, please find the credentials in the private area

    Best regards

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 20, 2023 at 11:28

    Hello, Martin,

    By default we cropped the titles to display them not too long but in some cases such as you have it is really better to show full title because of breaking chars inside the content. We have added the next code to your child-theme/functions.php

    add_filter('etheme_prev_next_title', function ($title, $full_title) {
    return $full_title;
    }, 10, 2);

    Please clear cache and check now.

    Kind Regards,
    8theme team

    Avatar: kikjou
    Martin
    Participant
    June 20, 2023 at 11:57

    Hello Rose,

    great!! Yes, it works. Showing the full title suits my products much better in general, so thank you very much!

    Kind regards
    Martin

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 20, 2023 at 12:01

    Hello, Martin,

    You’re welcome!
    We would be grateful if you could take a moment to rate our product – https://themeforest.net/downloads – with 5 stars on ThemeForest!

    Kind Regards,
    8theme team

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    March 5, 2024 at 16:38

    Dear Martin,

    We hope you’re reveling in the experience our theme brings! Your enthusiasm is what fuels our passion. Would you be so kind as to channel that energy into a 5-star rating on ThemeForest? Your feedback is the spark that lights our way!

    Click here to spread the love: https://themeforest.net/downloads

    Thank you for being an integral part of our journey!

    Best Regards,
    The 8Theme Team

  • Viewing 7 results - 1 through 7 (of 7 total)

The issue related to '‘Special characters in single product prev next navigation not displayed correctly’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.