how to disable jetpack for non admins?

Use the code given below, In this code we are checking if page is ‘jetpack’ and based on that showing custom error message. add_action( ‘admin_init’, ‘restrict_page’ ); function restrict_page() { if ( class_exists( ‘Jetpack’ ) && !current_user_can( ‘manage_options’ ) ) { if ( isset( $_GET[‘page’] ) && $_GET[‘page’] == ‘jetpack’ ) { wp_die( ‘no access’ … Read more

Where does Jetpack store markdown?

Just found the answer after exploring the MySQL database and finding the right field. Here is an answer from Ryan Cowles at the Jetpack staff: The HTML version of your post is stored in post_content and the Markdown version is stored in post_content_filtered. You can see how it’s stored here. Specifics aside, if you write … Read more

Unable to setup jetpack on my site

Is your web site publicly available? Do you have CURL enabled on your site? Either situation might cause your issue. If the above is not helpful, then provide more details in a comment to your question, or edit the question. Provide enough details so others will know exactly what you did, and what went wrong.

Jetpack Top post widget (display post views)

Use this code in child theme or custom snipets plugin: /** * Top Posts Widget: add post views below each post. */ function jetpackme_add_views_top_posts( $post_id ) { if( function_exists( ‘stats_get_csv’ ) ) { $stats_query = “page_stats_for_” . $post_id; if ( false === ( $special_query_results = get_transient( $stats_query ) ) ) { $stat_options = “post_id=”.$post_id.”&days=-1″; $post_stats … Read more

techhipbettruvabetnorabahisbahis forumutaraftarium24eduedueduseduseduseduseduseduedusedus