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
12
votes
6 answers

Cannot access 'RowScopeInstance': it is internal in 'androidx.compose.foundation.layout'

I was trying to achieve the below layout I tried using Row(Modifier.weight(50f)) that's when the compiler start throwing If imported from ColumnInstance - import androidx.compose.foundation.layout.ColumnScopeInstance.weight Cannot access…
12
votes
2 answers

Compose TopAppBar has no background color

I want to add a TopAppBar to my Compose app, so I did the following: @OptIn(ExperimentalMaterial3Api::class) override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContent { …
11
votes
1 answer

Wordpress Subscriptions in laravel (corcel)

I have 2 projects, one in Wordpress, and the other one in Laravel 4.2. Recently i had to merge both projects into one Laravel 4.2 App using jgrossi/corcel. This was my only option. Everything works fantastic! I can even post directly into Wordpress…
Ivan Bravo Carlos
  • 1,650
  • 3
  • 15
  • 22
7
votes
0 answers

(Solved) Multiple values are not allowed for plugin option androidx.compose.compiler.plugins.kotlin:reportsDestination

I'm using Android Studio for Android development with Kotlin. I have more than 40 Android modules in the project: some of them are Java module, some of theme are android module. Kotlin Version = "1.8.20" Hilt Version = "2.45" Compose BOM Version =…
7
votes
0 answers

Repositioning JetPack's comment subscription box within WooCommerce

I'm using WooCommerce and also utilising JetPck for a couple of things, one being it's comment subscription functionality. Now, last time I checked it was displaying this fine, but I just now noticed that the "comment subscription box" you see when…
Brett
  • 19,449
  • 54
  • 157
  • 290
7
votes
3 answers

Modify WordPress Jetpack Plugin To Use 'Class' Instead Of An 'ID' Attribute

What I am trying to achive: Enable seamless & simultaneous infinite scrolling for multiple columns on the same page, each of which is pulling in a different set of content i.e. one column shows the latest posts, while the other shows the latest…
its_me
  • 10,998
  • 25
  • 82
  • 130
6
votes
2 answers

How to restrict Keyboard Enter key not to allow input in the next line (TextField in Android Jetpack Compose)

In Android emulator, entering input using Computer Keyboard, but the "Enter" key on my keyboard should take the input and do the action. Instead, the input is allowing me in the next line, and keep on continuing to the next line (as a new line…
6
votes
3 answers

Why some people still use viewmodel in jetpack compose?

I watch some tutorial projects on YouTube and some of them make viewmodel file and write some bunch of code, just to use viewmodel! We have remember and rememberSavable and state and recomposition and ... in jetpack compose. so why still some people…
6
votes
2 answers

Error: (JetPack Compose) Type 'TypeVariable(T)' has no method 'getValue(Nothing?, KProperty<*>)

I found an article where it describes how to make implementation of parallax view in LazyColumn and there is such a method: @Composable fun ImageParallaxScroll() { val lazyListState = rememberLazyListState() val list =…
6
votes
1 answer

postman jetpacks - testing for nested data

I have a test in postman and the response comes back with 'nested' data. By that I mean we have a 'data' section of the response and a 'messages' section. Inside data there are a ton of other fields and those are the ones I need to be verifying on…
besaidAuroch
  • 61
  • 1
  • 6
5
votes
1 answer

Scroll to absolute coordinates of nested element in Jetpack Compose

Jetpack Compose animateScrollTo to absolute coordinates or direct to element Here is almost the same question, but I have nested composable in my case, so the accepted answer won't work for it, and when you want to scroll from the bottom of the…
Joao
  • 374
  • 3
  • 16
5
votes
1 answer

Customise selected/unselected background of Switch composable in Jetpack Compose?

I am using a Switch Composable for which I want to give a custom background for selected and unselected state. How can I do that? var switchState by remember { mutableStateOf(false) } Switch( checked = switchState, onCheckedChange = {…
5
votes
2 answers

How to set Double back press Exit in Jetpack Compose?

There are some tutorials on YouTube about how to set double back press exit in XML android, but most of them are in JAVA and None of them are in Jetpack Compose. So how can we set that Double back press in Jetpack Compose? I mean that thing that…
5
votes
0 answers

Wordpress Jetpack Infinite Scroll returning {"type":"empty"}

I've installed Wordpress Jetpack and configured everything in my functions.php, but for some reason it's not working. I've followed these instructions, and those on the Jetpack website, but nothing seems to load in... Developer tools show the AJAX…
Chuck Le Butt
  • 47,570
  • 62
  • 203
  • 289
5
votes
2 answers

Using Jetpack Portfolio Project in WordPress child theme does not call archive custom template

I have a child theme that uses the new Jetpack Portfolio Project custom post type and wish to modify archive.php to display custom results. I'm using: WordPress v3.9.2; Theme: Child of Point, Jetpack is installed with Custom Content Types enabled,…
user145959
  • 51
  • 1
  • 3
1
2 3
29 30