Posts Tagged Under: WordPress page id outside the loop

Current page ID Inside or Outside the loop in WordPress

This post was last updated on January 15th, 2017 at 06:04 pm

In WordPress we’re not always working inside the WordPress loop. Working inside the loop, we use the template tag the_ID, which easily get current page ID. But while working outside the loop then getting current page ID is

Read More