I know shit about php, maybe a little bit, but an absolute minimal amount of it. I have been trying to learn what I can along the way and am hoping to learn a bit more now.
I am making a custom theme for Wordpress, it is a three column layout and I will be using a "left-sidebar.php" and "right-sidebar.php" instead of the default "sidebar.php." How do I go about doing this?
This is the extent of my PHP knowledge, I know I can call those files by using
<?php include ( 'right-sidebar.php' ); ?> , but im pretty sure this isnt the way to go, when I try to use <?php get_left-sidebar() ?> I get an error stating that its an undefined function?
I would really appreciate if someone could help me out here and maybe walk me through the process of defining a new function in wordpress. If it meens anything, I will help yah out in the future if you ever need anything that I can help yah with.
Much appreciated! Jer
I am making a custom theme for Wordpress, it is a three column layout and I will be using a "left-sidebar.php" and "right-sidebar.php" instead of the default "sidebar.php." How do I go about doing this?
This is the extent of my PHP knowledge, I know I can call those files by using
<?php include ( 'right-sidebar.php' ); ?> , but im pretty sure this isnt the way to go, when I try to use <?php get_left-sidebar() ?> I get an error stating that its an undefined function?
I would really appreciate if someone could help me out here and maybe walk me through the process of defining a new function in wordpress. If it meens anything, I will help yah out in the future if you ever need anything that I can help yah with.
Much appreciated! Jer