- This topic has 7 replies, 2 voices, and was last updated 3 years, 5 months ago by
Fernando.
-
AuthorPosts
-
November 17, 2022 at 11:25 pm #2420879
inoruhana
Hello Support Team,
I just started the Premium Theme this morning.
I would like to ask your supports.
Firstly, in Blog, I would like to show the list of posts from the oldest posts to the newest ones.
You can see it here: https://ibb.co/4pH8vRx
Secondly, in the right Sidebar, I would like to show the Categories into 4 columns as the following screenshot.
https://ibb.co/xGCxn4z
Thirdly, I do not want to show the Menu in the Header.
https://ibb.co/Pzbh3C0
Finally, I would like to solve the issue of “[aria-*] attributes do not match their roles” which is shown in the PageSpeed Insights as following: https://ibb.co/SQh6rnFMy site is: https://inoruhana.net/
Thank you very much.
InoruhanaNovember 17, 2022 at 11:40 pm #2420901Fernando Customer Support
Hi Inoruhana,
1. Try adding this PHP snippet:
function wpb_custom_query( $query ) { if( $query->is_main_query() && ! is_admin() && $query->is_home() ) { // Set parameters to modify the query $query->set( 'orderby', 'date' ); $query->set( 'order', 'DESC' ); } } add_action( 'pre_get_posts', 'wpb_custom_query' );Adding PHP: https://docs.generatepress.com/article/adding-php/#code-snippets
2. Are you referring to having Tabs?
3. Go to Appearance > Customize > Layout > Primary Navigation, and set the Navigation Location to
No Navigation. Reference: https://docs.generatepress.com/article/navigation-location/4. Can you start a new topic regarding the aria issue?
November 17, 2022 at 11:48 pm #2420904inoruhana
Hi Fernando,
I really appreciated your supre-rapid reply.
2. Yes, I am referring to have Tabs in the Sidebar.Thanks,
November 17, 2022 at 11:58 pm #2420909Fernando Customer Support
2. I see. You’ll need a third-party plugin for this. Someone recommended this previously: https://en-ca.wordpress.org/plugins/tabs-responsive/
This article may also help: https://blog.hubspot.com/website/10-best-wordpress-tab-plugins
How are you planning to choose which category goes to which column? Or is this random? I believe for this, you’ll need custom code potentially.
November 18, 2022 at 12:13 am #2420924inoruhana
Thanks a lot Fernando.
1. In the first issue, with that PHP, replacing is_home into is_category is working well in my case.
2. I am planning to choose the categories for those columns (tabs).
4. I am going to open a new ticket.November 18, 2022 at 12:24 am #2420942Fernando Customer Support
You’re welcome Inoruhana!
1. I see. Glad you got that working!
2. For design purposes, you can probably use a GenerateBlocks Headline Block inside your Tabs Plugin if you are planning to add it manually.
4. Thank you!November 18, 2022 at 8:33 pm #2422402inoruhana
Many thanks.
Best regards,
InoruhanaNovember 20, 2022 at 5:05 pm #2424641Fernando Customer Support
You’re welcome Inoruhana!
-
AuthorPosts
- You must be logged in to reply to this topic.