Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [plugin-jetpack]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Convert posts that used the Markdown Block into Markdown in Classic Editor posts?

I’m wondering if anyone has any ideas, or even solutions, for wanting to convert all the posts I wrote using the Markdown Block before I disabled Gutenberg into Markdown in Classic Editor posts, so ...
user avatar
0 votes
0 answers
36 views

Jetpack update causes Wordpress to report PHP Fatal error - relevance unclear

Upon updating the Jetpack by WordPress.com plugin from v7.7 to v12.5, WordPress v6.3.1 reports the following: PHP Fatal error: Uncaught Error: Class 'Automattic\Jetpack\Roles' not found in /www/wp-...
HeymJ's user avatar
  • 1
0 votes
1 answer
46 views

Failed to import File_name Invalid post type jp_pay_product

I’m currently in the process of transferring a website from WordPress.com to WordPress.org, but when I try to import the data of my old website into the new website, some files are not imported and ...
Comeondude's user avatar
0 votes
0 answers
118 views

Failed to import "File name": Invalid post type jetpack-portfolio

I'm importing all my content from wordpress.com to wordpress.org but keep getting the error Failed to import “Post Name”: Invalid post type jetpack-portfolio. I need to transfer all my portfolio and ...
Nikita's user avatar
  • 1
0 votes
0 answers
41 views

Publicize in Jetpack stopped working on Custom Post Type it works in Blog Posts

