WordPress.org

Ready to get started?Download WordPress

Forums

need help urgently (2 posts)

  1. sushil23424
    Member
    Posted 4 years ago #

    i want to know that how i can add my own php file say test.php in the wordpress and can call that file puting a link the right sidebar

    assume that i have only this much code in the test.php
    <?php
    echo "hello this is test";
    ?>

    and when i click a link site should the "hello this is test" in the body portion

    thanks in advance
    please reply soon

  2. zygosgames
    Member
    Posted 4 years ago #

    this is the wrong place to ask for support

    and surely you need to define where this will appear in the file you want it to appear in?

    so you need a line of code in body.php or wherever you're wanting to put it.

Topic Closed

This topic has been closed to new replies.

About this Topic