Syahir Hakim

Keymaster

Forum Replies Created

  • Admin

    In reply to: New to Graphene, thanks for this nice theme

    #29581
    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 .mo file 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

    In reply to: Create a graphene child theme with all the content ?

    #29568
    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.css file. You can also add additional CSS files in your child theme if necessary.

    Admin

    Put 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.php file:

    function graphene_custom_pane_image_width(){
    return 280;
    }
    add_filter( 'graphene_homepage_pane_image_width', 'graphene_custom_pane_image_width' );
    Admin

    In reply to: New to Graphene, thanks for this nice theme

    #29579

    Check the “Date Modified” of the .mo file. Does it change when you save the .po file?

    Admin

    In reply to: Google Fonts – Load Time

    #29588

    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

    In reply to: New to Graphene, thanks for this nice theme

    #29576
    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 .mo file from the .po file 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

    In reply to: Custom Link Menu issue

    #29562

    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

    In reply to: Custom Link Menu issue

    #29560

    Are you referring to the “Home” menu item?

    Admin

    In reply to: Custom Link Menu issue

    #29558

    Link to your site?

    Admin

    In reply to: php is_page()

    #29546
    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 🙂

Viewing 10 posts - 3,121 through 3,130 (of 6,030 total)