custom Bricks element<\/a> depends on any of those styles and\/or scripts.<\/p>\n\n\n\nadd_action( 'wp_enqueue_scripts', function() {\n \/\/ isotopeJS (e.g. metro & masony layouts)\n wp_enqueue_script( 'bricks-isotope' );\n wp_enqueue_style( 'bricks-isotope' );\n \n \/\/ Icon font files\n wp_enqueue_style( 'bricks-font-awesome-6' );\n wp_enqueue_style( 'bricks-font-awesome-6-brands' );\n wp_enqueue_style( 'bricks-ionicons' );\n wp_enqueue_style( 'bricks-themify-icons' );\n\n \/\/ Animations\n wp_enqueue_style( 'bricks-animate' );\n\n \/\/ Tooltips\n wp_enqueue_style( 'bricks-tooltips' );\n\n \/\/ Datepicker\n wp_enqueue_script( 'bricks-flatpickr' );\n wp_enqueue_style( 'bricks-flatpickr' );\n\n \/\/ swiperJS (e.g. slider, carousel)\n wp_enqueue_script( 'bricks-swiper' );\n wp_enqueue_style( 'bricks-swiper' );\n\n \/\/ Lightbox\n wp_enqueue_script( 'bricks-photoswipe' );\n wp_enqueue_style( 'bricks-photoswipe' );\n\n \/\/ Code prettifier\n wp_enqueue_script( 'bricks-prettify' );\n wp_enqueue_style( 'bricks-prettify' );\n}, 11 );<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"“Performance” being one of Bricks’ three pillars, we have introduced a new asset loading solution in version 1.3.4 that offers you even more control and helps you to further enhance your page loading times and speed results. Bricks, by default, serves all styles (CSS) and scripts (JS) through two major files: This approach ensures that […]<\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":114,"template":"","format":"standard","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/academy.bricksbuilder.io\/api\/wp\/v2\/bricks_article\/1793"}],"collection":[{"href":"https:\/\/academy.bricksbuilder.io\/api\/wp\/v2\/bricks_article"}],"about":[{"href":"https:\/\/academy.bricksbuilder.io\/api\/wp\/v2\/types\/bricks_article"}],"author":[{"embeddable":true,"href":"https:\/\/academy.bricksbuilder.io\/api\/wp\/v2\/users\/1"}],"version-history":[{"count":7,"href":"https:\/\/academy.bricksbuilder.io\/api\/wp\/v2\/bricks_article\/1793\/revisions"}],"predecessor-version":[{"id":5892,"href":"https:\/\/academy.bricksbuilder.io\/api\/wp\/v2\/bricks_article\/1793\/revisions\/5892"}],"wp:attachment":[{"href":"https:\/\/academy.bricksbuilder.io\/api\/wp\/v2\/media?parent=1793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}