How to each blog post Author name in Blog anywhere using PHP in WordPress <?php $author_id = $post->post_author; echo get_the_author_meta(‘display_name’, $author_id); ?>
MySql query for fetch/ retrieve category data in WordPress with image thumbnail
MySql query for fetch WP post_id, post_title, post_date & name with using thumbnail for a particular WordPress category. WordPress also provides some methods for retrieving post data with thumbnails but […]
Get Country Name and IP Address in Form Hidden Field by PHP Geoplugin API
Using GeoPlugin PHP API to Get Country Name and Country IP address. Some time in HTML contact or WordPress contact form 7 we need to Country and Country IP […]
Why should not use WordPress for your Busines Website
Why do need a WordPress Website for Small Business High Maintenace WordPress Websites require regular maintenance like PHP Version Updates, Theme Updates, Plug-in updates and etc. Update Plugin and […]
Text Replace By Define Simple Function in WordPress
Text replacement in WordPress By Define Simple Function In WordPress replace text by define function in function.php file. By this code allow to easily define text or HTML that replace […]
How to add blog post title or heading in WordPress Single Blog
How to add blog post title or heading in WordPress Single Blog <h2><?php single_post_title( ‘Current Open Post: ‘ ); ?></h2>
How to Add Category Drop down or Fetch Category List with Link in WordPress
How to Add Category Dropdown or Fetch Category List with Link in WordPress Code In header.php <div class=”dropDownBlog”> <?php $categories = get_categories( array( ‘orderby’ => ‘name’, ‘order’ => ‘ASC’ ) […]
How to make search icon as rel follow on Enfold WordPress theme
Go to PHP file functions-enfold.php (../wp-content/themes/enfold) select $nofollow variable and update ‘rel=”nofollow”‘ to ‘rel=”follow”‘. /* AJAX SEARCH */ if(!function_exists(‘avia_append_search_nav’)) { //first append search item to main menu add_filter( ‘wp_nav_menu_items’, ‘avia_append_search_nav’, […]