How To Use wp_enqueue_script () hook to Add js and CSS files

Sunday , 18, April 2021 Leave a comment

we will know how to include a wp_enqueue_script() hook into your WordPress site? wp_enqueue_script() WordPress hook use to include JavaScript and CSS files in WordPress. How Enqueueing Works There are two steps taken when enqueueing a script or a style. First you register it – Show the path– and then you use actually enqueue ,that […]

after_setup_theme WordPress hook

Saturday , 17, April 2021 Leave a comment

This after_setup_theme Hook is called when each page is loaded after theme is initialised . registration of the theme features and init hooks. The hook basic use in the default themes that comes with WordPress Installation. Following is the example code from Twenty Twenty-One default theme. There are many functions in after_setup_theme hook to use […]