WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] $more_link_text actually appears in post (2 posts)

  1. vrm
    Member
    Posted 8 years ago #

    Hi Folks,

    On the blog [http://blogs.lifechurchministries.org/think/ ] $more_link_text appears instead of (continues...)

    from template-functions-posts
    function the_content($more_link_text = '(continues...)', $stripteaser = 0, $more_file = '') {
    $content = get_the_content($more_link_text, $stripteaser, $more_file);
    $content = apply_filters('the_content', $content);
    $content = str_replace(']]>', ']]>', $content);
    echo $content;
    }

    or (Read the rest of this entry)from the index.php

    Warning: I do not know PHP

    Thanks.

  2. vrm
    Member
    Posted 8 years ago #

    Afters hours of trial and error, the solution was one those "DUH".

    I selected the wrong "output" code for the templates-funtions-post.php. Should have chosen $output .= ' <a href="'. get_permalink()
    ."\">$more_link_text</a>";

Topic Closed

This topic has been closed to new replies.

About this Topic