Check Attachment Existence WordPress Tutorial

If you want to CHECK the same attachment name exists already before creating a new one or before inserting the attachment into the DB, you can use the following method: // check if attachment already exists $attachment_args = array( ‘posts_per_page’ => 1, ‘post_type’ => ‘attachment’, ‘name’ => $desc ); $att_check = new Wp_Query( $att_args ); […]

How to Create a Custom Page in WordPress

First, you need to open a text editor  add the blank file add this line of code at the top: <?php /* Template Name: Custom Page Template */ ?> Editing Your Custom Page Template Your custom page template can add any HTML, template tags, or PHP code in this file.  The easiest way to get […]

How to add user profile image by custom URL and custom fields in woocommerce

If you want to add user profile image by custom URL and add custom fields of profile image like first name, last name in your woo-commerce registration form then see our code below, you can also get this code in a custom user profile image URL plug-in. <?php /** * Show the new image field […]

WordPress Create Own Forget Password Page

WordPress Custom Forgot Password Page, we need to use the same page for forgot password as well. Here is the jquery function and also we are going to give id to play with both forms. <script src=”<?php echo get_template_directory_uri();?>/assets/js/jquery-1.11.2.js”></script>        <script>         $(document).ready(function(){               $(‘#forgot_password’).hide();                              $(‘#forgot-password’).on(‘click’, function(e) {                       e.preventDefault();                                          $(‘#forgot_password’).show();                       $(‘#login-form’).hide();               });               $(‘#already_id’).on(‘click’, function(e) {        […]

Best WordPress Navigation Menus

Is it accurate to say that you are searching for the best instructional exercises to work with WordPress route menus? WordPress route menus permit you to effortlessly tweak and oversee menus on your site. In this article, we will demonstrate to you the best instructional exercises to ace WordPress route menus. Add Social Media Icons […]

WordPress: How to Fix Pluggable.php File Errors

Is it accurate to say that you are seeing a pluggable.php document blunder on your WordPress site? Some of the time when you include a code piece your site or actuate another module, you may get the pluggable.php document blunder. In this article, we will demonstrate to you proper methodologies to settle pluggable.php document blunders […]

Unique Visiter Counter Example Plugin

Visitor Count is WordPress plugin that notify you and your visitor about how many visitor visited your site. It identify visitors country and flag , week of day, date, time and other statistics. Visitor Count updates its statistics periodically. Visitor Count plugin, Back-end shows unique Ip address and your visitor about how many visitor visited […]