WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Suffusion "continue reading" = "continue reading 'TITLE' " ? (4 posts)

  1. berrics
    Member
    Posted 4 years ago #

    hey guys,

    first off all thanks a lot for creating such an amazing themme as suffusion. Thanks :-)

    One short question: One the main page it usually says "Continue reading" and by clicking on that you get to see more of that post. Now what I want it to say is "continue reading POST TITLE"

    I am looking at this line in the actions.php where it says:
    backticks
    the_content(__('Continue reading', 'suf_theme').' »');
    backticks

    now I guess somewhere I have to insert something like "get_the_title" but as my php skills are very limited, I just dont know where to put it and I have tried a lot of different possibilites.

    Your help is much appreciated guys :)

    Cheers

    Ben

  2. ajithkpunnoose
    Member
    Posted 4 years ago #

    Can you tell us in which file the above code was located?

  3. Sayontan Sinha
    Member
    Posted 4 years ago #

    Try:
    the_content(sprintf(__('Continue reading %1$s »', 'suf_theme'), get_the_title($post->ID)));

  4. berrics
    Member
    Posted 4 years ago #

    @ sayontan

    You sir are an genius, a professional in a world of amateurs :-)

    Oh, and a digital high five goes out to you.

    Cheers and thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags