• Hi,

    I have integrated a WordPress pages into a community site (which is just static HTML) so that the members have an area to update themselves.

    The wordpress functionality gives them control over a ‘News’ page and an ‘Events’ page.

    I have some code which allows the most recent posts to show up on the static homepage but I want to show the most recent ‘News’ and the most recent ‘Events’ posts in separate areas rather than the same area.

    The code I have used is:

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

    You can view the site at: https://www.titchfieldbonfireboys.co.uk/new_index.php

    Many thanks in advance for your help.

  • The topic ‘Adding Posts to a Static Site Homepage’ is closed to new replies.