Hello guys I have a site which I installed JetPack in order to use Publicize to add the functionality to my CPT I added this code: 'supports' => array( 'title', 'editor', 'thumbnail', 'excerpt'...
kelvin ramirez's user avatar
0 votes
0 answers
135 views

Shortcode not working in Jetpack Top Posts & Pages widget

I've added [year] shortcode to some of my posts' titles. I used this in functions.php to enable this shortcode: add_shortcode( 'year' , 'current_year' ); function current_year() { $year = date(&...
heyitsritesh's user avatar
1 vote
0 answers
42 views

Customizing JetPack Publicize Sharing

I want to know how to setup the final code to add to my theme Function.php file to let jetpack publicize share as this : Post Title + Post link Using this guide here : https://lobby.vip.wordpress.com/...
user3057784's user avatar
0 votes
0 answers
2k views

Uncaught TypeError: r is not a function

I built a plugin that registers a Gutenberg block that prints a simple Mailchimp form. The plugin works with no issues. But, if I activate Jetpack and try to edit any page or post, I get a blank ...
leemon's user avatar
  • 1,908
1 vote
1 answer
682 views

How to stop xmlrpc attacks without disabling component to allow JetPack to work in WordPress?

I manage a WordPress website using an virtual machine in the cloud, and lately, I noticed a lot of unwanted requests to the xmlrpc.php component that are slowing down the site causing high CPU loads. ...
mhweb's user avatar
  • 65
0 votes
1 answer
59 views

Solved - Inserting content inside the WordPress loop

I currently trying to insert a block of custom code inside the WordPress posts loop which is using JetPack's infinite scroll functionality. In theory, this should be quite simple but is proving ...
Charlie Coplestone's user avatar
0 votes
1 answer
26 views

Moving Jetpack buttons to appear below the first H2 title on all project/post pages [closed]

I would like to know, how can I move the Jetpack sharing buttons appearing under the H1 title, to appear below the first H2 title, on all project and post pages I have. Here is a URL to make things ...
Shady's user avatar
  • 21
0 votes
1 answer
124 views

Jetpack gallery shortcode with slideshow

Images which are coming from [gallery type="slideshow" ids="1311812,1311814,1311815"] not in lazy load . I am using a3 Lazy Load plugin https://wordpress.org/plugins/a3-lazy-load/
sandeep jain's user avatar
0 votes
1 answer
4k views

Update Failed: There has been a critical error on your website

While updating Jetpack WordPress plugin in Rise2Life site shows error without updating the plugin. The error is: Update Failed: There has been a critical error on your website. Please check your ...
Shah Alom's user avatar
  • 488
1 vote
1 answer
345 views

Jetpack's photon causes local site to try and serve images from Wordpress CDN [closed]

On my remote site I have Jetpack's site accelerator (formerly Photon) turned on. So all the images are cached and then served from the Wordpress CDN. When I ported the site to my local machine, ...
OctaviaLo's user avatar
  • 139
1 vote
1 answer
31 views

jetpack suddendly stopped working [closed]

Suddendly Jetpack stopped working on my (multisite) blog. I tried to disconnect and reconnect it, but now a timeout message appears: The Jetpack server was unable to communicate with your site https:...
mau's user avatar
  • 113
0 votes
2 answers
319 views

Jetpack Lazy load images fade in

I'm using Jetpack to lazy load images and wanted to fade in them nicely using CSS. I've tried adding the following CSS in my theme: .jetpack-lazy-image { opacity: 0; -webkit-transition: .3s; ...
Jacob Weissblum's user avatar
0 votes
1 answer
52 views

Hiding Jetpack Ads from users who are signed in?

I'm just looking for some quick help if possible. I've just enabled Jetpack ads on my site, was hoping to use ad-free viewing as a Patreon reward and found the posts on hooks and conditional tags. ...
Jake's user avatar
  • 1
1 vote
1 answer
1k views

What is the difference between `Home page / Archieves` and the page set as homepage?

In the image below, I set the page Welcome! as my homepage. There is no link to that page, and there is only one way to go to the homepage: click on the banner. However, there is two different items ...
Ooker's user avatar
  • 332
0 votes
1 answer
327 views

Jetpack Top post widget (display post views)

I just need to add views count next to the post link in top-post.php. Not sure how to add these. Can anyone assist?: <div class="widgets-list-layout-links"> <a href="<?php echo ...
bruno's user avatar
  • 1
0 votes
1 answer
87 views

Unable to setup jetpack on my site

I tried debug mode disable all other plugins but still jetpack is not working on my site. I tried manipulating xmlrpc also. my Website is Mazahub and exact error when i click on setup jetpack is ...
Humza Malik's user avatar
0 votes
1 answer
85 views

Jetpack CSS .screen-reader-text breaks mobile menu [closed]

button.screen-reader-text.font-secondary on https://www.evwe.ch is not visible thanks/due to the Wordpress Jetpack CSS .screen-reader-text definition. Hence, the menu is not visible on mobile devices....
Marcel Stör's user avatar
0 votes
2 answers
263 views

Remove Jetpack infinite-wrap

I'm trying to remove the infinite-wrap class jetpack adds to posts with infinite scroll turned on because I want to add infinitely loaded posts to a gridded layout. I found the article here that says ...
Garrett Scafani's user avatar
0 votes
1 answer
70 views

Where does Jetpack store markdown?

I use the Jetpack markdown feature. If I open a previously markdown written post, it will open as a markdown written post. However if I export my site to XML with the official export plugin, it will ...
Arete's user avatar
  • 318
0 votes
2 answers
51 views

Does Jetpack conflicts with load_template()?

EDIT the title of this question was "Does anyone know if Jetpack is caching pages/content" but has been changed following the thread. I just updated a plugin I made. Among others, it does filter the ...
gordie's user avatar
  • 492
1 vote
2 answers
147 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 ...
Kirsty Marks's user avatar
-1 votes
1 answer
345 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 ...
saga's user avatar
  • 99
0 votes
1 answer
45 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
user2016496's user avatar
0 votes
1 answer
2k 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[$...
A. Muller's user avatar
0 votes
2 answers
764 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 ...
Muhammad Zaheer Nazir's user avatar
1 vote
0 answers
96 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 ...
Arcath's user avatar
  • 239
0 votes
1 answer
61 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 ...
kristoffer berntsen's user avatar
-1 votes
1 answer
204 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 ...
Abby's user avatar
  • 1
0 votes
1 answer
136 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?
MAQ's user avatar
  • 101
2 votes
1 answer
111 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). ...
Jack's user avatar
  • 121
0 votes
0 answers
171 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); ...
gordie's user avatar
  • 492
2 votes
1 answer
285 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' => '...
Kevin Nugent's user avatar
0 votes
0 answers
83 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 ...
Kevin Mamaqi's user avatar
0 votes
1 answer
1k 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 ...
Zach Smith's user avatar
0 votes
1 answer
103 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 ...
Omar Shazly's user avatar
0 votes
0 answers
99 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?
Grant Ab's user avatar
0 votes
1 answer
551 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( ...
chepurko's user avatar
0 votes
1 answer
141 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 ...
Abdu ssamad's user avatar
0 votes
1 answer
489 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 ...
Adam's user avatar
  • 477
1 vote
0 answers
246 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 ...
EFC's user avatar
  • 123
0 votes
1 answer
876 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 ...
Jim's user avatar
  • 7
1 vote
0 answers
257 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 ...
r3b3l's user avatar
  • 11
2 votes
1 answer
703 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 ...
raphie's user avatar
  • 125
0 votes
2 answers
793 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 ...
Dre's user avatar
  • 306
8 votes
2 answers
23k 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/...
And Finally's user avatar
1 vote
1 answer
949 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/...) ?
Hieu's user avatar
  • 113