• Hello !

    I’m want to show the picture who is in my article whenn the list of them is display here : https://www.lc2race.com/category/news/

    Whenn I use the fonction “show a picture…” (mettre une image à la une), it doesn’t work.

    I’m using the Tewenty Ten theme.

    How can I do this ?

    Thx.

    Clément.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Your theme may be using <?php the excerpt();?> instead of <?php the_content;?> in its template files. Simply edit the relevant template files and replace <?php the excerpt();?> with <?php the_content;?>.

    Thread Starter Clems92

    (@clems92)

    Thx for your answer.

    I found this funcitons in the “attachement.php”.
    Is it the correct file ?

    I show you the code below :

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

    Thank you !

    Try looking in category.php, archive.php or index.php.

    I’m want to show the picture who is in my article whenn the list of them is display

    I think Clems92 might mean, to show the Post Image in the list veiw?

    Or it could be the gallery view, not sure where to find an article on the gallery and asides categories?

    David

    Thread Starter Clems92

    (@clems92)

    Thank you for your help.

    I show you an exemple :

    You see the picture in this article https://www.lc2race.com/2010/09/13/un-week-end-entre-boue-et-poussiere-aux-24h-tt-de-france/

    So, I want to see this picture (or another one) in the summary of this article, here https://www.lc2race.com/category/news/

    So, how can I proceed ?

    Thank you !

    Clems92

    So, I want to see this picture (or another one) in the summary of this article

    I think you might mean, to show the Post Image in the list veiw?

    These images are set in the admin area’s ‘featured image’, to enable these in a list view, you will need to adjust the code, read some tutorials as a starting point.

    If you mean like this then you will need learn a bit of code and follow the tutorials I linked to above.

    Or do you just want the list view to show the full post content like in your home page?

    These are two different questions and answers.

    David

    Thread Starter Clems92

    (@clems92)

    If you mean like this then you will need learn a bit of code and follow the tutorials I linked to above.

    Yes David !
    I want to have this on this page https://www.lc2race.com/category/news/

    It’s a little bit difficult to translate the WordPress names in English because they have already been translate english to french :p

    I will test this link https://digitalraindrops.net/2010/08/post-images/

    Thank you !

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Thumbnails in articles summary’ is closed to new replies.