WordPress.org

Forums

More Tag - I can't change the 'Continue reading “...” »' text.. (3 posts)

  1. gbarchik
    Member
    Posted 3 years ago #

    I tried to change lots of codes but nothing worked..
    Someone knows what's wrong?

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Thanks..

  2. Nanang Rukmana
    Member
    Posted 3 years ago #

    check this code

    <?php the_content(__('Leia Mais +')); ?>

    then
    http://codex.wordpress.org/Customizing_the_Read_More

  3. Laversp
    Member
    Posted 3 years ago #

    I have the same issue - have read many articles etc on the codex, but nothing changes the Continue Reading field.

    I am trying the following:`
    <?php the_content('Read more...<img src="' . get_bloginfo('/pal1'). '/images/leaf.gif" alt="read more" title="Read more..." />'); ?>
    or
    <?php the_content('Click to read more...'); ?>
    etc

    I have added this line to Index.php (Right or wrong) based on what I have read..

    <?php get_header(); ?>
    <em><?php global $more; $more=0; ?></em>
    <div class="art-content-layout">
    <div class="art-content-layout-row">
    <div class="art-layout-cell art-content">
    <em><strong><?php the_content('Read more...<img src="' . get_bloginfo('pal1'). '/images/leaf.gif" alt="Read More" title="Read More..." />'); ?></strong></em> <?php
    get_sidebar('top');
    global $post;
    if (have_posts()){
    while (have_posts())
    {
    the_post();
    art_post_wrapper(
    array(
    'id' => art_get_post_id(),
    'class' => art_get_post_class(),

    I have found in wp-includes/post-templates.php the function
    function the_content($more_link_text = null, $stripteaser = false) {
    $content = get_the_content($more_link_text, $stripteaser);
    $content = apply_filters('the_content', $content);
    $content = str_replace(']]>', ']]>', $content);
    echo $content;
    }

    `
    Such a stupid query I know but if i get this right it will cement and answer a lot of other issues. I just think I am missing something basic.. Any Ideas and Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic