How to properly add style and script to your wp website using functions.php file ? Sometime we want to add CSS or JS to front-end of website without editing the parent theme files. like header.php or footer.php So here is...
add JS or CSS to website using functions.php file in wordpress!
How to add Category name to body class wordpress!
What is the purpose of body_class function in wordpress ? body_class function helps to show the bunch of classes name to the body element that have information about what kind of page is currently being displayed. Here is the way...
How to add custom fields option to custom post type wordpress ?
How to fix if custom fields option not showing in dashboard posts or pages .. Here are Steps to Follow: Simply Login to your website and edit any post from the listed posts. First check if it is not unchecked...
Dynamic_sidebar() | Function | register_sidebar in WordPress !
Here is the way to add dynamic sidebar or custom widget area to your website..without using any plugin in wordpress ! <?php function nst_child_sidebar() { register_sidebar( array( 'name' => __( 'Top bar', 'nst_child' ), 'id' => 'top-bar', 'description' => __(...
custom icon for custom post type in wordpress !
To add custom icon for custom post type .. you can use this function for that.. // Add this to functions.php file.. When you are going to create custom post type then by default icon code will be like this.....
Apply custom css to admin area wordpress !
I added custom icon for custom post type.. and that was not aligned so i added or hooked custom style to dashboard through this function. Add this code to functions.php file of your theme.. // custom css for admin area...
Click to Chat