Site logo

Archived topic

Blog, Sidebar, Header Menu, Failing Elements

7 replies · Started by inoruhana on November 17, 2022

Viewing posts 1–8 of 8

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/SQh6rnF

My site is: https://inoruhana.net/

Thank you very much.
Inoruhana

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

Reference: https://www.wpbeginner.com/plugins/reorder-wordpress-posts-using-drag-drop/#code:~:text=be%20highlighted%20differently.-,Method%205%3A,-Modify%20WordPress%20Query

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?

Hi Fernando,

I really appreciated your supre-rapid reply.
2. Yes, I am referring to have Tabs in the Sidebar.

Thanks,

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.

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!

Many thanks.

Best regards,
Inoruhana

You're welcome Inoruhana!

This archived topic is closed to new replies.