Hi Roman,
Could you try using the code below and see if it’s what you’re looking for? It should display an author link on the listings page. Add this code in via plugin https://wordpress.org/plugins/code-snippets/ OR by adding code in your theme functions.php .
/***** CODE STARTS HERE *****/
// Display listing author on listing pages.
function geodirectory_author_link_on_listings_page( $post ) {
if ( !empty( $post ) && !empty( $post->post_author ) && geodir_is_page( 'listing' ) ) {
$author_link = get_author_posts_url( $post->post_author );
$author_link = geodir_getlink( $author_link, array( 'geodir_dashbord' => 'true', 'stype' => $post->post_type ), false );
echo '<div style="clear:both;" class="geodir_more_info geodir-author-link"><i class="fa fa-user"></i> <span>' . __( 'Author:', 'geodirectory' ) . '</span> <a href="' . $author_link . '">' . get_the_author() . '</a></div>';
}
}
add_action( 'geodir_before_listing_post_excerpt', 'geodirectory_author_link_on_listings_page', 10, 1 );
/***** CODE ENDS HERE *****/
thanks!