Questions tagged [enqueue]

102 questions
0
votes
1 answer

Enqueue/Dequeue in C++ Using Pointers?

I am starting to jump into C++ right now for my class, and we covered enqueue and dequeue in Scheme. However, we're doing it in C++ now, and we need to use pointers, which I am struggling to understand. I understand what pointers are, when to use…
user11133396
0
votes
1 answer

Custom post type single page not deregistering style and scripts

I have a website where I have a custom post type with some single pages attached to it. Problem: I can't deregister the scripts and styles on my custom post type single pages. This is my code: add_action( 'wp_print_scripts',…
Siyah
  • 2,852
  • 5
  • 37
  • 63
0
votes
2 answers

How to Enqueue Core WordPress Jquery into Class

What is the proper way to enqueue into a class? It seems fine to use just wp_enqueue_script('jquery-ui-tabs'); Into a theme template but if you use the same line inside the enqueue_scripts boilerplate class area it does not work. I can get custom…
user1518699
  • 385
  • 2
  • 8
  • 20
0
votes
1 answer

Wordpress Child Theme Enqueue and Dequeue and Localize

I am trying to enqueue an edited js file from my child theme and dequeue the original one from the parent. It should be simple, however, the parent theme is calling a function where all enqueues are made. I managed to enqueue it but not to dequeue.…
stemon
  • 599
  • 1
  • 5
  • 23
0
votes
1 answer

Enqueuing External JS and CSS in Wordpress

I am having quite a bit of difficulty with my new website. 2 Problems really. First is calling external JS and CSS scripts. I have added them to my functions.php file in the same fashion that I have, all my other sites and they do not seem to be…
SupGen
  • 195
  • 17
0
votes
1 answer

I am enqueuing stylesheet main while my images are not showing

I am converting HTML to Wordpress theme. I am enqueuing stylesheet. but some of the images are not showing. Maybe its could be subfolder issue
0
votes
0 answers

Registering my custom modal.js conflicts with Wordpress Jquery

I noticed that some buttons stopped working in my theme so I started debugging and found the issue to be with my modal script registration. Please can somebody tell me how this is causing an issue? I have registered and enqueued several other files…
shaun21uk
  • 100
  • 9
0
votes
1 answer

Enqueue makes no difference in Symfony/Elasticsearch index creation

In a Symfony 4.3 application with Elastcsearc 6.8 plus friendsofsymfony/elastica-bundle v5.1.0 an index creation task takes 18 minutes to complete either with or without enqueue/enqueue-bundle 0.9.12 and enqueue/fs 0.9.12. Is there a package I'm…
geoB
  • 4,578
  • 5
  • 37
  • 70
0
votes
2 answers

The child node "transport" at path "enqueue_elastica" must be configured

In a Symfony 4.3 app with friendsofsymfony/elastica-bundle 5.1.0, enqueue/elastica-bundle 0.9.3, and enqueue/fs 0.9.12 installation of the latter ends with: The child node "transport" at path "enqueue_elastica" must be configured. I've tried…
geoB
  • 4,578
  • 5
  • 37
  • 70
0
votes
0 answers

wp_register_script going crazy

So, I am working on a custom post type and have a css and a js file related to it. I had them enqueuing just fine until it didn't anymore. Here is the code I have: function enqueue_avada_child() { wp_enqueue_style('avada-css',…
stemon
  • 599
  • 1
  • 5
  • 23
0
votes
0 answers

WordPress theme front-page JavaScript needs to be executed somewhere on the page but only appears in the footer?

I'm having problems executing some javascript within a certain part of my WordPress front page I created. I want to execute a welcome message within this div.
0
votes
1 answer

Is there a dequeue function for vert.x AMQP to clear the message?

From the AmqpReceiver, i am able to print out the enqueue message, but how do I dequeue or clear the message from the queue? amqpClient.createReceiver("my-queue", done -> { if (done.failed()) { …
WoonWG
  • 27
  • 5
0
votes
0 answers

How to Fix an Enqueue and Dequeue Issue in Code?

I am working on this project to solve a maze using a queue in Java. As I was working on the main class, I am getting errors specically in the enqueue and dequeue methods. public void mazeSolver(int startRow, int startCol, int endRow, int endCol) {…
Alice
  • 25
  • 5
0
votes
2 answers

How to stop enqueued call after first execution?

I'm very new to android development. Trying to connect some site and get data from it. I have this function called only from onCreate in the main activity. Every time I turn virtual Android phone left or right I see new "run()" strings in EditText…
Vadim
  • 93
  • 5
0
votes
1 answer

Java priority queue that extends comparable?

I am working on a class assignment and I don't quite understand how to use comparator in the way the assignment is asking. The assignment reads: "Complete the Priority Queue class Your Priority Queue must use an anonymous function to decide…
user11213679