Well, I did have a sidebar.php file for my Wordpress theme, but it turns out that sidebar needs to be somewhat dynamic.
I had just done this to call the PHP file from my homepage:
I made the sidebar.php file into a custom Wordpress Page template, and I have function calls to fill in the information I need:
Is there a way to call the PHP file now?
and
Do not work. They error out.
Do I even need PHP reference, can I just reference that extension-less link that Wordpress creates(the latter)?
I had just done this to call the PHP file from my homepage:
PHP:
<?php include_once "sidebar.php"; ?>
I made the sidebar.php file into a custom Wordpress Page template, and I have function calls to fill in the information I need:
PHP:
<?php the_content(); ?>
PHP:
<?php the_meta(); ?>
Is there a way to call the PHP file now?
PHP:
<?php include_once "http://website.com/sidebar.php"; ?>
and
PHP:
<?php include_once "http://website.com/sidebar"; ?>
Do not work. They error out.
Do I even need PHP reference, can I just reference that extension-less link that Wordpress creates(the latter)?