Here is the code .. through this you can get custom fields value from the posts in wordpress ... <?php echo get_post_meta($post->ID, 'key', true); ?> Like in above image... you can apply like this <?php echo get_post_meta($post->ID, 'nst_hide_featured', true); ?>...
wordpress how to get/show custom field value of the posts!
How to Exclude a category from WP_Query in WordPress !
Exclude Category .. Sometime we don't want to show the posts from the particular category so here is the code you have to modify.. query_posts(array( 'post_type' => 'post', 'showposts' => 14, 'category__not_in' => 10, // category id ) ); In...
Simple captcha for wp contact form 7 forms !
simple captcha To use simple captcha for wordpress contact form 7 forms .. instead of google default "I am not robot" photos validation. Picture validation looks little long to validate any form.. so here is the solution for who want...
How to change WP Dashboard login logo including link and title ?
dashboard login logoGo to functions.php file in your website theme and paste this code bottom of that file.. // Custom logo for Dashboard function nst_dashlogo() { echo '<style type="text/css"> .login h1 a {background-image: url('.get_bloginfo('stylesheet_directory').'/images/dash-logo.png) !important; background-size: 100% !important; width:210px; }...
How to install WordPress on Hosting control panel manually ?
Here are the Steps to Configure wordpress manually on Hosting Control Panel... 1) Login to your purchased hosting and create database there.. you can follow this topic to know how to create new database. 2) After 1st step ..on the...
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