[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fImmzXMryPRzMsYT9AxRexKvik8qm6VNvWfStTjBjucU":3},{"slug":4,"display_name":4,"profile_url":5,"plugin_count":6,"total_installs":7,"avg_security_score":8,"avg_patch_time_days":9,"trust_score":10,"computed_at":11,"plugins":12},"rallisf1","https:\u002F\u002Fprofiles.wordpress.org\u002Frallisf1\u002F",1,10,85,30,84,"2026-04-04T23:31:30.147Z",[13],{"slug":14,"name":15,"version":16,"author":4,"author_profile":5,"description":17,"short_description":18,"active_installs":7,"downloaded":19,"rating":20,"num_ratings":21,"last_updated":22,"tested_up_to":23,"requires_at_least":24,"requires_php":25,"tags":26,"homepage":32,"download_link":33,"security_score":8,"vuln_count":34,"unpatched_count":34,"last_vuln_date":35,"fetched_at":36},"automatic-submenu","Automatic Submenu for Categories & Pages","1.0.0","\u003Cp>Ever wanted to be able to automatically have category and pages children automatically added to your menus? I’m sure I did and was disappointed to not find something that dead simple that works and doesn’t mess up with the theme or other plugins.\u003C\u002Fp>\n\u003Cp>Now bear with me on this one as it is my first WP plugin for like a decade and the first ever to be shared so i kept it quite basic.\u003C\u002Fp>\n\u003Cp>How it works:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>On each menu item that is either a category or a page you get an option to automatically append their children as a submenu\u003C\u002Fli>\n\u003Cli>You get to decide how many children to show and how they’re gonna be ordered (Title or Date)\u003C\u002Fli>\n\u003Cli>And that’s it, all you have to do is create content and never worry about your menu again.\u003C\u002Fli>\n\u003Cli>As promised, it doesn’t mess with the theme or other plugins, it just injects the children found in the corresponding place of the nav menu array when that is triggered in the frontend\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>Code hacks\u003C\u002Fh3>\n\u003Cp>There is no settings page for the plugin but you can change a couple default behaviours from the code itself\u003C\u002Fp>\n\u003Ch4>Changing the default maximum children number when the field is empty\u003C\u002Fh4>\n\u003Cpre>\u003Ccode>$item->automatic_max = 5; just change the number at line 220\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch4>Bring only direct children of Pages and not all ascendants\u003C\u002Fh4>\n\u003Cpre>\u003Ccode>$children = get_pages( array( 'child_of' => $item->object_id, 'number' => $item->automatic_max, 'sort_column' => 'post_'.$ordering[0], 'sort_order' => strtoupper( $ordering[1] ) ) ); just change 'child_of' to 'parent' at line 226\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Upcoming Features:\u003C\u002Fp>\n\u003Cp>Due to lack of time i will implement the following features upon demand. Please post your requests in the forum.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Settings Page\u003C\u002Fli>\n\u003Cli>Submenu items ordering\u003C\u002Fli>\n\u003Cli>Support for custom post types and taxonomies\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Credits:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>I have used the menu walker created by zviryatko (https:\u002F\u002Fplugins.trac.wordpress.org\u002Fbrowser\u002Fmenu-image\u002Ftrunk\u002Fmenu-image.php)\u003C\u002Fli>\n\u003C\u002Ful>\n","Automatically append children posts and pages as submenu items in the frontend",2693,60,2,"2017-11-13T11:45:00.000Z","4.8.28","3.1","",[27,28,29,30,31],"children","menu","pages","posts","submenu","https:\u002F\u002Fgithub.com\u002Fwp-automatic-plugin","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fautomatic-submenu.zip",0,null,"2026-03-15T15:16:48.613Z"]