Questions tagged [enqueue]

102 questions
0
votes
0 answers

Need to generate Syntax for an Enqueue and Dequeue method, to run a Unit Test in Visual Studio

A list of instructions, and the code I have so far. The issue I'm running into with this so far is that my Enqueue method or my Dequeue method in C# is not operating correctly, and it's not passing the UnitTest created for the assignment. The Unit…
0
votes
1 answer

Retrofit2 enqueue onResponse and onFailure not executing

am new to android retrofit2. Am trying to load my login response with access and refresh token but .enqueue() is able to connect to backend and get response. But post the response onResponse and onFailure are not getting executed. code…
0
votes
0 answers

Implement a queue using doubly linked list

So, I'm trying to implement a queue using doubly linked list in java. But surprisingly, only first and last values of the input are getting stored in the queue. Can u guys find the error in my code. listnode front; listnode rear; int length; class…
0
votes
1 answer

Is it possible to unenqueue ALL css files from loading on the front end of Wordpress but keep backend loading css as normal?

Basically, I am trying to load only the css rules that are being used by the site, Would like to have an option to Remove all front-end CSS from loading in favor of 1 file that has all CSS in it from all plugins that is actually being used on the…
Solomon Closson
  • 6,111
  • 14
  • 73
  • 115
0
votes
2 answers

jQuery function not registering in Wordpress

I am trying to add a script on my Wordpress site. Using jQuery I want add an "onChange" event to a numeric input (which belongs to the Calculated Fields Form plugin). When I type something in the input field, nothing happens. It should have printed…
0
votes
1 answer

Enqueueing CSS into WordPress functions.php does not load styles fully

Hi am new to WordPress theme development and coding (please bare with me :) ). I have a HTML template which works completely fine. When trying to load the style.css file , the styles does not load fully. Not only that it hides the top navigation. I…
0
votes
1 answer

What is ActiveMQ.Advisory.Consumer.Queue Enqueue #. Why does it keep increasing

I am using ActiveMQ queue and publishing messages to a queue and consuming the published msgs. I am using spring DefaultMessageListenerContainer to consume messages from the Queue. My queue name is cases-queue. When the…
0
votes
2 answers

CSS Loaded but not being applied

I know it's already been asked but that person had a typo, and the answer mentioned firebug so it's not current (and is closed). In WordPress, I noticed that main file, style.css is not being applied, specifically: The file IS loaded correctly Its…
oneone
  • 25
  • 6
0
votes
1 answer

wordpress custom plugin enqueue_script in function not working

context Trying to learn plugins creation in Wordpress, i want to register/enqueue some scripts. if i do this the proper way : function my_script_enqueuer() { wp_register_script( "my-script", plugins_url("plugin/js/my-script.js"), array('jquery'),…
Lbh
  • 67
  • 1
  • 7
0
votes
1 answer

Constructor Node cannot be applied to given types while working with nodes

I am working on a code that puts new elements on MyStack if they are unique. I had to copy and paste the node starting code, so I'm having a bit of trouble with an issue. I keep getting two error messages, even after trying various workarounds and…
Fionnuala
  • 19
  • 4
0
votes
1 answer

Magnific-popup enqueue stylesheet not loading properly in wordpress

I have implemented the magnific-popup and is nearly working, however the stylesheet is not loading properly. When I click the image the javascript is working and has no errors in the console, but the magnific-popup stylesheet seems to be outputting…
Krys
  • 819
  • 1
  • 21
  • 38
0
votes
0 answers

wordpress attach scripts not working properly

I am trying to attach my js and CSS files but it's not working can anyone help me out? Here is my code. add_action( 'wp_enqueue_scripts', 'script_manager'); public function script_manager() { wp_register_script( 'wc-'.self::$endpoint."-js" ,…
Abdul Basit
  • 161
  • 1
  • 1
  • 11
0
votes
2 answers

WordPress theme wp_enqueue_style() doesn't work after uploading it

I have made a new theme for a WordPress site. I used is_page(array('')) to load certain stylesheets for my child sites. When I tried to upload it my function.php only loaded the files that I added to all of my sites (like style.css, header.css,…
0
votes
1 answer

WP enqueue script order and localize errors , hook needed?

The below code produces an error: Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was…
user14291312
0
votes
3 answers

Override theme styles with plugin styles

I am writing a custom WordPress plugin, I am using the OceanWP Theme with Elementor, and am trying to enqueue/register Bootstrap 4.5 styles/scripts as well as my own custom styles/scripts. However, OceanWP's styles are still taking precedence being…
Zach Tackett
  • 564
  • 3
  • 9
  • 25