Community Forums › Forums › Archived Forums › General Discussion › Need Help Please!!
Tagged: comments genesis
- This topic has 7 replies, 3 voices, and was last updated 10 years, 2 months ago by Tarifs-postaux.
-
AuthorPosts
-
July 4, 2014 at 2:55 pm #112997July 4, 2014 at 10:25 pm #113018DTHkellyMember
Bonjour!
I started with Genesis in April - challenging at first but worth it!
I don't know about Genesis-specific translating, but:
String Translation - https://wordpress.org/plugins/say-what/Translating:
http://poedit.net/
https://wordpress.org/plugins/codestyling-July 5, 2014 at 1:19 am #113024Tarifs-postauxMemberThanks for your help !
But It still not working 🙁 maybe i didn't use well the plugin ...
"Original string : Leave a comment
Text domain : Comments
Replacement strings : Laissez un commentaire! "I have an other website with a free theme and when i have this kind of problem, I can easily change what I want with the "editor" but with Genesis when i'm going in "comments.php" , this is weird i can't see all codes
Do I require a password ?
"<?php
/**
* Genesis Framework.
*
* WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances.
* Please do all modifications in the form of a child theme.
*
* @package Genesis\Templates
* @author StudioPress
* @license GPL-2.0+
* @link http://my.studiopress.com/themes/genesis/
*/if ( ! empty( $_SERVER['SCRIPT_FILENAME'] ) && 'comments.php' === basename( $_SERVER['SCRIPT_FILENAME'] ) )
die ( 'Please do not load this page directly. Thanks!' );if ( post_password_required() ) {
printf( '<p class="alert">%s</p>', __( 'This post is password protected. Enter the password to view comments.', 'genesis' ) );
return;
}do_action( 'genesis_before_comments' );
do_action( 'genesis_comments' );
do_action( 'genesis_after_comments' );do_action( 'genesis_before_pings' );
do_action( 'genesis_pings' );
do_action( 'genesis_after_pings' );do_action( 'genesis_before_comment_form' );
do_action( 'genesis_comment_form' );
do_action( 'genesis_after_comment_form' );"July 5, 2014 at 6:30 am #113034DTHkellyMemberStudiopress will answer questions about Genesis core (and translating their childthemes) - have you submitted a help ticket?
July 5, 2014 at 12:22 pm #113057Tarifs-postauxMemberNo i didn't ! Could you tell me where I can submit a help ticket ?
Thank you very much
🙂July 5, 2014 at 4:51 pm #113087DTHkellyMemberhttp://my.studiopress.com/help/
You need to be logged in.Log in to:
http://my.studiopress.com/At the bottom "Get Help" > "Contact Support"
July 5, 2014 at 8:17 pm #113104essaysnarkParticipant@Tarifs-postaux, you should never edit the core Genesis files directly; please don't touch your comments.php file or you will lose your edits when you upgrade Genesis (and you could unintentionally cause something else to quit working).
Here are a bunch of code snippets from StudioPress that cover making a lot of these standard changes:
To change "Leave a comment" you can add this to your functions.php file (obviously you'll always want to create a backup first in case something goes wrong, you can restore it using FTP):
//* Modify the comment link text in comments add_filter( 'genesis_post_info', 'sp_post_info_filter' ); function sp_post_info_filter( $post_info ) { return '[post_comments zero="Laissez un commentaire!" one="1 commentaire" more="% commentaires"]'; }
BTW, your English is great. 😉
July 16, 2014 at 5:41 am #114501Tarifs-postauxMemberOk I'm going to do that
Thanks a lot for your help !!!
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.