WordPress.org

Support

Support » How-To and Troubleshooting » How to add pages outside of WordPress?

How to add pages outside of WordPress?

  • occultbeauty
    Member

    @occultbeauty

    Well I’ve looked this up on google but my results aren’t coming out right all so hopefully someone on here can help me…

    I have content I would like to add to my WP that I would like NOT to be made with wordpress pages. I just want the theme. I know that I’m supposed to use some php tag that involves my absolute path but do I also include all the directories that lead to the file? Like this:

    /home/USERNAME/public_html/wordpress/wp-content/themes/THEME-NAME?

    I doubt that’s right, though. If anyone can help me, please explain it as best as you can because this is all kind of confusing to me.
    Thanks!

Viewing 1 replies (of 1 total)
  • Tdude
    Participant

    @tdude

    Naaah. Wp and the good folks behind it are kinder than you think. To get to your template’s root (ie “virtual” site root), just copy this before your file or directory name in the anchor link:
    <?php bloginfo(‘template_directory’);?>

    Check the header.php and the link to style.css in use on the default theme.
    /T

Viewing 1 replies (of 1 total)
  • The topic ‘How to add pages outside of WordPress?’ is closed to new replies.