- This topic has 4 replies, 3 voices, and was last updated 3 years, 3 months ago by Leo.
-
AuthorPosts
-
January 22, 2021 at 6:17 am #1629189scometamus
Dear Generatepress-support,
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!
Jan
January 22, 2021 at 9:48 am #1629599mikeb82You can add the year to your footer with inline JavaScript.
<script>var currDate = new Date(); document.write(currDate.getFullYear()); </script>
January 22, 2021 at 10:09 am #1629620LeoStaffCustomer SupportHi Jan,
1. This should help:
https://generatepress.com/forums/topic/footer-bar-multiple-widgets-how-to-align-them/#post-802625The 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:
https://www.screencast.com/t/Az1tllxamilsThanks!
January 22, 2021 at 12:51 pm #1629782scometamusMike 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 #1629933LeoStaffCustomer SupportNo problem π
-
AuthorPosts
- You must be logged in to reply to this topic.