Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Forum: Fixing WordPress
    In reply to: Barebones WP
    Thread Starter f4lieson

    (@f4lieson)

    Yeah, you guys posted that as I wrote my post.
    http://www.cpsigmapi.org/new2/intro.php

    <?PHP include ‘../new/wordpress/wp-config.php’;?>
    <?php define(‘WP_USE_THEMES’, false); get_header(); ?>
    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <?php endwhile; else: ?>
    <?php _e(‘Sorry, no posts matched your criteria.’); ?>
    <?php endif; ?>

    Forum: Fixing WordPress
    In reply to: Barebones WP
    Thread Starter f4lieson

    (@f4lieson)

    I have no idea how wp works, I just installed it and have been messing around trying to use it how I want.

    so in my website I should include wp-config.php, but something else too – that just creates the connection to the db.

    I guess I just don’t understand what you mean by ‘treat your php page like a WP theme (make a loop)’.

    Is there a doc somewhere (that I couldn’t find) explaining how to do what I want to do?

    Forum: Fixing WordPress
    In reply to: Barebones WP
    Thread Starter f4lieson

    (@f4lieson)

    what do you mean by make a loop?

Viewing 3 replies - 1 through 3 (of 3 total)