how to get page_id outside the_loop?
-
Hello. I need to know how can I automatically retrieve outside the_loop a page ID when I know its name/slug. If you want, I need a similar function as get_cat_id(), related to static pages. 10x in advance.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘how to get page_id outside the_loop?’ is closed to new replies.