wp query – Display if author page is author page of current user
Question
ok. here is my own soliton. but may be there are a better ways
<?php
$currenuserid = get_current_user_id();
$author = get_queried_object();
$author_id = $author->ID;
//echo $currenuserid;
//echo $author_id;
if ($currenus
0
2 months
0 Answers
0 views