// Code here //
<?php echo $curauth->display_name; ?>
<?php get_footer(); ?>
I’ve searched and tried all the standard codes but I seem to be missing something :
This currently works ok in author template, as does the other three versions of this code.
<?php global $wpdb, $wp_query; $curauth = $wp_query->get_queried_object(); ?>
They just don’t work in a custom template and its driving me crazy..
The topic ‘Curauth data in custom template’ is closed to new replies.