Questions tagged [enqueue]

102 questions
1
vote
1 answer

ActiveMQ - After a long time running, broker accepts messages but doesn't enqueue anything

My configuration is: ActiveMQ 5.15.1 atomikos transactions jms 4.0.6 Spring boot 2.1.7.RELEASE My application is sending messages by Spring JmsTemplate.convertAndSend method : import…
Erwann
  • 31
  • 4
1
vote
3 answers

How to enqueue javascript in my theme in wordpress that i created?

I converted a html,css,js template to a wordpress theme. To enqueue my css it worked correctly, i just add the function in functions.php but to enqueue javascript it doesn't work i tryed a lot of modifications but nothing works Here is my…
Driss Elk
  • 53
  • 1
  • 7
1
vote
0 answers

Dequeue the exception queue in ORACLE AQ

I am new to the Oracle AQ process and have a few questions about the exception queue. Here's my scenario: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 Create Table and Queue: BEGIN DBMS_AQADM.CREATE_QUEUE_TABLE ( QUEUE_TABLE …
B Red
  • 33
  • 4
1
vote
0 answers

Did I enqueue my stylesheets incorrectly for my custom Wordpress theme?

I just built my first custom Wordpress theme from scratch using Bootstrap 3.4.0 (hooray!) however, my jumbotron section is not being responsive on my phone screen... I'm wondering if I enqueued something incorrectly? Here's my stylesheets and…
1
vote
2 answers

Script will not enqueue

In addition to one other script, I am tying to enqueue the waypoints script in my functions.php file for Wordpress. I can't work out why the first script works but the second (waypoints) script will not load? I am not sure what the true and false…
Mr Toad
  • 202
  • 2
  • 12
  • 41
1
vote
1 answer

dequeuing and enqueuing minified js files in childtheme wordpress

I'm trying to dequeue a minified js file from wordpress parent theme. Can't seem to work out how to dequeue and then enqueue my own custom js file from child theme. Here is my code: add_action( 'wp_enqueue_scripts', 'my_remove_scripts', 20 ); …
Elektra
  • 39
  • 7
1
vote
1 answer

WordPress remove legacy CSS and include new CSS

Trying to remove old CSS and include new CSS, however when I inspect my code I still get the old CSS and not the new, have I written the code correctly? My code function se_remove_styles() { if ( is_page_template( 'template/page-main.php' ) ) { …
Beep
  • 2,737
  • 7
  • 36
  • 85
1
vote
1 answer

How to remove all style and JavaScript and include new one in wordpress

I am working on a legacy wp theme and have some lovely clean new CSS and js I want to apply to set template. I have managed to remove old CSS and js from being applied to my new template using the script below. However, how can I add new script and…
Beep
  • 2,737
  • 7
  • 36
  • 85
1
vote
2 answers

Get script's url by handle (in wordpress)

Is it possible to get a script url from one of my working scripts, by handle? So for example if i have a plugin's JS file registered with the handle wp-js-plugin and i want to get this JS file's url. how can i do that?
mondi
  • 529
  • 3
  • 16
1
vote
1 answer

Enqueue in SQS FIFO through Lambda function

Can we Enqueue in SQS FIFO through Lambda function? if not what is the alternative to achieve this?
Farhan
  • 47
  • 7
1
vote
1 answer

Wordpress error when replacing local jQuery by externally-hosted

I'm trying to load jquery from CDN instead of loading natively with wordpress. In my functions.php I have done it like below, making sure it should only happen on the front-end: function replace_jquery() { if (!is_admin()) { …
geochanto
  • 972
  • 2
  • 13
  • 45
1
vote
3 answers

How can I restart the doctrine entity manager for Symfony 4.2?

I am using Symfony version 4.2 . I use other packages I write below. "php": "^7.1.3", "ext-ctype": "*", "ext-iconv": "*", "enqueue/enqueue-bundle": "^0.9.7", "enqueue/pheanstalk": "^0.9.7", "friendsofsymfony/elastica-bundle":…
ahmet
  • 363
  • 2
  • 5
  • 16
1
vote
2 answers

Anime.js with Wordpress: module is not defined

I made a few animations locally with anime.js with plain HTML, CSS and JS. Now I need to implement these animations in a wordpress-based site. Unfortunately I get the error module is not defined. It refers to the last line in the anime.js file…
Julian
  • 21
  • 7
0
votes
1 answer

enqueuing my styles and scripts in wordpresss

here is my functions.php code to enqueue the scripts and styles: // Add scripts and stylesheets function first_afro_theme_scripts() { wp_deregister_script( 'jquery' ); // deregisters the default WordPress jQuery wp_enqueue_style(…
sinke
  • 11
  • 1
0
votes
1 answer

Linked list enqueue function only adds one node and overwrites previous node in C

I am facing a problem with my linked list enqueue function, where it only adds one node and overwrites the previous node whenever I try to enqueue more than one node. Here is the code for the function: void enqueue_w(student_info *CSC4352_queue, int…
Réda
  • 15
  • 3