Return to Support

Purchased Graphene Mobile Neo – Don't want Graphene credits to display.

Home Forums Graphene Mobile Neo Support Purchased Graphene Mobile Neo – Don't want Graphene credits to display.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #10324
    bsteveb
    Member

    I don’t want the Graphene credits to display on my mobile (footer or elsewhere).

    I like the product well enough, but given that I bought it, I don’t want to advertise for Graphene, but would rather substitute my company name.

    May consider being an affiliate if we can fix this problem.

    Thank you!

    #45918
    Syahir Hakim
    Keymaster

    Hi bsteveb,

    At the moment the only way to remove the footer credit link is by adding a little bit of custom code in a child theme for Graphene Mobile Neo. If you wanna do that, we can provide the guide but it won’t be quite straightforward and require FTP access to your server.

    In the next Graphene Mobile Neo update, we’ll add an option to disable the footer credit link.

    #45919
    bsteveb
    Member

    Hi Syahir – Sure, I can create a graphene mobile neo-child and enter the custom code via “footer.php” or “style.css” just provide the code and I’ll fix it.

    Thank you.

    #45920
    Syahir Hakim
    Keymaster

    OK, add this code to Neo’s child theme functions.php file:

    function gmneo_filter_gettext( $translated, $original, $domain ) {
    $strings = array(
    'Powered by %s.' => '',
    );
    if ( ! empty( $strings[$original] ) ) {
    $translations = &get_translations_for_domain( $domain );
    $translated = $translations->translate( $strings[$original] );
    }
    return $translated;
    }
    add_filter( 'gettext', 'gmneo_filter_gettext', 10, 3 );

    #45921
    bsteveb
    Member

    Created child theme “graphene mobile neo-child” and the functions.php is exactly as:

    <?php
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );

    }
    function gmneo_filter_gettext( $translated, $original, $domain ) {
    $strings = array(
    'Powered by %s.' => '',
    );
    if ( ! empty( $strings[$original] ) ) {
    $translations = &get_translations_for_domain( $domain );
    $translated = $translations->translate( $strings[$original] );
    }
    return $translated;
    }
    add_filter( 'gettext', 'gmneo_filter_gettext', 10, 3 );
    ?>

    Not working. Please advise.

    #45922
    Syahir Hakim
    Keymaster

    In WP Admin > Settings > Any Mobile Theme, make sure you’ve selected the child theme as the mobile theme.

    #45923
    bsteveb
    Member

    graphene mobile neo-CHILD is not showing up in the drop downs.

    Advise please.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.