Good morning, anyone can help me with this?
I have a sql table to relate subdomain_name to page_id. How can I get a page from parameter instead of using page_id or page_name ?
For example, .../wordpress?sub=domain and then he gets the page_id=2.
Thanks.