• 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
    require_once(“blog/wp-config.php”);
    // 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.

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘wp-config path’ is closed to new replies.