Questions tagged [jetpack]

Jetpack is a WordPress plugin that enables self-hosted WordPress installs to connect to WordPress.com to get additional features, powered by its cloud infrastructure.

Jetpack is a WordPress plugin that enables self-hosted WordPress installs to connect to WordPress.com to get additional features, powered by its cloud infrastructure.

445 questions
2
votes
1 answer

How to set fontSize for Text (Jetpack Compose) from res xml?

I have my dimen.xml with all demintions that I use over the app. Now with jetpack compose I would like to use these demintions also here There is a text: ... Text( text = stringResource(id = R.string.brandname), fontSize = 12.sp …
2
votes
3 answers

JetPack Compose: Adding click duration

I have a composable component like so: Card( modifier = Modifier .fillMaxWidth() .then(modifier ?: Modifier), backgroundColor = colorResource(id = R.color.Red), shape = RoundedCornerShape(percent = 50), ) { Row ( …
KTOV
  • 559
  • 3
  • 14
  • 39
2
votes
0 answers

Sorting by most views/popular posts in Wordpress with Elementor plugin and custom query difficulty

I have this code: // Posts or Portfolio Widget add_action( 'elementor/query/my_custom_filter', function( $query ) { // Modify the posts query here } ); source: https://developers.elementor.com/custom-query-filter/ and need to call…
chaimsem
  • 41
  • 9
2
votes
0 answers

Limit date range for related posts in Jetpack

I'm trying to apply a php code snippet to my wordpress page to enable Jetpack to limit its related posts to no later than 2017-01-01. However, when I add this code via Snippets - with Jetpack enabled to show thumbnails - Jetpack doesn't work. Is my…
2
votes
3 answers

Disable Jetpack Carousel on specific pages in WordPress

I'm trying to disable Jetpack Carousel on a specific post ID using the following code in my functions.php function djcoh_disable_carousel( $value ) { wp_reset_query(); if ( is_page( 614 ) ) { $value = true; // true to disable…
rmbaumer
  • 45
  • 1
  • 8
2
votes
1 answer

How to encode “?” in image URL

I checked this already and found a solution here (Q 34160546) which sadly does not work for me though, maybe anyone else has an idea? I checked my site on pingdom and wanted to get rid of this problem they put up: Resources with a “?” in the URL are…
Chris
  • 53
  • 8
2
votes
0 answers

Can't get Jetpack Infinite Scroll working in custom WordPress theme

I'm making a custom WordPress site for a client in which I would like to implement Infinite Scrolling to my archive and category templates. I'm using the following to achieve that: HTML5Blank WordPress Framework Jetpack WordPress Plugin Bootstrap…
2
votes
1 answer

Function not showing up in child theme WordPress

I was having problems with functions in the Aaron child theme in WordPress. I had part of my problem answered in Overwrite parent functions in child function.php WordPress but I couldn't get the logo to work as a bigger size. I eliminated a lot of…
Kristina Bressler
  • 1,642
  • 1
  • 25
  • 60
2
votes
1 answer

WordPress hiding IMG

Every time I link to an image or upload via the Media page style="display: none !important; visibility: hidden !important; opacity: 0 !important; background-position: 300px 250px;" width="0" height="0" is added to the img tag. See below.
localhost
  • 1,062
  • 3
  • 15
  • 35
2
votes
0 answers

Wordpress - Jetpack Infinite Scroll, comments form no appear

I use Jetpack Infinite Scroll: http://wordpress.org/plugins/jetpack/ On first page comments work good, but when I scroll down and next page is loaded comments no appear. My loop:
Marcin
  • 21
  • 4
2
votes
2 answers

how to remove value from the contact form of jetpack wordpress plugin?

Hi I am using jetpack plugin to generate my contact form. This is the code the plugin generates [contact-form][contact-field label='Name' type='name' required='1'/] [contact-field label='Phone' type='text' required='1'/] [contact-field…
aurel
  • 3,082
  • 10
  • 44
  • 56
1
vote
3 answers

Jetpack compose How to solve Unsolved reference: colors in MaterialTheme.colors

I'm starting learning jetpack compose, I'm trying to follow the tutorials shown here: https://developer.android.com/jetpack/compose/tutorial?hl=es-419 But in the part https://developer.android.com/jetpack/compose/tutorial?hl=es-419#color it says to…
Eduardo Corona
  • 1,262
  • 4
  • 20
  • 31
1
vote
1 answer

Navigation Compose 2.6.0 gives duplicate class error

I'm creating a new project from scratch in Android Studio Flamingo 2022.2.1 Patch 2. As stated in the Android Developer docs for Jetpack Navigation, I've added the dependency: implementation("androidx.navigation:navigation-compose:2.6.0") There is…
1
vote
2 answers

Issue with MotionLayout animation not working properly with LazyColumn in Jetpack Compose

I'm trying to implement a MotionLayout animation with swipe gesture using the androidx.constraintlayout.compose version 1.1.0-alpha09 library in Jetpack Compose. However, I'm facing an issue where the animation doesn't work as expected when using…
1
vote
0 answers

How to traverse the composable tree in android

I have an activity instance that has its content set via jetpack compose. Now I want to get access to the leaf composables in the composable tree. How can I traverse through the tree given I only have access to the activity instance. Consider there…