Graphene

Graphene

Version, $theme_data->Author ); ?>

'graphene-plus', 'utm_source' => 'graphene-theme', 'utm_content' => '', 'utm_medium' => 'options-page', ); $banners = array( 'plus-overview.jpg' => 'https://www.graphene-theme.com/graphene-plus/', 'plus-amp.jpg' => 'https://www.graphene-theme.com/graphene-plus/accelerated-mobile-pages/', 'plus-bbpress.jpg' => 'https://www.graphene-theme.com/graphene-plus/build-communities/', 'plus-options.jpg' => 'https://www.graphene-theme.com/graphene-plus/stand-out-from-the-crowd/', ); $image = array_rand( $banners ); $args['utm_content'] = $image; echo ''; echo ''; echo ''; ?>

' . sprintf( __( 'Help translate into %s', 'graphene' ), $translation['native_name'] ) . ''; } } ?>

get_item_quantity( 3 ); $news_items = $graphene_news->get_items( 0, $maxitems ); } ?>
    ' . __( 'No news items.', 'graphene' ) . ''; else : foreach( $news_items as $news_item ) : ?>
  1. get_title() ); ?> get_date( 'j F Y' ); ?>

    get_description() ), 40, ' [...]' ) ) ); ?>
ID; $screen = get_current_screen(); if ( $screen->id != $graphene_settings['hook_suffix'] ) return; /* Check that the user hasn't already clicked to ignore the message */ if ( ! get_user_meta( $user_id, 'graphene_ignore_notice-shortcodes' ) ) : ?>

Dismiss IMPORTANT: Message blocks and pullquote shortcodes have been removed from the Graphene theme as required by the WordPress Theme Review Team. To continue using them, download and install the Graphene Shortcodes plugin. Learn more »

ID; /* If user clicks to ignore the notice, add that to their user meta */ if ( isset( $_GET['graphene-dismiss-notice'] ) ) { add_user_meta( $user_id, 'graphene_ignore_notice-' . trim( $_GET['graphene-dismiss-notice'] ), 'true', true ); } } add_action( 'admin_init', 'graphene_dismiss_notice' );