Forums

How do I put latest post above nav menu on homepage? (2 posts)

  1. djpeanut
    Member
    Posted 2 years ago #

    I want to do something that I hoped would be fairly simple, but it seems not to be! On the homepage only, I want to display the excerpt/image of the latest post ABOVE the navigation menu. See this for an example.

    How can this be achieved? I am using Thematic and creating a child theme. I'm trying to hook into thematic_header and use The Loop functions to display only the first post, so that the remaining posts show up in thematic_index_loop, but I just get the error:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'childtheme_index_loop' not found or invalid function name in \wp-includes\plugin.php on line 339

    Any ideas how I should go about accomplishing this scenario?

  2. MichaelH
    Volunteer
    Posted 2 years ago #

    That's the Milano theme so just download that from any of number of places and look at the slider.php template.

Topic Closed

This topic has been closed to new replies.

About this Topic