Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3300

    Hi,

    first excuse my french ;o)

    i would like to add a picture on the search result page, and also main categorie possible ?

    on this pages and other categories results:

    http://www.terres-dananda.com/category/tous-ensemble/

    to look as the other website pages: eg.

    http://www.terres-dananda.com/2011/01/21/creation-papier-artiste-sandrine-beaudun/

    It should be the same image that on my homepage: http://www.terres-dananda.com/

    Thanks if you have idea on how i could introduce this to all result page, the big image under the main menu sidebar.

    Best regards,

    Raphaël nordier

    #41577

    Hey,

    you can add an image to your archive template by modifying archive.php. Open up the file and search for following code:

    <div class="center">

    <div id="main">

    Replace it with:

    <div class="center">

    <img title="accueil" alt="accueil" src="http://www.terres-dananda.com/wp-content/uploads/2010/11/accueil.png" style="visibility: visible; display: block;">

    <div id="main">

    and the image should appear between your main menu and the archive entries….

    #41578

    Thanks ;o)

    May i do it also with the page of search results ?

    regards,

    raphael

    #41579

    Yes,

    just modify search.php the same way like archive.php (see instructions above)

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Add a picture on the search result page, and also main categorie possible ?’ is closed to new replies.