wp-config path (2 posts)

  1. certain
    Posted 9 years ago #

    Can someone clear this up for me? I'm trying to learn how to use the mini-loop. What does this mean?

    "$how_many=2; //How many posts do you want to show
    // Change this for your path to wp-config.php file "

    Specifically, how do I know where the path to the wp-config is? My WP install is in the root directory.

  2. Pizdin Dim
    Posted 9 years ago #

    Unless you've moved the files outside their normal hierachy, it doesn't matter. The path to "wp-config.php" is relative to the file the require statement is in.

Topic Closed

This topic has been closed to new replies.

About this Topic