Pages with no header in Twentyten theme
-
Hi,
I have crated a web site using a multi lingual plugin called http://dyrlund.com
There are three languages and many product pages that show the same photos in both the English, German and Danish page sets.
Instead of WP’s default way of showing a large version of an image on a white background when you click it, I have created a nice (formatted) page for each large version of the photos and linked to it. There are 70 something individual product photos. So I want to link to the same page with the larger image, regardless which language page is displaying the thumbnail. In other words only one set of pages with large photos for all three languages.My problem is that the header on all the pages display the english navigation bar, which is not desirable when you link to it from the German or Danish pages.
So I have been trying to get rid of the navigation bar on those pages. I figure the navigation is not needed on those pages.
I thought I would use the onecolumn-page.php template for these pages. See http://dyrlund.com/?page_id=2865&lang=da to be able to format them differently.
But all pages templates start by loading the get_header. So I can not edit this in the onecolumn-page.php file. I was then trying to crate a copy of the header.php and call it header2.php. I linked to it from the single column php file, but received an error message saying that get_header2.php was not a known function. I looked for globals in some of the other php files but could not find any globals for header.php.
Then I tried to delete the reference to get_header.php in the onecolumn-page.php file, but then the entire formatting of the page disappeared and I was left with an ugly page.
I also tried to link to a php include page with just the header image. Same result. No formatting.
I have also tried to create a new template, but I can not get it to show as an option in the edit page CMS. I need to be able to switch template on the pages I have already made.
I do not want to create 150 extra pages and link to those to get the navigation language right. There must be a more intelligent approach.
Can you help me?
Thank you on beforehand.
ggaarde
The blog I need help with is: (visible only to logged in users)
-
The simple fact that you are using a Plug-in means only one thing,
Your site is not hosted on WordPress.COM, this site is for support of sites hosted on WordPress.COM. You should address your questions to WordPress.ORG the keepers of the software you are using: http://wordpress.org/support/
For more on the difference: http://support.wordpress.com/com-vs-org/
- The topic ‘Pages with no header in Twentyten theme’ is closed to new replies.