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
1answer
21 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
20 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
646 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 ...
1
vote
1answer
691 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
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;...
0
votes
1answer
37 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 ...
3
votes
1answer
962 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
1answer
5k views

Popular posts by view with Jetpack

I'm using Jetpack to retrieve the number of views for each blog post. Is there a way to use this to generate a call to the most viewed posts and list them? I've been wanting to do that for a long ...
0
votes
0answers
15 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
18 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
1answer
19 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....
0
votes
0answers
17 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
2answers
41 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 ...
0
votes
1answer
15 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
34 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
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
2answers
28 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 ...
-1
votes
1answer
29 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
2answers
21 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 ...
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
530 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[$...
5
votes
1answer
10k 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/...
0
votes
1answer
187 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
49 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
votes
2answers
302 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 ...
3
votes
3answers
5k views

How to disable Jetpack modules such as Stats?

I want to disable some of the Jetpack modules such as Stats in order to check if they make the web site slower or not. But I couldn't see an option to disable modules one by one. Of course, one can ...
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 ...
6
votes
0answers
862 views

Slow REST API calls on self-hosted WordPress [closed]

I'm using WordPress REST API to access some posts from an app we're creating, but the API calls are really slow! If I'm using the domain in the call like this: https://public-api.wordpress.com/rest/...
-1
votes
1answer
73 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
46 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
57 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
113 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
3answers
1k views

Remove “show sharing buttons” metabox Jetpack from custom post type

I have installed Jetpack and now my custom post types feature a meta-box that says "Sharing: Show sharing buttons" with a checkbox. This is unnecessary for this custom post type and I would like to ...
0
votes
1answer
100 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
3answers
1k views

Removing the main link to Jetpack from the menu

I need to remove the link to the Jetpack settings, but not the links to Omnisearch and Site Stats from the admin menu for everyone not having an administrator role: For this, I came up with this code:...
0
votes
0answers
61 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 ...
2
votes
1answer
2k views

Jetpack infinite scroll render - make different depending on post type?

I am currently working on a theme which has two post types - one is the normal "posts" post type, and the other is for portfolio posts - "mytheme_portfolio". I am using JetPack's infinite scroll to ...
2
votes
2answers
5k views

JetPack Infinite Scroll not working on custom theme

I have a custom theme where I've tried to integrate the Infinite Scroll option within JetPack. Per this article, I've added the following code to functions.php (in addition to activating the module) - ...
1
vote
1answer
292 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() { ...
0
votes
1answer
45 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
73 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
341 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
81 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
352 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
386 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
120 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
515 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 ...
0
votes
3answers
2k views

Why I can't modified jetpack default blank.jpg on og:image?

I would like to change jetpack default blank.jpg atribute on og:image. I readed some artcile in this subject, but not realy helped me. Here some trys: /** * Override the default OpenGraph tags */ ...
1
vote
0answers
197 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 ...
15
votes
8answers
15k views

Jetpack Running Locally [closed]

Wondered if anyone knew an easy way around this. The code behind my local dev version of a WordPress instance and the live version are in sync (as they should be). Problem is this means the "Jetpack" ...