• Hello, I just recently installed wordpress and I was wondering if it was at all possible to make it where, wordpress would show the first 5 maybe 10 post on the index page of the regular html site. Then if they clicked on the post it would take them to the actual blog page. Does anybody know how this can be accomplished. I don’t want to move my blog to my root, i’ve already styled up an html/css page, and having wordpress as my root is not the direction i wanna go in, just instead, use it to link to my index page. TiA

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter Anthony

    (@madburner)

    after looking in the mysql database, it seems that I need to include

    $news=$wpdb->get_results(“SELECT *, FROM $wpdb->posts

    but still doesn’t show it, why?

    SELECT * is suppose to show it right?

    Thread Starter Anthony

    (@madburner)

    anyone know this one???? or how to get their /blog to show in the index.php homepage. just the first 5 blog and the sidebar

    @madburner – have you tried the search feature here? This is a VERY commonly asked question.

    I’ve already handed you some links. The mini-loop approach will work fine. Learn more about The_Loop by reading. Learn more about data to show by have a look at Template_Tags.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Linking blog file root (index.php) into your index.html (hompage root)’ is closed to new replies.