• header should continue ‘so on’…
    Anyway, I’ve just upgraded from 0.72 to 1.2 (Mingus) and I’m generally very happy. Congratulations on the great work.
    I am having one problem though. No matter what I do, I cannot get list_cats or the_content to point to my custom files instead of the default index.php.
    I’ve double- and triple-checked the php in my template files but just for clarity, here’s what I’m using:
    <?php the_content(‘<b>Full Story</b>’,’1′,’article.php’); ?>
    But instead of heading off to article.php (or, in the case of list_cats, catview.php) it’s going to my default – index.php. The problem persists with wp_list_cats; the other parameters work correctly.
    The wiki referred me to https://www.ads-software.com/support/3/4236, which seems offer the solution – but implementing this gave me error messages.
    Any help would be greatly appreciated.
    cheers
    Nick

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter tvtoday

    (@tvtoday)

    That’s possible, as the thread is from April this year and refers to version 1.0.
    I systematically re-implemented the changes suggested by the thread. The changes to wp-includes-links.php do not break WordPress but they leave the links pointing to nowhere – ie https://www.mysite.tld/?p=304
    The changes to wp-includes-post.php do break the loop; it gives an error ‘unexpected ‘;’ on line 119 – but in my file, the only semi-colons come as part of ‘amp;amp;’
    It’s a mystery to me, I hope someone can solve the problem, but I’m surprised its not been highlighted before. This is a fairly fundamental feature of WordPress – at least, it is to me…

    lines 127 & 128 of wp-includes/template-functions-post.php has:
    } else {
    $output .= ' $more_link_text";

    all you would have to do is change it to:
    } else {
    $output .= " ".$more_link_text."";

    =)

    let’s try this one more time with backticks:
    } else {
    $output .= ' $more_link_text";

    all you would have to do is change it to:
    } else {
    $output .= " ".$more_link_text."";

    let’s try this ONE MORE time with backticks AND NOT without '
    } else {
    $output .= ‘ $more_link_text“;
    all you would have to do is change it to:
    } else {
    $output .= ” “.$more_link_text.”“;`

    i hate myself
    } else {
    $output .= ' $more_link_text";

    all you would have to do is change it to:
    } else {
    $output .= " ".$more_link_text."";

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘‘File’ parameter in the_content, list_cats, and’ is closed to new replies.