Support » Plugins » Hacks » Can’t find files from sidebar.php statement

  • I am using WP ver. 3.0.4 with buddypress plugin, and custom-community theme
    I put a switch statement in the theme/sidebar.php and the action in the theme/index.php which selects which theme/inc.php file to run . when I enter the switch statement the “home page” (index.php) acts properly (displays the menu and runs .php from the root/ and displays above the posts . Then I put the same action code in theme/page.php. When I go to a “page” and then enter the switch on the sidebar only the HTML menu from the theme/.inc.php displays on the page and doesn’t run the root/.php like it does on the home page. So it cant locate the root/.php or image files. How can I get the root/.PHP program to run from the theme/page.php? any help is appreciated.

  • The topic ‘Can’t find files from sidebar.php statement’ is closed to new replies.