Syahir Hakim
KeymasterKuala Lumpur, Malaysia
When not perched on my workspace, I tremendously enjoy hiking in the bushes and climbing mountains. They serve as much-needed refuges from the pretense of cities.
Forum Replies Created
-
Admin
Quote:It seemed worked, the date is modified in the .mo and I’ve noticed the changes have been applied, despite the error message!It is cool but I hope this won’t make other problems, later!
POEdit is configured by default to be rather verbose, hence you’re seeing those error messages. But as long as the
.mofile is generated, it should be fine.Quote:On other hand, I still don’t find the month names and format!Is this a server PHP issue or it could be fixed at the theme level? How to fix it?
Date translation is handled by WordPress, not the theme. Make sure that you have also uploaded the translation file for WordPress itself.
Admin
Quote:Could I copy/paste all Graphene theme contents and rename it to Child theme,No, don’t do this. It defeats the purpose of making a child theme.
All of the theme’s CSS files are loaded as needed, but you can make customisations in the child theme via that single
style.cssfile. You can also add additional CSS files in your child theme if necessary.Admin
In reply to: How can i have two columns on the homepage (without static page) ?
June 24, 2012 at 9:30 pm #29396Put code in between backtick (
Code:`) characters. It’s usually located above the Tab key on your keyboard. I’ve edited your post this time.
You wouldn’t want to change the width of the grid, as a lot of the theme’s elements depend on this, not just the homepage pane.
You can change the width of the pane’s thumbnail by adding this to your child theme’s
functions.phpfile:function graphene_custom_pane_image_width(){
return 280;
}
add_filter( 'graphene_homepage_pane_image_width', 'graphene_custom_pane_image_width' );Admin
Check the “Date Modified” of the
.mofile. Does it change when you save the.pofile?Admin
The theme uses the javascript method, otherwise known as the webfont loader. According to Google this is the best method to load webfonts. Generally, try to avoid using @import, whether for webfonts or regular CSS styles.
Admin
Quote:However, there are some terms that are not fully translated or partially translated. For example the month names are not fully translated, they are only transcribed in arabic letters, not translated!Translations for the theme are done by volunteers. Some of the translations haven’t been updated since they were last made, hence the incomplete translations. You’re more than welcome to help improve and complete the translation.
Quote:I checked out the (ar.po) file but the modifications I made were not applied in the theme! I may approaching it from the wrong side!You need to generate the corresponding
.mofile from the.pofile in order for WordPress to be able to use the translation. We normally use POEdit for this. See this page for more details on how to do this:http://docs.graphene-theme.com/Translating_the_theme
Quote:I just forgot to add that the image in the slider is duplicated! Is there a way to make it only one instance inside the slider?The best way is to just use a bigger image.
Admin
That’s largely controlled by WordPress, which does the check if the menu item corresponds to the current page being viewed. If it is, WordPress outputs a class to the menu item (
current-menu-item). The theme then simply styles the menu items that have this class differently.Admin
Are you referring to the “Home” menu item?
Admin
Link to your site?
Admin
Quote:isn’t after_post_content intended for posts only.why not add to both after_post_content and after_page_content hooks
Ah yes, I forgot this too 🙂
