- This topic has 11 replies, 2 voices, and was last updated 7 months, 1 week ago by
Fernando.
-
AuthorPosts
-
August 16, 2022 at 6:06 pm #2315096
Gao
Hi, GP team,
We have two questions.
1. When checking your official demo site in the site library, we saw the hook menu_bar_items hook is used in several site headers.
However, in our new installation, we can’t find this hook.
The stranger thing is that this hook appears only if we import the demo site.
We wonder why. It seems some hooks are hidden by default.
Do you have a full list of hooks?
2. Previously, we can easily log in GP site. But now, everytime, a code is needed. The problem is that I need to ask my boss for a code each time. It’s not convenient. Is it possible to turn off the code authentication for our account?
Thank you.
Jack
August 16, 2022 at 6:26 pm #2315103Fernando Customer Support
Hi Jack,
1. That’s odd. It should be there. What Element are you creating? A Block or Hook element?
2. Can you raise a ticket here?
August 16, 2022 at 7:01 pm #2315112Gao
Hi, Fernando,
Thanks for your quick response.
1. I shared with you two of our sites, you can log in and check.
For rotarykilnfactory.com this site, demo was never imported and we can’t find this hook. While in the other site, zxx.agicogroup.com, because we imported a demo site where this hook is used, so we can see this hook in the list.
Actually, I found this problem in all of our sites that build with GeneratePress.
We are really confused….
August 16, 2022 at 7:16 pm #2315118Fernando Customer Support
Can you try #1 here?: https://docs.generatepress.com/article/debugging-tips/
It would be good to take a backup of your site first before doing this.
August 16, 2022 at 8:00 pm #2315127Gao
Hi, Fernando,
I believe you didn’t log in to the site I send to you.
zxx.agicogroup.com this site has only GeneretePress and GP Pro activated.
Please log in and check.
Thank you.
Jack
August 16, 2022 at 8:04 pm #2315129Fernando Customer Support
I did to the second one, the one with the issue. Try deactivating non-GP plugins there.
August 16, 2022 at 8:29 pm #2315136Gao
Hi, Fernando,
You should log in to the first one rotarykilnfactory.com.
Like I posted
For rotarykilnfactory.com this site, demo was never imported and we can’t find this hook. While in the other site, zxx.agicogroup.com, because we imported a demo site where this hook is used, so we can see this hook in the list.
I just logged in and deactivated all other plugins. Still can’t find the hook.
Jack
August 16, 2022 at 8:44 pm #2315144Fernando Customer Support
Thank you for testing.
I found the issue. It seems your second site, the rotary site, is still using the float system. The other one is using already using the flexbox system.
The float system was from older versions. You’ll need to switch to the flexbox system to have
generate_menu_bar_items
.Reference: https://docs.generatepress.com/article/switching-from-floats-to-flexbox/
August 16, 2022 at 8:58 pm #2315152Gao
Thank you very much Fernando!
But in the link you send to me, I didn’t find how to switch from float to flexbox.
Do you have such guide?
Thanks.
August 16, 2022 at 9:03 pm #2315155Fernando Customer Support
The option to switch should be in Appearance > Customize > General > Structure.
It would be good to take a backup of your site first before doing this.
August 16, 2022 at 10:53 pm #2315218Gao
Hi, Fernando,
Thank you so much!
The problem was solved!
Jack
August 16, 2022 at 10:55 pm #2315219Fernando Customer Support
You’re welcome Jack!
-
AuthorPosts
- You must be logged in to reply to this topic.