Home Support Blog Way Read More tag

This topic contains 9 replies, has 2 voices, and was last updated by  Promenade Themes 3 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1564

    Ellcee
    Participant

    The “read more” link is not showing up on my home page. Can you tell me what I’m doing wrong?

    website: http://www.taxinglessons.com

    TIA, and also thank you for this beautiful clean theme!

    #1565

    Promenade Themes
    Keymaster

    Hi @ellcee,

    Please go to Appearance >> Customize >> Theme Options >> Post(Blog) Options and change value of excerpt length like this https://prnt.sc/ha660o

    If a number of words in the excerpt is less than the value you provide there, continue reading button will not appear.

    Try to give 10 there and check once.

    Hope it will work.

    Thank you.

    #1585

    Ellcee
    Participant

    Thank you for the prompt reply.

    That did not work, so the “read more” is not showing.

    Not a big deal, readers can still click on the title to get the rest of the post; just one of those “I wonder why” questions.

    #1587

    Promenade Themes
    Keymaster

    Hi @ellcee,

    Can you go to Appearance >> Customize >> Theme Options >> Post Options and check if Read More Text is empty?

    Have you changed any code through child theme?

    #1605

    Ellcee
    Participant

    The “Read More Text” verbiage is where it is supposed to be.

    The only code changed through the child theme was to add an automatically updating copyright in the theme footer, and to remove the padding in the upper banner via CSS in the stylesheet. No other changes made because this is a beautiful theme and works very well for my purposes.

    #1610

    Promenade Themes
    Keymaster

    Hi @ellcee,

    It is a strange issue. Can you please provide us your site’s wp-admin logins? If it is possible to provide us login credentials we can check it and provide you a better solution. Please don’t share login details here, send it from contact us page or email us directly.

    Thank you.

    #1618

    Ellcee
    Participant

    Well, before I do that, can I ask if you think the problem may be that I am using the “manual excerpt” on my posts? Because I’m having the same problem on a second site with the same theme.

    website: https://www.topdrawerinkcorp.com/

    If I’m correctly reading the instructions about excerpts on the WordPress site (https://codex.wordpress.org/Excerpt), I may need to add a function (which I am not at all sure I am technically capable of doing) to the child theme.

    From the WordPress excerpt page:

    Excerpt, automatic excerpt, and teaser

    The manual WordPress excerpt is often confused with the automatic excerpt or with the teaser (the part of a post that appears on the front page when you use the More tag). While both are related to the manual excerpt, they are different from it.

    The relationship between the three is this: When a post has no manual excerpt and the post template uses the the_excerpt() template tag, WordPress generates an excerpt automatically by selecting the first 55 words of the post. When the post template uses the the_content() template tag, WordPress will look for the More tag and create a teaser from the content that precedes the More tag.

    Thank you for your patience and assistance.

    #1632

    Promenade Themes
    Keymaster

    Hi @ellcee,

    Yes, read more button will not be visible if you are inserting more tag from the editor. Try to remove it and check once.

    #1636

    Ellcee
    Participant

    Okay, I’m not inserting the more tag from the editor, but I am using the custom excerpt box on the posts, and that is what is causing the “read more” tag to not show up.

    Instead of eliminating the custom excerpt on multiple posts, will it work if I add this code to the functions.php file in the child theme?

    function modify_read_more_link() {
    return ‘Your Read More Link Text‘;
    }
    add_filter( ‘the_content_more_link’, ‘modify_read_more_link’ );

    and this code to the content-single.php file in the child theme?

    function child_theme_setup() {
    // override parent theme’s ‘more’ text for excerpts
    remove_filter( ‘excerpt_more’, ‘twentyeleven_auto_excerpt_more’ );
    remove_filter( ‘get_the_excerpt’, ‘twentyeleven_custom_excerpt_more’ );
    }
    add_action( ‘after_setup_theme’, ‘child_theme_setup’ );

    OR

    could I add only this code to the content-single.php file in the child theme?

    function excerpt_more_link_all_the_time() {

    // Remove More Link from get_the_excerpt()
    function more_link() {
    return ”;
    }
    add_filter(‘excerpt_more’, ‘more_link’);

    //Force read more link on all excerpts
    function get_read_more_link() {
    $excerpt = get_the_excerpt();
    return ‘<p>’ . $excerpt . ‘ … Read More</p>’;
    }
    add_filter( ‘the_excerpt’, ‘get_read_more_link’ );

    }
    add_action( ‘after_setup_theme’, ‘excerpt_more_link_all_the_time’ );

    Thank you for any advice you can give.

    • This reply was modified 3 months ago by  Ellcee.
    #1638

    Promenade Themes
    Keymaster

    Hi @ellcee,

    You can try adding them one by one.

    Hope it will work.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.