Alex75017
ParticipantForum Replies Created
-
In reply to: How to remove sidebars on the mobile bersion of the blog ?
May 22, 2018 at 12:51 pm #49579Yes exactly, I’d like them to disappear in the mobile version if possible… ? π
Thank you very muchDear 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 π
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 !
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
In reply to: New blog title no longer displayed (blog identity settings)
April 13, 2018 at 1:29 pm #49396Thank 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 !Wonderful, thank you so much once again it worked perfectly π
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 !
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 !
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 );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 !
