Add sub-page using 1 page without adding another pages using add_rewrite_rule
Add sub-page using 1 page without adding another pages using add_rewrite_rule is very simple but clean strategy most specially if you have multiple sub-pages. Using add_rewrite_rule, your task is done. Please copy the codes to your functions.php. Example: I have this page, https://www.anthonypagaycarbon.com/parent/ and the page ID is 10. add_filter(‘query_vars’, ‘wdes_query_vars’); function wdes_query_vars($vars) { $vars[]…