Site logo

[Resolved] Blog, Sidebar, Header Menu, Failing Elements

Home Forums Support [Resolved] Blog, Sidebar, Header Menu, Failing Elements

Home Forums Support Blog, Sidebar, Header Menu, Failing Elements

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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/SQh6rnF

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

    Thank you very much.
    Inoruhana

    #2420901
    Fernando
    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

    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?

    #2420904
    inoruhana

    Hi Fernando,

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

    Thanks,

    #2420909
    Fernando
    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.

    #2420924
    inoruhana

    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.

    #2420942
    Fernando
    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!

    #2422402
    inoruhana

    Many thanks.

    Best regards,
    Inoruhana

    #2424641
    Fernando
    Customer Support

    You’re welcome Inoruhana!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.