Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #349129

    I contacted Kriesi about this request and he said to open a thread and one of the support team will take care of it

    Is it possible to have the author name appear in the blog main page? http://evolvedmedia.wpengine.com/blog-2/ (hosted on WPengine)
    I know the author name appears on a full blog page but I need it on the blog main page as well.

    http://themeforest.net/item/enfold-responsive-multipurpose-theme/4519990/comments?page=259&filter=all#comment_8317859

    Thanks

    #349343

    Hi navindesigns!

    Thank you for using Enfold.

    You need to modify the core theme files in order to do this. Edit config-templatebuilder > avia-shortcodes > postslider.php. Find this code:

    $output .= "<time class='slide-meta-time updated' $markup>" .get_the_time(get_option('date_format'), $the_id)."</time><div class='slide-meta-del'>/</div>";
    

    Replace it with:

    $output .= "<time class='slide-meta-time updated' $markup>" .get_the_time(get_option('date_format'), $the_id)."</time><div class='slide-meta-del'>/</div>";
    					    $author = get_the_author();
    						$output .= '<span class="blog-author minor-meta">'.__('by','avia_framework')." ";
    						$output .= '<span class="entry-author-link" '.avia_markup_helper(array('context' => 'author_name','echo'=>false)).'>';
    						$output .= '<span class="vcard author"><span class="fn">';
    						$output .= $author;
    						$output .= '</span></span>';
    						$output .= '</span>';
    						$output .= '</span>';

    Please create a log of these changes in case you update the theme.

    Regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.