Questions tagged [plugin-jetpack]

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

42 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
1k views

Custom Loop and Infinite Scroll

I am using customized version of _s theme where I have Product CPT. In the following files, I need to use Infinite scroll (provided by Jetpack) - archive-products.php taxonomy-[tax-name].php ...
1
vote
0answers
61 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 ...
1
vote
1answer
785 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 ...
1
vote
0answers
130 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 ...
1
vote
0answers
207 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
328 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
227 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 ...
1
vote
1answer
322 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 ...
1
vote
0answers
353 views

infinite-scroll for 2 fixed height containers

I have 2 fixed height columns for 2 different post-types. The goal is to get the infinite-scroll to work in both containers. I know that the JetPack infinite-scroll container parameter uses ID value ...
1
vote
0answers
320 views

Filtering get_permalink in Jetpack / ShareDaddy

I recently changed my permalink structure from /YYYY/MM/%post_name%/ to /%post_name%/, and lost my tweet counts and likes (provided by Jetpack) in the process. To fix this, I want Jetpack to use the ...
0
votes
0answers
15 views

Content-Security-Policy Header with JetPack

I am currently setting up a web server for WordPress. Ubuntu 18 with Apache2 behind Cloudflare. The WebSite is connected to WordPress JetPack. Everything is up and running, but I am stuck at ...
0
votes
0answers
17 views

Publicize With Hashtags, custom posts

'Publicize With Hashtags' plugin tags that automatically become hashtags in publicize only apply to posts, how do I make them apply to custom posts too? thanks
0
votes
0answers
38 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; ...
0
votes
1answer
23 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. ...
0
votes
1answer
58 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 ...
0
votes
1answer
57 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 ...
0
votes
0answers
47 views

Customize an ElasticSearch Query (Jetpack Search) to include custom taxonomy

I am using Jetpack Search as an economical way to get the power of ElasticSearch for my company's Woocommerce site. It seems that the search query is only being compared to a few select fields (...
0
votes
1answer
33 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 ...
0
votes
0answers
23 views

Has anyone created a filter to display Jetpack testimonials by ID

I’m looking for a way to display Jetpack testimonials by id. Several requests to Jetpack have been turned down. I’m wondering if anyone here has a mod that adds id=“xx” to the shortcode? Tahoar
0
votes
1answer
23 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 ...
0
votes
0answers
10 views

Jetpack update wrecked my sub-menu

Can I roll back a jetpack update? I had extensive sub-menus on my site and when I updated jetpack I now get error messages for all of them.
0
votes
0answers
46 views

How to get stats_get_csv for yesterday only

I'm looking to get Jetpack stats for yesterday, but am having trouble figuring out how to get yesterday from stats_get_csv. stats_get_csv has two seemingly relevant parameters, "days" which says how ...
0
votes
1answer
28 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
1answer
256 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
1answer
44 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
52 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?
0
votes
0answers
131 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
110 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
66 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 ...
0
votes
1answer
59 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
79 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
86 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
399 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
1answer
721 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
0answers
289 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 ...
0
votes
0answers
53 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
91 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
39 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 ...
0
votes
0answers
86 views

Popular posts - based on pageviews

I'm trying to figure out if it's possible, either by using a pre-existing plugin or some other route to pick the 10 most popular posts based off of page views (per the last month)? Using either Google ...
0
votes
0answers
53 views

Comments template only linking to one post

For some reason, the comments section at the bottom of each post (using single.php) seems to only be linked to a specific post on my blog, and only retrieves comments from that one post regardless of ...
0
votes
1answer
347 views

Jetpack Comments Change Placeholder Text

Is there a hook or template file where I can change the placeholder text on the #comment textarea w/in the comment form? Jetpack loads the form via an iFrame which prevents changing the placeholder ...
0
votes
1answer
345 views

Jetpack email sharing button to include image on email sent

I am changing the message for the email sent by modifying the sharedaddy.php file and have now spent hours trying to include the image attached to the post on the email. I tried adding the following ...