• I have created a website for our Fringe Festival and it was suggested we have a blog. So I integrated WordPress into my static site. Now what I would like to do is incorporate a WordPress element on the front page.
    Ideally this “div” would display similarly to the “WordPress Development Blog” or “Other WordPress News” elements in the Admin Dashboard.
    It would display summaries of the latest 3 posts on the blog section.
    I know that iframes are not XHTML 1.0 strict compliant and have no clue how to proceed from here.

    The site is https://www.piggybackfringe.ca and the WordPress blog section is under media/blog or https://www.piggybackfringe.ca/wordpress/

    I have never dealt with blogs or WordPress before, so please take it easy on me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • https://www.corvidworks.com/articles/wordpress-content-on-other-pages

    you can use this method to pull blog posts (any number) from your wordpress, to your main site in a div.

    I display 10, but do it in a fix sized div with overflow:scroll, so the div doesn’t take up much space, but posts can be scrolled through. If you want summaries rather than full posts you would use the_exerpt rather than the_content when crafting the loop on your homepage…

    I believe that is how it’s displayed in the link I gave anyway….

    Thread Starter piggy1

    (@piggy1)

    Thanks RVoodoo works like a charm and all that within 3 minutes of posting my question!
    After hours of Googling I finally decided it was time to go here and ask. ??
    Cheers!

    Glad it worked for ya!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Integrating a div on a static page that will display 3 or 4 posts from WordPress’ is closed to new replies.