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

  • bsteveb

    #10324

    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!

    Admin

    Syahir Hakim

    #45918

    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.

    bsteveb

    #45919

    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.

    Admin

    Syahir Hakim

    #45920

    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 );

    bsteveb

    #45921

    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.

    Admin

    Syahir Hakim

    #45922

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

    bsteveb

    #45923

    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.