Tagged: comments
-
AuthorPosts
-
November 2, 2015 at 9:58 pm #528835November 2, 2015 at 11:07 pm #528871
Hi andrea!
Just to understand, you need to translate them?
if so, you can use a plugin like https://wordpress.org/plugins/loco-translate/and it will do help you do any translations.
Let me know if you have any more questions, will be happy to answer them for you.
Best regards,
BasilisNovember 2, 2015 at 11:15 pm #528873No it’s still in English. I don’t like the wording on the h4 pingback_heading when I add comments into the page – i want it to say ‘comments’ not ‘Trackbacks & Pingbacks’ – but can’t see where to edit this.
November 3, 2015 at 1:59 pm #529255Hi!
Please go to Appearance > Editor and open Comments.php file and find
echo "<h4 id='pingback_heading'>".__('Trackbacks & Pingbacks','avia_framework')."</h4>";
and change it as needed
Best regards,
YigitNovember 3, 2015 at 2:08 pm #529264Thank you, that’s fine – but will it be overwritten if the theme updates?
Also, how do I get the reply to go underneath the comment, it doesn’t read right seeing the reply before the comment.
November 4, 2015 at 6:36 am #529740Hi!
Please create a child theme then copy the comments.php file there. If you want to move the pingbacks above the replies, look for this code:
//get ping and trackbacks $ping_entries = get_comments(array( 'type'=> 'pings', 'post_id' => $post->ID )); if(!empty($ping_entries)){ echo "<h4 id='pingback_heading'>".__('Trackbacks & Pingbacks','avia_framework')."</h4>"; ?> <ol class="pingbacklist"> <?php /* * Loop through and list the pingbacks and trackbacks. */ wp_list_comments( array( 'type'=> 'pings', 'reverse_top_level'=>true ) ); ?> </ol> <?php } ?>
Move it on top of this one:
//get comments $comment_entries = get_comments(array( 'type'=> 'comment', 'post_id' => $post->ID )); if(!empty($comment_entries)){ ?> <ol class="commentlist" id="comments"> <?php /* Loop through and list the comments. Tell wp_list_comments() * to use avia_inc_custom_comments() to format the comments. * If you want to overload this in a child theme then you can * define avia_framework_comment() and that will be used instead. * See avia_framework_comment() in includes/loop-comments.php for more. */ wp_list_comments( array( 'type'=> 'comment', 'callback' => 'avia_inc_custom_comments' ) ); ?> </ol> <?php }
Best regards,
IsmaelNovember 9, 2015 at 12:31 pm #532507Hi, I have created a child theme and uploaded it. But I’m losing the style settings. As per your instructions:
Once you’ve activated your Enfold Child Theme go to the Import/Export tab and you’ll have a new option to “Import Settings from your Parent Theme“. Once clicked, it will work run for a moment while it imports the data. When the page refreshes your parent settings will replace the default theme settings.
I have done that 1. activated child theme then 2. import settings from the parent theme – it brings in the logo from the parent theme but is not bringing in the stylings for colours, fonts etc – all the styling is lost.
Please advise how I can move to a child theme but bring in the way I’ve already set up the parent theme.
I do want to move over to the child theme if possible, it would make updates easier going forward.
November 10, 2015 at 4:21 am #533017Hi!
You have to import the parent theme settings, wait for it load then toggle any theme options. Save changes. It will bring back your styling modifications.
Cheers!
IsmaelNovember 10, 2015 at 11:49 am #533161Got it thank you :-)
-
AuthorPosts
- The topic ‘Rename 'Trackbacks & Pingbacks' as 'Comments'’ is closed to new replies.