WP Logged In Header Fix
Add this code in header div’s class. And then write CSS according to it.
WordPress Security 101: Tips & Tricks
1. Disable XML-RPC in WordPress XML-RPC allows you to post on your WordPress blog using popular weblog clients like Windows Live Writer. It is also needed if you are using the WordPress mobile app. It is also needed if you want to make connections to services like IFTTT. Disable WordPress XML-RPC with .htaccess 2. […]
7/1 Architecture of SASS/SCSS
7 main folder and 1 main sass/scss file. folders & Files: base |-> _base.scss |-> _animation.scss |-> _typography.scss |-> _utilities.scss abstracts |-> _functions.scss |-> _mixins.scss |-> _variables.scss components |-> _buttons.scss |-> _popup.scss layout |-> _header.scss |-> _footer.scss pages |-> _home.scss |-> _about.scss |-> _services.scss |-> _contact.scss themes used for web app & admin-panel. vendors used […]
Disable update notification for individual plugins
For example if you don’t want WordPress to show update notifications for akismet, you will do it like:
Register Custom Post In WordPress
Add this code in function.php
Shortcode Inside Custom Post WordPress
the_content( ) doesnot work in this {single-custom_post_type.php} page?
SOLUTION: You have to put your code inside this loop
How To Solve Single Page For Custom Post Type Not Found Problem
1. SOLUTION-1 Add the following code in theme’s function.php file 2. SOLUTION-2 Update permalinks from theme’s settings.
How To Add Pagination In WordPress Blog
1. Go to Settings>Reading from WP dashboard and then choose how many post to show on per page. 2. Add these line after end of while loop ANOTHER WAY(Plugin): WP-Paginate is a simple and flexible pagination plugin which provides users with better navigation on your WordPress site. WP-Paginate
How To Get Post Thumbnail As Background Image In WordPress
1. Get image url in a variable 2. Now add this in your inline CSS. For example:
How To Assign Template For Custom Post Type
Method-1
How To Get Value From HTML DOM Input To JavaScript
IN HTML: IN JS: