How to use the function of wordpress in the director on another folder

Status
Not open for further replies.

kaizer01

Active Member
1,131
2011
172
720
In the public_html I have installed my wordpress there, the folder wp-content wp-admin were there
I'm thinking if I have another folder called 'test-folder' and I have a file there which is test.php. how do I output the title of particular post like site.com/p=1 into site.com/test-folder/test.php?p=1
the test-folder/test.php have only the code
<?php
echo get_the_title
(); ?>Please help me I'm lost.
 
2 comments
You'll have to include some of the wordpress files, since the files in that folder have no connection with wordpress, don't know which ones.

If you wanna play around create a private page,
then create a page-name_of_your_private_page.php file in your theme and you can do your stuff there.
 
Status
Not open for further replies.
Back
Top