• I am looking for a solution, the addon error code.

    On the page → on the left side there is a menu with sub-pages (it is created with the use of hierarhi entries).

    I want to achieve the same effect at home. I prefer the menu to be created on the basis of hierarhi inputs, rather than a separate menu. How can this be done?

    • This topic was modified 5 years, 7 months ago by James Huff. Reason: link moved to proper field

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    The home page first needs to utilize a template that accommodates a sidebar. Sidebar templates for WP typically display widgets, but you could create a sidebar template that displays anything you want. To display sub-pages, query for them using an instance of WP_Query class. Use the “post_parent” argument to specify the parent page ID of the sub-pages you want. Output the results using a standard WP post loop. Examples are on the docs page:
    https://developer.ww.wp.xz.cn/reference/classes/wp_query/

    Thread Starter Tom

    (@thommen)

    I used the → Geck Submenu plugin

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Sub-entries in the wordpress menu’ is closed to new replies.