I’m submitting a quite handy function to apply WordPress Pagination in Bootstrap 4 Style. This function contains First/Last, Previous/Next, Current and total number of pages. You can use the code for pagination in your Bootstrap 4 powered WordPress theme. It works with Custom Post Types and hides First/Last, Previous/Next texts on small devices (viewport width < 768 px)
Thanks to all visitors for their love to the article http://fellowtuts.com/wordpress/wordpress-ajax-login-and-register-without-a-plugin/. As we got many requests to implement Google reCaptcha in WordPress AJAX Register, I’m here with the wonderful code which will protect spams through Google reCaptcha during registration in your WordPress powered site.
Like in a WordPress website, photos added in posts inside dashboard post editor are kept in dynamically generated year months directories inside wp-content/uploads directory by default. This blog will assist you to make directory in PHP and we will then create year months folders at our server.
The function below will assist you to smoothly add pagination in your WordPress theme using Twitter Bootstrap 3 pagination style. This function is easy to read and to customize as well as contains features like:
- Bootstrap Styling
- First and Last Button
- Previous and Next Button
- Current page & total number of pages
- First/Last text invisible on small devices
- Previous/Next text invisible on small devices
- Works with custom post types by passing parameters to function
After getting many requests from visitors to integrate Forgot Password with AJAX in my previous tutorial WordPress AJAX Login and Register without a Plugin I decided to write a post about steps and code to add in that article to include Forgot Password functionality. This article is an improvement over that previous article as well as it will be sure helpful to understand how does the functionality actually work.
While working on a client project I needed to disable plugin shortcode button from visual editor in WordPress that were added automatically after some plugin installation. I was trying to hide WP Socializer plugin shortcode button form visual editor. Here I’m explaining how did I do that. The solution is quite simple.
After publishing part I of WordPress Interview Questions and Answers for from fresher to experienced programmers, we are writing a set of 21 WordPress Interview Questions and Answers (II) for Experienced. These questions are asked generally from a WordPress developer having around 3 years of experience as well as freshers can also take their expertise at an advance level with help of these Interview Questions and Answers.
There may be a situation when you need to display content based on existence of a page or custom post by url. As the example below there are two different parent pages for the same page slug. We assume that certain pages will have the same title, and just have different parent pages. So we want to check if a page exists by url?
We usually update themes and plugins installed whenever respective authors release a new version of that program installed in our WordPress software. But at a time I had need to restore an older version of a theme as I was using child theme and the parent theme author made numerous changes in theme files as well as added some new class references which were making child theme incompatible.