Changeset 1854751
- Timestamp:
- 04/08/2018 11:38:10 AM (8 years ago)
- Location:
- profile-xtra
- Files:
-
- 2 edited
-
tags/2.2.0/readme.txt (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
profile-xtra/tags/2.2.0/readme.txt
r1854750 r1854751 108 108 And, on the contrary, you can found where current author is part of the multiple authors' team. Use the function <em>posts_where_multi</em> for that. For example, searching on the 'product' post type of woocommerce: 109 109 110 //we are on the author's page sidebar110 <?php //we are on the author's page sidebar 111 111 $theauthor = get_queried_object(); 112 112 $multi_ids = posts_where_multi($theauthor->ID,'product'); -
profile-xtra/trunk/readme.txt
r1854750 r1854751 108 108 And, on the contrary, you can found where current author is part of the multiple authors' team. Use the function <em>posts_where_multi</em> for that. For example, searching on the 'product' post type of woocommerce: 109 109 110 //we are on the author's page sidebar110 <?php //we are on the author's page sidebar 111 111 $theauthor = get_queried_object(); 112 112 $multi_ids = posts_where_multi($theauthor->ID,'product');
Note: See TracChangeset
for help on using the changeset viewer.