WP function on php page
-
Is it possible to call a WordPress function on a page that has nothing to do with WordPress?
For example: I have a PHP document on my server that acts simply as a page of content. Let’s just say it’s called randompage.php. This page has nothing to do with my WordPress installation and is located in a completely different directory.
I obviously can’t just write <?php bloginfo(‘name’); ?> on that page. Is it possible to somehow put some code before the <? php bloginfo(‘name’); ?> to basically say “get this information from my WordPress installation”.
I don’t want to include any other info (such as the theme or header info), just simply the blog title.
Hopefully that makes sense!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘WP function on php page’ is closed to new replies.