/** * Author Archive Template * * @package AffiliateCMS * @since 4.0.0 */ get_header(); // Get author info $author_id = get_queried_object_id(); $author_name = get_the_author_meta('display_name', $author_id); $author_bio = get_the_author_meta('description', $author_id); $author_role = get_the_author_meta('role', $author_id); $post_count = count_user_posts($author_id, 'post'); // Include custom post types in count foreach (['acms_reviews', 'acms_deals', 'acms_guides'] as $cpt) { if (post_type_exists($cpt)) { $post_count += count_user_posts($author_id, $cpt); } } // Get custom fields $expertise = acms_get_user_expertise($author_id); $socials = acms_get_user_socials($author_id); // Get total views (real data, not fake) $total_views = acms_get_author_total_views($author_id); ?>

Warning: Undefined variable $author_id in /www/wwwroot/sharecouponcode.com/wp-content/themes/affvidco/author.php on line 39
admin88

admin88


Warning: Undefined variable $author_role in /www/wwwroot/sharecouponcode.com/wp-content/themes/affvidco/author.php on line 47
Staff Writer


Warning: Undefined variable $author_bio in /www/wwwroot/sharecouponcode.com/wp-content/themes/affvidco/author.php on line 49

Warning: Undefined variable $post_count in /www/wwwroot/sharecouponcode.com/wp-content/themes/affvidco/author.php on line 72
Articles

Warning: Undefined variable $total_views in /www/wwwroot/sharecouponcode.com/wp-content/themes/affvidco/author.php on line 76
Total Views

Articles by admin88


Warning: Undefined variable $post_count in /www/wwwroot/sharecouponcode.com/wp-content/themes/affvidco/author.php on line 125

Warning: Undefined variable $post_count in /www/wwwroot/sharecouponcode.com/wp-content/themes/affvidco/author.php on line 126
0 articles published