Alex75017

Participant

Forum Replies Created

  • Yes exactly, I’d like them to disappear in the mobile version if possible… ? πŸ™‚
    Thank you very much

    In reply to: How to edit the caption "author" in the comments

    #49558

    Dear Syahir,

    Thank you very much for your insights which make totally sense.
    I will be glad to contribute to the translation in French !

    If I understand rightly, at this point it is not possible to have the translated words showing up on line because the percentage of the translation is not high enough ?
    But, I found this language file “fr_FR.po” which does contain the translation of “continue reading” (= “lire la suite”) but it doesn’t show on the blog unfortunately… Is it because of the low percentage ?

    Many thanks again for your answer πŸ™‚

    In reply to: How to style a page differently from a post ?

    #49557

    Thank you very much Syahir, I tried your code but it only widened the left margin and the background of the blog encroached on the content area.
    I tried to edit it to get the 2 margins wider (margin: 100 100px;) but it was not the right thing to do as I ended up back wih no margins…

    Finally in the meantime a friend gave me this code which worked just fine πŸ™‚ :

    .page #content {padding-left: 100px ;padding-right: 100px}

    Let me know if this code seems OK to you regarding the CSS and html rules/requirements or how I could have edited yours to get the two margins left and right widened.

    Thank you very much again for your time !

    In reply to: How to edit the caption "author" in the comments

    #49527

    Dear Syahir,

    I get back to you regarding the caption “author” that is still showing when I reply to a comment. Could you please let me know how to edit this caption in the functions.php file if possible ?
    I’d like to replace it with another caption “Responsable Γ©ditoriale”.

    In addition, I realize that I would also need to replace the button “continue reading” with “lire la suite”. I previously edited it directly in graphene/inc/loop.php if I’m not mistaken but after the last theme update I lost this edit. So if there were also a line of code I could add in the functions.php file that would be really great as I try to avoid to add plug-ins as much as possible.

    Thank you again for your precious help,

    Alexandra

    Thank you for your quick replay ! πŸ™‚
    Indeed I use a Seo plug in so I understand that it overrides the theme settings, right ?
    Thank you again for your help !

    In reply to: How to edit the caption "author" in the comments

    #49389

    Wonderful, thank you so much once again it worked perfectly πŸ™‚

    In reply to: How to edit the caption "author" in the comments

    #49365

    Thank you so much it worked beautifully ! πŸ™‚

    In my previous post, I also asked how I could get rid of the words “filed under” in the post data before the category’s name.
    Is there another line of code I could add in the functions.php file to remove it ? Or another way ?

    Many thanks for your help !

    In reply to: How to edit the caption "author" in the comments

    #49363

    Thank you so much Syahir, it has worked this time : the word “CATEGORY” has finally been nicely removed ! πŸ™‚ I am relieved πŸ™‚

    I also had the same question for the word “TAG” in the archive pages, shall I just replace in the above code Category with Tag as :

    function graphene_filter_gettext( $translated, $original, $domain ) {
    	$strings = array(
    		'<strong>Tag</strong>: <span>%s</span>' => '<span>%s</span>',
    	);
    
    	if ( ! empty( $strings[$original] ) ) {
    		$translations = &get_translations_for_domain( $domain );
    		$translated = $translations->translate( $strings[$original] );
    	}
    	
    	return $translated;
    }
    add_filter( 'gettext', 'graphene_filter_gettext', 10, 3 );

    And just pasted it after the other code of the file ? or is it a different type of code ?

    Thank you so much again for your kind help !

    In reply to: How to edit the caption "author" in the comments

    #49361

    Hi,
    Thank you for your reply, I edited the child theme’s functions.php as mentionned (I copied and pasted the code in my file basically !) but nothing has changed unfortunately I still have the mentions “category” and “tag” before the titles πŸ™

    Here’s the code of my file if you can identify any pb, I’ll be very grateful !

    <?php
    function wpm_enqueue_styles(){
    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    }
    add_action( 'wp_enqueue_scripts', 'wpm_enqueue_styles' );
    
    /**
     * Modifications Julien
     */
    
    //## Auto-update plugins
    add_filter( 'auto_update_plugin', '__return_true' );
    
    function graphene_filter_gettext( $translated, $original, $domain ) {
    
    $strings = array(
    
    'Category Archive: <span>%s</span>' => '<span>%s</span>',
    
    );
    
    if ( ! empty( $strings[$original] ) ) {
    
    $translations = &get_translations_for_domain( $domain );
    
    $translated = $translations->translate( $strings[$original] );
    
    }
    
    return $translated;
    
    }
    
    add_filter( 'gettext', 'graphene_filter_gettext', 10, 3 );

    In reply to: How to edit the caption "author" in the comments

    #49333

    Is there any lighter option, i try to avoid plug ins as much as possible please ?
    In Which file can i edit directly this label please ?
    Thank you so much !

Viewing 10 posts - 11 through 20 (of 21 total)