Jetpack Publicize and Android
At this time, there’s no way other than logging in to the backend of your site from your mobile device. This currently doesn’t work on the iOS WordPress app either.
At this time, there’s no way other than logging in to the backend of your site from your mobile device. This currently doesn’t work on the iOS WordPress app either.
There are 2 solutions to your problem: You can go to the Jetpack menu in your dashboard and disconnect, then reconnect to WordPress.com. It will force an update of your Jetpack settings. You can contact the Jetpack support team here: http://jetpack.me/contact-support/ They can update your Jetpack settings for you.
Make sure your theme calls the wp_footer() function before the closing body tag, and scripts will be output in the correct location.
Finally, fixed it. I needed to add the following line below: define(‘JETPACK_DEV_DEBUG’, true) before this line in wp-config.php: /* That’s all, stop editing! Happy blogging. */ Originally, I had this line after the line mentioned which was causing the Add Contact Form button to not appear.
No need to use Jetpack Post Types feature for that. Just use the following code to enable Jetpack Plublicize for any custom post type of your theme/plugin. Place it in functions.php: /** * Enable Jetpack Publicize Support for CPT * ————————————————————————– */ function wpse20150812_jetpack_publicize_support() { add_post_type_support( ‘mycpt’, ‘publicize’ ); } add_action(‘init’, ‘wpse20150812_jetpack_publicize_support’); Replace the mycpt … Read more
Found the code that works here: https://themeshaper.com/2013/10/08/how-to-override-jetpack-infinite-scroll-settings-in-a-child-theme/ /* * Change the posts_per_page Infinite Scroll setting from 10 to 20 */ function my_theme_infinite_scroll_settings( $args ) { if ( is_array( $args ) ) $args[‘posts_per_page’] = 20; return $args; } add_filter( ‘infinite_scroll_settings’, ‘my_theme_infinite_scroll_settings’ );
Your code should be the good one. You just have to use is_user_logged_in() into a hook instead of calling it directly, and probably to early. function wp_se_339916() { if ( is_user_logged_in() { add_filter( ‘wordads_excerpt_disable’, ‘__return_true’ ); add_filter( ‘wordads_content_disable’, ‘__return_true’ ); add_filter( ‘wordads_inpost_disable’, ‘__return_true’ ); add_filter( ‘wordads_header_disable’, ‘__return_true’ ); } } add_action( ‘template_redirect’, ‘wp_se_339916’ ); Using … Read more
WordPress.com Jetpack subscriptions are not hosted on your site, they’re hosted on the WordPress.com servers. So you can’t add directly to the database. However, if you take a look at the Jetpack plugin code, it outlines the XML-RPC calls used to interface with WordPress.com and add subscribers. So you could build your own importer … … Read more
This code will do the trick. Create a file, jetpack-hide.php (or another name of your choosing) and upload it to wp-content/mu-plugins (create that directory if it doesn’t exist). add_action( ‘jetpack_admin_menu’, ‘hide_jetpack_from_others’ ); function hide_jetpack_from_others() { if ( ! current_user_can( ‘administrator’ ) ) { remove_menu_page( ‘jetpack’ ); } } To re-enable JetPack for all users, simply … Read more
Does anyone know if Jetpack is caching pages/content Jetpack does not cache the contents of your posts and pages. Once I do disable Jetpack, it works as expected. This seems like a conflict between how your code filters the_content, and the way one of the Jetpack features uses the same filter. I would recommend that … Read more