Skip to main content

Posts

Showing posts with the label WordPress Plugin Developing

How to include CSS and JS Files in WordPress plugin.

How to include CSS and JS files in the WordPress plugin. First, we call a hook for adding scripts. add_action( 'wp_enqueue_scripts' , 'Your_function_name' ); Your_function_name(){ wp_enqueue_style( 'admin/Front', plugins_url( 'Path your css file', __FILE__ ), (F/T)false, Verstion('1.0') ); wp_enqueue_script( 'admin/Front', plugins_url( 'Path your css file', __FILE__ ), (F/T)false, Verstion('1.0') ); }

WordPress plugin development tutorial in Urdu/Hindi Basic concept.

Welcome To Programming Tech #Create_Plugin_From_Scratch_Wordpress WordPress plugin development tutorial Part1 Click Here For WordPress and Woo Commerce plugin development tutorial What is WordPress Plugin? It is a separate set of files that create a feature enhancement to the core WordPress files that run your WordPress.The plugin may have one functionality or some extension is more than one action perform. Programming Language used in the plugin development? WordPress plugins are made up of PHP code and can include other assets such as images, CSS for styling the form and other content, ajax, and JavaScript.The core language of the WordPress plugin in PHP. What is Hooks in WordPress? Hooks are  one line of code to interact/modify another piece of code at a specific point, pre-defined spots. They make up  the inspiration  for a way  plugins and themes interact with WordPress Core, but they’re also used extensively by Core itself. e.g Add some function a...