• I recently switched from another news script to wp. I plan on using wordpress solely for news/updates.

    The thing is my site is set up using global variables. The index page is a front controller.

    My question is, how would I integrate wordpress with the current setup?

    With my current news script this is the path in the index that displays the news:

    if($go == "" || $go == "home") {
           include('include/header.php');
           $number=7;
           include("/home/sitename/public_html/news/show_news.php");
           include('include/footer.php');

    What would the path be to display the wordpress updates on the index page?

    Any help would be immensely appreciated!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The easiest way would be to paste a feedreader widget on your homepage, then point that to republish your wordpress feed. Feedburner has a feature called Buzzboost that does this.

    The second way is to add this line

    <?php require('./path-to-your-blog/wp-blog-header.php'); ?>

    in your homepage index.php and then paste the snippet in your WP templates that shows ‘Recent Posts’.

    Thread Starter testtones

    (@testtones)

    Thanks for your help, but neither work with the structure of the site (see the snippet I originally gave)

    Any other advice would be immensely appreciated!

    Thread Starter testtones

    (@testtones)

    Anyone, please?

    Again, still wanting to know what exactly do I add to the frontcontroller for it to display the wordpress posts.

    Suggestions would be greatly appreciated!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Integrating wordpress’ is closed to new replies.