Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plugin-jetpack]

Jetpack is a WordPress plugin that supercharges your self-hosted WordPress site with the awesome cloud power of WordPress.com.

0
votes
0answers
9 views

does Jetpack caches pages?

I just updated a plugin I made. Among others, it does filter the content of a page using the_content hook. But I noticed that it does not behaves like it should once I pushed the changes online (some ...
0
votes
1answer
10 views

Removal of Jetpack OG Tags from old blog site

www.beautifulcreationsphotography.co.uk I have a client who used to have a Wordpress blog, however for some reason its carrying over to her new site and causing havok with Yoast. Ive added in this ...
-1
votes
0answers
6 views

Jetpack 'Blog Subscription' widget doesn't add emails to

I'm trying to use the jetpack 'Blog Subscriptions' widget, but any emails submitted with this widget aren't being added to the followers list. Verification emails aren't being sent to the subscribers ...
0
votes
1answer
22 views

Why 2 home pages?

All my site in WP have to 2 home pages in jet pack stats, any idea why ? https://prnt.sc/m03pws https://prnt.sc/m03qed
0
votes
0answers
55 views

Jetpack Publicize custom message

I'm using the following code to add a # character to each (except 1st) word in the title, then to set this as the sharing post message. function set_jetpack_publicize_default_message() { global $...
0
votes
0answers
32 views

Jetpack : skip lazy loading on some images

I didn't find any solution to this, so I share my findings: add skip-lazy class to your image, it will be excluded from lazy loading. Eg: <?php the_post_thumbnail('post-thumbnail', ['class' => '...
-1
votes
0answers
14 views

Jetpack week&month view counts don't show on the web

I recently noticed the view counter stats(week&month) don't work on my web. But, the day counter is working. Three stats(day,week&month) on the dashboard and the debug is okay, too. Only week ...
0
votes
1answer
156 views

i1.wp.com url problem (Jetpack not installed)

I added the following code to the functions.php file add_filter( 'avatar_defaults', 'new_gravatar' ); function new_gravatar ($avatar_defaults) { $myavatar = 'link'; $avatar_defaults[$...
0
votes
1answer
98 views

The plugin jetpack/jetpack.php has been deactivated due to an error: Plugin file does not exist

When try to install the latest JetPack plugin, I got below error: The plugin jetpack/jetpack.php has been deactivated due to an error: Plugin file does not exist. Tried many times to install but ...
0
votes
0answers
31 views

How do I replace the images URL in widgets?

I wrote the script below to replace the URL of the images in the post content with the WordPress CDN link. (Yes, I know the Jetpack, but in my case I can not use it) <?php add_filter('the_content',...
0
votes
0answers
38 views

Hook into Jetpacks Publicize without using a post type

I have a plugin that allows users to power small amounts of data to thier sites. I don't use a custom post type for this but I would like to use Jetpack's publicize to publish to the sites connected ...
0
votes
0answers
99 views

correct way to call images from Photon CDN

I am having a bit of difficulty finding the correct way to call images from the CDN that I use - Photon from Jetpack Prevouisly - called them direct from the upload source wp-content/themes/mytheme/...
0
votes
1answer
40 views

Increase load-out-page speed

I am pretty new to Wordpress and the SEO part of webdevelopment, but i want to learn. So I have trues to make my site faster, by making the images (thumbnails) smaller, and bundled the CSS and JS. The ...
0
votes
0answers
30 views

Edit Jetpack Sharedaddy Email Content

Hi I'm stuck trying to hook into and replace the subject and email body generated by Jetpack Sharedaddy Module (sharing buttons). https://github.com/Automattic/jetpack/blob/3.9.4/modules/sharedaddy/...
-1
votes
1answer
50 views

I've installed Jetpack but can't edit the CSS to my blog?

I have a personal WordPress blog that I've used for years. Recently for an assignment at university, they assigned us to make a blog, and they gave us our individual URLs on WordPress. On my ...
0
votes
0answers
34 views

Jetpack URL shortening, fixing after website URL change

I have a website which uses Jetpacks wp.me shortlinks. Sadly after the website URL change those are still pointing to the old address. Is is possible to force regenerate those?
2
votes
1answer
38 views

Allow latex in wordpress excerpt

I've found some code below which allows you to write HTML in a WordPress excerpt. Allow HTML in excerpt I would like to write LaTeX in the excerpt as well (using Beautiful Maths from Jetpack). ...
0
votes
0answers
96 views

the_content filter not working when Jetpack activated. Any idea?

I use this function to filter some posts content: function frontend_wizard_content($content){ if ( !is_page(213) ) return $content; ob_start(); locate_template('mycontent.php', true); ...
0
votes
1answer
60 views

Exclude Post Type from Jetpack Infinite Scroll

I'm using the Underscores theme which comes with the following (very) handy code in inc/jetpack.php add_theme_support( 'infinite-scroll', array( 'container' => 'main', 'render' => '...
0
votes
0answers
47 views

Register CPT if Jetpack Portfolio is not active and only once

I am creating a theme and I want to include support for projects CPT in it. How can I activate my CPT only if Jetpack Portfolio is not active? In addition, I am registering some custom fields with my ...
1
vote
1answer
509 views

how to get jetpack's infinite scroll to work with woocommerce?

I am trying to get Jetpkack's infinite scroll to work with the WooCommerce product archive template. I have added the following code to my theme, after installing Jetpack, and I do see the sticky ...
0
votes
1answer
39 views

mydomain.com/wp-login redirects to wordpress.com/wp-login

When I visit mydomain.com/wp-login, it redirects me to wordpress.com/wp-login (in case I'm logged out of admin account) mydomain.com/wp-admin (in case I'm logged in) This is perfect as long as I'm ...
0
votes
0answers
62 views

How can I disable Jetpack plugin on mobile?

I'm using the Wordpress jetpack plugin to create a gallery on a WP site. However I want to disable it completely based on the visitors viewport, how can I achieve this?
0
votes
1answer
310 views

Infinite scroll function for Twenty Seventeen

It doesn't look like the Twenty Seventeen theme supports Infinite Scroll, and adding support doesn't work either if I add the following to functions.php: add_theme_support( 'infinite-scroll', array( ...
0
votes
1answer
75 views

Fetching WP.me shortlinks for posts using WP Rest API

I have recently installed Jetpack for my self-hosted blog. I have already installed the WordPress REST API plugin to fetch blog contents. After installing the Jetpack, the default WordPress short ...
0
votes
1answer
304 views

Unknown on line 0' Error

Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0' Error Using Theme 2011. Error accessing wp-admin dashboard. Have disabled plugins one by one and ...
0
votes
0answers
343 views

Site doesn't have xmlrpc.php

I'm trying to use the JetPack Plugin and get this Error: Error Details: The Jetpack server could not communicate with your site's XML-RPC URL. Please check to make sure xmlrpc.php url is working ...
0
votes
1answer
338 views

Jetpack Infinite Scroll - changing number of posts

Problem: Unable to change number of posts on Jetpack Infinite Scroll Desired Result: Load 10 posts per infinite scroll instead of default 7 Theme: Twenty Fifteen (Child) Tried: 1) Looking for a ...
1
vote
0answers
103 views

Changing sort order for presentation by Jetpack infinite scroll

I have been able to use WordPress filters for posts_join_paged, posts_where, and posts_orderby to create a query that presents a set of artists where only artists who have a last name listed in the ...
0
votes
1answer
488 views

jetpack publicize content customization

This is a twofold question : How can I customize message that jetpack posts on facebook when my post is published (select if title or excerpt are shown)? Sometimes it posts just article title with a ...
0
votes
1answer
444 views

Add disclaimer before certain posts and pages

To comply with FTC guidelines, I'm trying to get all posts with affiliate links to have a disclaimer right before the post. After looking at different options, the idea that made the most sense was ...
1
vote
0answers
183 views

Jetpack post types Portfolio or Testimonials support for custom fields?

Is there a way to add custom fields support for Jetpack’s custom post types testimonials? I’ve added the post type manually on functions.php and also in Jetpack’s own panel but I cannot figure out how ...
1
vote
1answer
437 views

Setting Login with User Name and Password default option for Jetpack Admin Login

I am working on a new project with Wordpress using the Jetpack plugin. Jetpack add the option to Login using Wordpress Account as the default method of login, if not, then you have to click on a link ...
-1
votes
2answers
244 views

Is there a way to enable a Jetpack module via `functions.php`

Is there a filter available that would let you specify that a module is active, without you having to use the admin area? I've found filters that let you hide modules, but so far nothing for ...
6
votes
1answer
8k views

WP REST API no longer supports filter param, so how do I get posts in a custom taxonomy?

All around the Interwebs I see advice from people who say that when you want to get posts in a custom taxonomy you should use the filter parameter, for example: https://example.com/wp-json/wp/v2/...
1
vote
2answers
476 views

Is it safe to delete uploaded photos if Photon (Jetpack) is activated?

I turned on Photon (Jetpack). Now, my photos are served from Wordpress's CDN. Is safe to delete the photos I uploaded (which are stored in wp-content/uploads/...) ?
1
vote
2answers
239 views

Jetpack social icons in other places on site

I believe Jetpack is using "Font Awesome" to display social icons. This is the css content: "\f203"; to display facebook for example. If I look in the site source I can't find anywhere the "Font ...
0
votes
0answers
218 views

Jetpack Infinite Scroll Not Working

The infinite scroll works well when I'm on my localhost. It also works when I install my theme to my website to test. But when I install the theme on my client's WP installation, it doesn't work any ...
1
vote
1answer
253 views

Jetpack infinite scroll not working on twentysixteen custom theme

I duplicated twentysixteen theme and only changed the name of the folder and the name of the theme in style.css. I then added in functions.php : function twenty_sixteen_infinite_scroll_init() { ...
1
vote
0answers
107 views

Adding character count and limit in comments, modifying labels and fields - jetpack

I am trying to configure Jetpack comments as following: I want to change the labels on the comment fields, but I have no idea where to find the code and edit the tags (they are also translated so I ...
-2
votes
1answer
628 views

Force Jetpack to use og:url with http on an https website

I moved my site from http to https, but I wish to preserve my facebook likes. From what I read, I should use the og:url metatag so that facebook will know how to fix the likes on that page. I tried ...
-2
votes
2answers
1k views

Customise Jetpack Publicize text

EDIT: Due to downvotes (with no comments!), I've edited this post to be a bit more specific... Why isn't the following change working? $custom_message = get_the_title( $post->ID ) .''. $hash_tags;...
-3
votes
1answer
169 views

Using Jetpack to track an Ajax powered blog [closed]

I am setting up my own blog, and I'm having fun making it with Ajax calls to WP API (plus a default php fallback). Everything works properly so far, but what's making me wonder is how to make Jetpack ...
-1
votes
1answer
823 views

Jetpack Infinite Scroll, Isotope and ImagesLoaded

I'm trying to build grid with Infinite scroll and Isotope. I'm using also ImagesLoaded plugin for images which overlaps each other. The problem is I still get images overlap even that I triggered ...
2
votes
1answer
982 views

Isotope with Infinite Scroll

Using Jetpack Infinite Scroll & Isotope (Masonry). I am facing an issue where after every new ajaxed set of posts, I need to destroy and then build isotope layout. If I don't go with this ...
1
vote
1answer
305 views

Change $content_width based on screen size (functions.php)

I've got a WordPress install where I'm trying to change this content_width code: if( ! isset( $content_width ) ) $content_width = 290; in my functions.php file based on the users screen size. I've ...
0
votes
0answers
49 views

Jetpack: Access visitor stats in templete

is there any possibility to get the visitor number from my Jetpack-Plugin statistics? I want to use it in my template to build a counter, which should be visible to all visitors. I've been looking ...
0
votes
1answer
87 views

basic wordpress api endpoint to serve a key-value dictionary

i am using wordpress JetPack JSON API to serve a self-hosted site posts to a mobile app. i need to serve a basic key-value dictionary from the same site admin panel to manipulate some settings in the ...
0
votes
0answers
38 views

How do plugin updates work?

I have just inherited a MultiSite install with about 100 plugins, many of them out of date, and I have noticed that they dont seem to be getting update notifications. And yes, I have checked for ...
1
vote
1answer
636 views

Jetpack “Connect to Wordpress” serving insecure content under HTTPS

I set up my site to use SSL and was auditing for insecure content and by process of elimination I found that the plugin serving insecure content is infact Jetpack, and only when connected to Wordpress ...