again: the "read more…" thing…

Viewing 15 posts - 1 through 15 (of 15 total)
  • #12329
    Geri
    Participant

    Hi!

    I tried the things I read about the excerpt length and to display the full article (the first).
    I edited the functions.php and tried some plugins – none of that worked for me…

    What I want is to have a “read more…” on the article with a long text.

    Maybe somebody can give me step-by-step tutorial about this…?

    Thnx in advance
    Geri (http://www.geri.at)

    #12331
    Rajesh Kannan MJ
    Participant

    Hi,

    So you want to have a “read more” link right after the text

    “Ein Foto zum Herzeigen, zum Andenken, zum Angeben oder vielleicht auch nur …”

    Right?

    #12332
    Geri
    Participant

    Yes, that’s my goal…! πŸ˜‰

    #12333
    Rajesh Kannan MJ
    Participant

    Ok, Let me check and get back to you.

    #12334
    Rajesh Kannan MJ
    Participant

    Hi,

    You need to open the content.php file. In the 18th link you can see this code

    Just add the following code below it.

    <a href="” rel=”bookmark” title=””>Read More…

    I hope that will help you.

    Best Regards,

    Rajesh
    WordPress Themes

    #12335
    Rajesh Kannan MJ
    Participant

    Opps, I am not able to post code here. Please wait.

    #12336
    Rajesh Kannan MJ
    Participant

    Hi,

    Look at this page

    http://pastebin.com/fhENn6W1

    You can see what you need to do in the content.php file.

    #12337
    Geri
    Participant

    Hi!

    I did – no change… πŸ™

    #12338
    Rajesh Kannan MJ
    Participant

    May i know what layout you have chosen in layout manager of theme options?

    #12339
    Rajesh Kannan MJ
    Participant

    Just uploaded a screenshot on how it looks to me in my localhost. http://www.twitpic.com/bzzd15

    May be you are looking at cache files?

    You can mail me if you want. So i can check your site directly. Just if you want.

    #12342
    Geri
    Participant

    Hi!

    I have chosen the Layout with 1 header, 1 content and 1 sidebar.

    Did empty the cache aswell.

    My problem now is, that I will be offline now and probably be online tomorrow…

    If I then still can’t find the error I will post agaoin…!

    Thanx!

    Greetings from Vienna!
    Geri

    #12343
    Rajesh Kannan MJ
    Participant

    No Problem. We can meet later πŸ™‚

    #12356
    Alexander
    Participant

    Hi Geri,

    I wrote a tutorial how to add a more link to the excerpt:

    http://www.mouseclick.com/tutorials-2/add-a-link-to-automatic-excerpt/

    Cheers,
    Alexander @ http://www.mouseclick.com

    #12425
    Geri
    Participant

    I edited the functions.php and changed the code from 40 to 90:
    function pinboard_excerpt_length( $length ) {
    if( pinboard_is_teaser() ) {
    if( has_post_format( ‘aside’ ) )
    return 36;
    else
    return 22;
    } else
    return 90;

    Now I’m able to view the first post as full.

    So, and now I’m trying to get the text on the frontpage formated…!


    @Alexander
    : I will try your tutorial aswell – thank you for the link!

    Greets
    Geri

    #12694
    mikeelroy
    Participant

    I’m using the Post Teaser plugin. Very handy. Just set the amount of words, and check the first box at ‘tease message control’.
    Then put something like this in the 2nd text box:

    http://pastebin.com/HrXQq5V0

    Good luck!

    • This reply was modified 11 years, 3 months ago by mikeelroy.
    • This reply was modified 11 years, 3 months ago by mikeelroy.
    • This reply was modified 11 years, 3 months ago by mikeelroy.
Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.