Syahir Hakim

Keymaster

Forum Replies Created

  • Admin

    Try this:

    /**
    * Limit the posts per page for specific category archive
    */
    function my_archive_posts_per_page( $query ){
    if ( $query->is_archive() && $query->is_main_query() ) {
    if ( is_category( 'authors' ) ) {
    $query->set( 'posts_per_page', 3 );
    }
    }
    }
    add_action( 'pre_get_posts', 'my_archive_posts_per_page' );
    Admin

    In reply to: Lower-casing the author names

    #38242

    If it persists in different themes, that might indicate an issue with the plugin. Try asking the plugin’s developer about it?

    Admin

    In reply to: Changing language in Header

    #38047

    This page might be useful to you:

    http://wpml.org/documentation/getting-started-guide/media-translation/

    Also, if you’re having issues with WPML and WPML-related plugins, it’s better to ask for help from the WPML support forum, as they are in the better position to help you out. Of course, we’re more than willing to work with them to sort out any issues if it’s coming from the theme.

    Admin

    In reply to: Problems with child pages showing (no title)

    #38186

    OK, create a functions.php file in your child theme. Then, add this code into that file:

    <?php
    /**
    * Make slider lists recent pages instead of recent posts
    */
    function my_slider_post_types( $types ) {
    global $graphene_settings;
    if ( $graphene_settings['slider_type'] == 'latest_posts' ) {
    $types = array( 'page' );
    }

    return $types;
    }
    add_filter( 'graphene_slider_post_type', 'my_slider_post_types' );
    Admin

    In reply to: Syahir, can I hire you?

    #38231

    Hi Erin,

    You can use the contact form on my site:

    http://www.khairul-syahir.com/contact-me

    Admin
    Quote:
    Where do i find the G.MOBILE download since i paid about a year ago?

    The download link that you received in the email following your purchase is still valid and can still be used. If you have lost that link, you can retrieve it from [url=https://forum.graphene-theme.com/your-account/]your account page[/url].

    Quote:
    Since i paid for GM $19 can I upgrade to Neo for $10?

    No, but you do get a 50% discount on GM Neo if you have already purchased Graphene Mobile. The discount is applied automatically at checkout, so make sure you log in as the same account you used to purchase Graphene Mobile.

    Quote:
    Does GM or GMN support full width sliders?

    No.

    Quote:
    And can they be set to advance every so many seconds or manually?

    What do you mean by “advance”?

    Quote:
    Does GM or GMN support opacity settings so like backgrounds can be seen thru the menu buttons or tabs?

    This can be achieved using the Custom CSS feature.

    Quote:
    Does Mobile support ipads or ipod touches?

    It’s up to you – you can set whether or not the mobile theme should be used for iPads. The setting is in the mobile switcher plugin.

    Quote:
    Can Mobile cache all web app files to iPhone or androids or do i have to write code for that.

    The mobile theme is like any other websites, and whether or not parts of it are cached is determined by the browser you’re using. Most browsers cache the static files, like images, stylesheets, and scripts, out of the box.

    Quote:
    and keep iphones in native mode of display?

    Can you explain further on this?

    Quote:
    Whatever GM OR GMN does not support do u plan to offer support for these things.

    If there is enough interest, we might.

    Admin

    In reply to: How can i put an image in the header ?

    #38191
    Quote:
    Where can i find the size of the image header for Graphene mobile ?

    The height depends on whether or not you have the site description displayed in the header. The width depends on what device and what orientation the device is in.

    Quote:
    Otherwise, is this function available with Graphene Neo?

    Yes.

    Quote:
    I take this opportunity to ask you what are the differences between graphene mobile and graphene neo?

    You can see the features comparison here:

    https://forum.graphene-theme.com/graphene-mobile-neo/features-comparison/

    Admin

    In reply to: Problems with child pages showing (no title)

    #38183
    Quote:
    Thanks but then how do I make the slider read recent pages and not post which is what I am trying to achieve?

    We can guide you on that after you have the child theme set up.

    Admin

    In reply to: Permission to publish codes and tricks?

    #38200

    Man, that navigation menu you have rocks! If you can do a write-up on how to implement it, I’ll share it out with the community.

    Admin

    In reply to: Possible to add a second before_footer_widget ?

    #38229

    You can use the graphene_before_bottomsidebar action hook already available.

Viewing 10 posts - 1,931 through 1,940 (of 6,030 total)