link to pages in theme
-
So i have created a bunch of php files within my theme, for example an “about us” file and several others. Each file includes my standard header.php file – adds content- then footer.php file.
I have a drop down navigation menu which i want to link to this about us page. However when i include the full url in the nav menu i get this message:
Warning: main(ABSPATHwp-blog-header.php) [function.main]: failed to open stream: No such file or directory in url/header.php on line 1
Warning: main(ABSPATHwp-blog-header.php) [function.main]: failed to open stream: No such file or directory in url/header.php on line 1
Warning: main(ABSPATHwp-blog-header.php) [function.main]: failed to open stream: No such file or directory in url/header.php on line 1
Fatal error: main() [function.require]: Failed opening required ‘ABSPATHwp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in url/header.php on line 1″
“If i want to link to an external site there are no issues, so how do i
link to files that exist in the current theme?cheers
- The topic ‘link to pages in theme’ is closed to new replies.