Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1164704

    hello
    I want to show full title of Related Entries, not “…”

    how to do this?
    thanks.

    #1164714

    Hey Moaaaaya,

    Please provide a link to the site page in question so we can look into this issue further.

    Best regards,
    Jordan Shannon

    #1164728

    link

    #1164755

    Hi,

    Thank you for the update.

    You have to modify the wp-content\themes\enfold\includes\related-posts.php file, look for this code around line 109:

    if(!empty($title_short)) $related_post->post_title = wp_trim_words($related_post->post_title, 17);
    

    Remove the wp_trim_words altogether or adjust the num_words (number of words) parameter value from 17 to a higher value.

    // https://developer.wordpress.org/reference/functions/wp_trim_words/

    Best regards,
    Ismael

    #1164762

    thanks,
    it’s work,
    it’s seem better now^^

    #1164859

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Post Related Entries ,how to show full title?’ is closed to new replies.