Formatting the preview of the first post

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

    Hi!

    Now that I’ve finally managed to see the first post as full,
    now I want the first post to be formatted.

    The standard format has two parts:
    the headline and the content-text.
    The text is in one line no breaks – nothing.

    Putting the html-code into the content doesn’t take effect on the very first side.
    In the article it does…

    What must I do to have the format in the preview?

    Thnx!
    Greets
    Geri (http://www.geri.at)

    #13041
    Geri
    Participant

    Push…!

    No clue at all?

    Maybe I can describe it in another way…

    On the main site of the blog I want the first post to be fully shown.
    And to be formatted with linebreaks, spaces, etc.

    The others can stay like they are.

    Any help?

    Thnx!
    Geri

    #13103
    Daniel Tara
    Keymaster

    Open content-*.php and replace this code:

    <div class="entry-summary">
    	<?php the_excerpt(); ?>
    </div> 

    with this:

    <div class="entry-content">
    	<?php the_content(); ?>
    </div> 
    #13120
    Geri
    Participant

    Hi Daniel!

    Thank you for your answer, but if I change the content-image.php, I have the image twice.
    As post-thumbnail and as image in the textarea.

    Be so kind and have a look at http://www.geri.at and see it on the 3rd entry (Annaberg).
    (the 1st and the 2nd are the entries I’m playin around)

    How to get rid of the doubles?

    Thnx!
    Greets
    Geri

    #13122
    Daniel Tara
    Keymaster

    Try placing a more link before the image in the content.

    #13133
    Geri
    Participant

    It would work, but then I always would have to edit the last article too by updating my page.

    Inserting the more-link would cut the actual article aswell.

    I want to have an image in the article because, if I link it somewhere else,
    it would only be the text.

    Mybe there is another way?

    Thnx!

    Greets
    Geri

    #13135
    Geri
    Participant

    Maybe there is a chance to hide the post thumbnails?

    #13144
    Daniel Tara
    Keymaster

    There is, delete the call to the function pinboard_post_thumbnail();.

    #13149
    Geri
    Participant

    Ups – just damaged my functions.php!
    Parse error: syntax error, unexpected T_STRING in /home/.sites/637/site1513/web/wordpress/wp-content/themes/pinboard/functions.php on line 1512

    Does somebody has the code for it?

    Thnx
    Greets
    Geri

    #13150
    Geri
    Participant

    Well, actually I need an original functions.php from the pinboard theme.

    If somebody can post it, it would really help me out…!

    geri70(at)gmail.com

    Thnx in advance!
    Geri

    #13152
    Daniel Tara
    Keymaster
    #13154
    Geri
    Participant

    Thank you Daniel, you really saved my day!

    Just one question:
    How do I delete the call to the function pinboard_post_thumbnail();?

    Where to put the /** */?

    Thnx!
    Geri

    #13156
    Daniel Tara
    Keymaster

    You can find it in all content-*.php files. Either put the call to the function between comment tags or remove the line completely.

    #13173
    Geri
    Participant

    By doing that, the sidebar disappears…

    Is the code right?:
    // function pinboard_post_thumbnail() {

    Greets
    Geri

    #13181
    Daniel Tara
    Keymaster

    You don’t need to edit the functions.php file but the content-*.php files.

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in to reply to this topic.