Simple WordPress Loop

May 13, 2022

The Loop <?php if ( have_posts() ) { while ( have_posts() ) { the_post(); <!– Test if the current post is in category 3. –>… Read More →

Use jquery library in Magento 2 require([‘jquery’, ‘jquery/ui’], function($){ //your js code here }); Example  require([‘jquery’, ‘jquery/ui’], function($){ jQuery(document).ready( function() { alert(“Hello”); }); });