• hello

    something happen , what i had not before
    on the main page of my blog are the links not showing of posts
    https://www.genderweb.org/

    but in the last post is a link , if you click on the title or read more u will see
    i was add in function.php this but think this not the reason
    “/* Modify the read more link on the_excerpt() */

    function et_excerpt_length($length) {
    return 220;
    }
    add_filter(‘excerpt_length’, ‘et_excerpt_length’);

    /* Add a link to the end of our excerpt contained in a div for styling purposes and to break to a new line on the page.*/

    function et_excerpt_more($more) {
    global $post;
    return ‘<div class=”view-full-post”>ID) . ‘” class=”read-more”>read more</div>;’;
    }
    add_filter(‘excerpt_more’, ‘et_excerpt_more’);”

Viewing 1 replies (of 1 total)
  • It is not very clear what you are asking. ut let me see if I understand it correctly:
    I think you are trying to say that on the main page, only the last post has “Read More” link. No other post has the link.
    This is because the excerpt length has been set to 220 words by the filter. This means that if a post contains more than 220 words, then while displaying archives, a “read more” link will be displayed near the post excerpt.

Viewing 1 replies (of 1 total)
  • The topic ‘link not working main page’ is closed to new replies.