I'm developing a long scrolling one pager with TheGem, which will also include a blog on one separate page. The blog posts obviously open on a separate page (single blog post page), which is fine, but I would need a different navigation on those single pages in order to direct the user back to the main long scrolling page. I tried various plugins but they all do not work with your theme. I also tried to change the code in the header of my child theme without any luck:
I came so far, but would require the change/replacement code for the else loop below in order to select a second menu in Appearance -> Menu called back-for-good-blog-menu
Attached is a screenshot for the header of the long scrolling page. You can see 4 navigation buttons and the centred logo. The navigation buttons direct to 4 areas on the long scrolling page.
The second screenshot shows a single blog post, after one blog teaser has been clicked on. The navigation only shows "Home", which is the only item as part of back-for-good-blog-menu. But I like my logo there in the center too.
Hi there,
I'm developing a long scrolling one pager with TheGem, which will also include a blog on one separate page. The blog posts obviously open on a separate page (single blog post page), which is fine, but I would need a different navigation on those single pages in order to direct the user back to the main long scrolling page. I tried various plugins but they all do not work with your theme. I also tried to change the code in the header of my child theme without any luck:
change to something like
I'm developing still locally, so can not share a URL.
Many thanks
otti
Addition:
I came so far, but would require the change/replacement code for the else loop below in order to select a second menu in Appearance -> Menu called back-for-good-blog-menu
Many thanks
otti
Hi,
Here is the code example:
Where 11111 - page ID where you need to set one page menu.
22222 - one page menu ID.
Add this code to the functions.php of the child theme.
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Hi Gregor,
It kind of works with the following code
But the problem is that I will not have my logo in there, as per the usual navigation. What is missing is the following list item:
Can this be added somehow?
Many thanks
otti
Sorry, can't understand the problem by your code...
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Can you add few screenshots?
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Sure can.
Attached is a screenshot for the header of the long scrolling page. You can see 4 navigation buttons and the centred logo. The navigation buttons direct to 4 areas on the long scrolling page.
The second screenshot shows a single blog post, after one blog teaser has been clicked on. The navigation only shows "Home", which is the only item as part of back-for-good-blog-menu. But I like my logo there in the center too.
Sorry, can't say you anything without the access.
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Ok. I try to upload in the next few days to show you. This is a vital point of that site, otherwise I will not be able to use The Gem.
Many thanks
otti
ok, let me know
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver