-
AuthorPosts
-
March 12, 2014 at 10:41 am #22620
I dont have framework\functions\global\breadcrumbs.php
Not in the “X” theme nor the “X_Child-renew”Is there something wrong with my installation?
Can I take a breadcrumbs.php from integrity or icon? they have that fileMarch 13, 2014 at 5:31 am #22854Hey Kiljan,
You have that file because if not there would be no breadcrumbs displayed.
Please check again in framework\functions\global\
And, renew.php in framework\functions
Thanks.
March 13, 2014 at 7:25 am #22883Hello,
I have installed the X-theme and started modifying the page to look as the customer wants. I have some problems regarding to this topic. I want to change the “read more” text to something else. I have read all these posts and tried to achieve this, but the text remains the same. I modifyied the on and only “read more” text in the language .po-file, but I dont know that I should do with the .mo file. I dont want to make a child theme, just to modify these certain texts to finnish. I put up the renewed lang-file to the themes functions/lang and modified the wp-config.php to use the custom language file I edited with PO-edit).
Is there a way to explain this I could understand – it seems like a minor modification in a certain .php-file but all these comments make me more confused on a really simple matter. Please help me.
Another Q, I cannot find a way to modify the keyword button links on the site. The basic color seems to be transparent, and it turn white on hover. Where can these colors be changed??
Love your help!
March 13, 2014 at 7:26 am #22884Here is the site at its first looks…
http://www.pk-pilvi.fi/March 14, 2014 at 1:59 pm #23232Hey Markus,
Thanks for writing in! You shouldn’t have to update the theme with a child theme to translate various strings throughout the theme as these are wrapped in the proper functions to allow translation via the default.mo and default.po files included with the theme. The following article provides a great walkthrough with how to accomplish this if you’ve never done this before and will explain how to take advantage of this without needing to modify template files.
At the time of writing this response I cannot seem to connect to your webpage, so I am not entirely certain what portion of the webpage you are trying to adjust. If you are looking for the CSS selectors you need to modify the appearance of an element, you can do so by right clicking on that element in Chrome and selecting Inspect Element. This will bring up a popup at the bottom of your screen with HTML markup on the left and CSS on the right. You can select elements in the markup previewer below, and then the applicable CSS will be shown on the right. You can then copy these styles over to the Customizer > Custom section or the style.css file of a child theme if you’d prefer to do that (we have an extensive write up on setting up child themes in the Knowledge Base that you should check out if you haven’t had a chance).
Thanks!
March 14, 2014 at 3:53 pm #23273I got it to work after a few issues.
This is what I did.I took the default.po and opened it with poeditor, changed the language to swedish. Before any changes where made I saved it as a new sv_SE.po file. Then I did all translation, updated and saved, which created and .mo file to.
Deleted any remnant sv_SE.po files in my wordpress installation
Changed the wp-config.php file to define(‘WPLANG’, ‘sv_SE’);
Uploaded the new sv_SE.po and .mo files to
wp-content/themes/x/framework/langI have yet to try the child theme option. But im doing after this post.
If I’m correct I should only have to edit the /wp-content/themes/x-child-renew/functions.phpBest of luck
March 14, 2014 at 4:01 pm #23274Just to fish the last comment that I did. It looks like its working now.
I just added the code: `add_action( ‘after_setup_theme’, ‘my_child_theme_setup’ );
function my_child_theme_setup() {
load_child_theme_textdomain( ‘__x__’, get_stylesheet_directory() . ‘/lang’ );
}`after the
<?phpsection in
wp-content/themes/x-child-renew/functions.phpThe only issue I have is that now the backend of wordpress is in Swedish to ๐
Which I didnt want. I think Iยดll try and tweak that by calling my .po file and english translation.March 15, 2014 at 7:59 am #23447Hi There,
did you install WordPress in english? As far as I know when you change the lang define in the wp-config the backend language also changes so it’s set there.
April 13, 2014 at 9:35 am #33098Thank you Thomas S, very very much.
Your shared tip works fine to me.I would suggest to everybody “Codestyling Localization” plugin wich is very easy to use.
April 13, 2014 at 5:22 pm #33172Hi Luigi,
Thanks for sharing ๐
April 13, 2014 at 7:22 pm #33204Hey Support,
could you also provide a path like that for changing “Read More” please?
April 13, 2014 at 8:25 pm #33236Hi Branko!
Thank you for using the theme!
I’m sorry but can you please elaborate? You can find the Read More strings on framework > functions > global > content.php. Find all instances of the strings:
__( 'Read More', '__x__' )
I hope that helps. Cheers!
June 30, 2014 at 5:35 pm #63303Federico ciao. Per caso hai tradotto il tema in italiano con “poedit”? Se si, mi dici dove hai messo i file it.mo e it.po usando un child tema? Grazie ๐
July 1, 2014 at 9:21 am #63564Ciao Gianluca. Io non parlo italiano (solo in spagnolo e inglese), ma Google Translate รจ molto utile in queste situazioni. Non ho tradotto i file po in italiano, ma posso dirvi dove collocarli, anche se si utilizza un tema minore (child tema). Dopo aver modificato i file con un editor di po, ho messo i file es_ES.mo e es_ES.po sotto wp-content/themes/x/framework/lang.
Spero che ti aiuta. Buona giornata!July 1, 2014 at 7:23 pm #63773Hey Federico,
Thanks for sharing and replying to Gianluca. ๐
-
AuthorPosts