- This topic has 4 replies, 3 voices, and was last updated 1 year, 6 months ago by Leo.
January 22, 2021 at 6:17 am #1629189scometamus
first, the theme/plugin is incredible. I got a 98 page score (desktop) and the design-process with the block editor was smooth and relatively easy and innovative.
There are two things I couldn’t solve myself:
1. How can I take use of the %current_year% feature in the footer (I don’t mean the copyright section, just the footer in the elements section) I tried to embed it as a short code, which was not working. In another forum post I found this solution: <?php echo date (‘Y’); ?>, but that wasn’t working either.
2.1 When you are at the home page, you see that ‘HOME’ is red because it’s the page we are on. However, ‘SERVICES’ is red here too. When we are on the ‘ABOUT’ page, ‘SERVICES’ isn’t red anymore. – I guess I know why it is like this: SERVICES is on the same page as HOME, but you need to scroll down to get there. I used anchor links (URL+anchor) to solve it, but then ‘SERVICES’ gets red when it shouldn’t be red. When I use only the anchor #, the ‘SERVICE’ button obviously does not work when I am on another page – but then the ‘SERVICES’ wouldn’t be red when you are at ‘HOME’. – It’s a little confusing, hope I could explain it well enough. I also made a video that is attached privately. Hope it can be solved so ‘SERVICES’ is only red when you click on it and still can stay an anchor link on the ‘HOME’ page.
2.2 There also is a slightly other navigation color issue in the Off Canvas Panel (mobile view only). As seen in attached picture, there is a very thin (black?) line beside ‘SERVICES’. Maybe because it’s a drop-down-menu, I maybe set something up wrong.
Thank you so much in advance and have a great day!
JanJanuary 22, 2021 at 9:48 am #1629599mikeb82
<script>var currDate = new Date(); document.write(currDate.getFullYear()); </script>January 22, 2021 at 10:09 am #1629620LeoStaffCustomer Support
The add_shortcode function can be added using one of these methods:
Adding PHP: https://docs.generatepress.com/article/adding-php/
2. Can you open a new topic for the separate question? Let’s handle one question per topic:
Thanks!January 22, 2021 at 12:51 pm #1629782scometamus
Mike thank you very much!
And Leo thank you too, I’m sorry, I missed that. Will open another one!January 22, 2021 at 5:57 pm #1629933
- You must be logged in to reply to this topic.