Hi there,
Make sure to make modification in child theme
https://codex.wordpress.org/Child_Themes
Unfortunately the only way to do this by editing template file content.php by adding this line of code where you want it to appear.
<?php the_author_posts_link(); ?>
Good Luck.
Unfortunately, I can’t seem to find content.php. Anywhere else I should look to place it?
Does anyone have any specific help for this theme?
Hi, the correct files are into suevafree/core/post-formats.
Best regards
Alex
Do you happen to know where exactly I would make the changes to show the author name? I’ve never worked on a theme that didn’t show the author name, so this is a little new to me. I’d really appreciate the help!
Thanks!
Hi,
open all files into suevafree/core/post-formats/ and, before this part:
<?php if ((is_home()) || (is_category()) || (is_page()) || (is_search()) ) {
add
<p><?php _e( "Written by ","wip").the_author_posts_link(); ?></p>
<?php if ((is_home()) || (is_category()) || (is_page()) || (is_search()) ) {
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Best regards
Alex
Sorry to ask again but I am having trouble finding this.
In my dashboard I went to Appearance > Editor then on the right under templates, “Core.php”
My post-formats section looks like this:
function suevafree_setup() {
add_theme_support( 'post-formats', array( 'aside','gallery','quote','video','audio','link' ) );
add_theme_support( 'automatic-feed-links' );
add_theme_support( 'post-thumbnails' );
add_image_size( 'blog', 940,429, TRUE );
add_image_size( 'large', 449,304, TRUE );
add_image_size( 'medium', 290,220, TRUE );
add_image_size( 'small', 211,150, TRUE );
register_nav_menu( 'main-menu', 'Main menu' );
add_theme_support( 'custom-background', array(
'default-color' => 'f3f3f3',
'default-image' => get_template_directory_uri() . suevafree_setting('suevafree_body_background'),
) );
}
add_action( 'after_setup_theme', 'suevafree_setup' )
Where am I supposed to insert the code above?