Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Plugins
    In reply to: Display Code

    Code markup does that.

    Also, you can always write your code in a text-editor like notepad or whatever you use. After, write a new post (here comes the tricky part), switch to code view, add line like < pre >replace</ pre > (without the extra spaces), then switch back to visual. Select the word “replace” and replace it with code from your text editor.

    The wp-config file is not only a simple connect file, but the gateway to all the WordPress functions.
    Try this:

    <?php
    include "[PathToYourBlog]/wp-config.php";
    bloginfo('name');
    ?>

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