How to Get Author ID and User Profile Outside WordPress Loop
Each and every blog posts and pages in WordPress is written by a author or blogger, and hence has an author ID associated with it. Within the loop, the_author_meta(‘ID’); (previously the_author_ID();) template tag and the_author(); or get_the_author(); functions can be used to retrieve, obtain or get the author ID and profile for further manipulation, though must be inside the loop of WordPress. Outside the loop, … Continue reading How to Get Author ID and User Profile Outside WordPress Loop
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed