[Support request] Display Child Menu Page Items on Parent Pages

Home Forums Support [Support request] Display Child Menu Page Items on Parent Pages

Home Forums Support Display Child Menu Page Items on Parent Pages

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1422328
    Nic

    Assume I have a store section of my site and each section has Amazon product items in their respective categories.

    How can I have a customer click on parent category such as Wheels and it displays the subcategory items contained in both child menu pages of Aluminum and steel. As of now if you click on Wheels it will just take you to a blank Wheels page. I would rather the Wheels page display all products listed on the child pages.

    CAR PARTS STORE
      Exhaust
      Wheels
        Aluminum
        Steel
      Exterior
        Roof Rack
    #1422334
    Leo
    Staff
    Customer Support

    Hi there,

    I believe you are looking for something like this:
    https://generatepress.com/forums/topic/additional-menu-in-sidebar-active-item-opened/#post-1060386

    If you are looking for the primary navigation, then replace:
    .sidebar .secondary-navigation

    with
    .main-navigation

    #1422363
    Nic

    Sorry, I am new to working with wordpress but that does not to seem to accomplish what I am trying to do.

    Say I click on ‘Wheels’ parent menu page from my example. I want the ‘Wheels” page to have on it Aluminum and Steel product items hopefully with a heading for the category. Does that make sense?

    I do not want the customer to have to click on Aluminum or Steel necessarily if they want to see all options.

    #1422366
    Leo
    Staff
    Customer Support

    Any chance you can link me to the current site so I can take a look at your setup?

    And do you have an example of what you’d like to achieve?

    Thanks ๐Ÿ™‚

    #1422370
    Nic

    Thanks for the offer, here it is. I am just getting started and trying to test my method of building this out.

    This is the Electrical category page. I want when a customer clicks on Electrical and goes to Electrical page for it to display the items listed in child pages such as Charge Controller.

    https://diyvanbuild.com/?page_id=17

    #1422371
    Leo
    Staff
    Customer Support

    Are you going to be selling something/using WooCommerce?

    A structure like this?
    http://gpsites.co/seller/

    #1422379
    Nic

    Each category will have products listed when you click on them will be a product page with user reviews, photos, tech tips, and an Amazon Affiliate link.

    Here is a perfect example of the menu behavior I want. When user clicks on ANTENNAS you are take to a page that displays the sub-categories as links if the user wants to narrow down the products they are viewing.
    https://www.americanradiosupply.com/antennas/

    ANTENNAS
    Base Station Antennas
    Handheld Antennas
    Mobile Radio Antennas
    Ham Sticks
    Dipole Antennas
    GPS Antennas
    GMRS Antennas
    Scanner Radio Antennas
    Wide Band Antennas
    Whips & Stingers
    4G/3G LTE Antennas
    WLAN Antennas

    #1422524
    Leo
    Staff
    Customer Support

    A plugin like this is the closest solution I can think of:
    https://wordpress.org/plugins/wp-categories-widget/

    You would need a use a plugin like widget shortcode:
    https://en-ca.wordpress.org/plugins/widget-shortcode/

    And insert it using a hook element:
    https://docs.generatepress.com/article/hooks-element-overview/

    #1422841
    Nic

    Amazing Leo! I’ll look into those options.

    #1423088
    Leo
    Staff
    Customer Support

    Sounds good ๐Ÿ™‚

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