How to add a file upload form to WordPress? This is the question. It’s a bit more complex, but with this tutorial you can add a browse button, save the file in the wordpress media interface and save a reference of the uploaded file in the database.
Category: Wordpress tutorials
Sometimes you might need to track what email WordPress is sending or stop sending emails to the real users but still be able to forward them later. WordPress emails can come from multiple places: new user accounts, password recovery, emails from Woocommerce or any other plugin or theme functionality that uses the wp_mail function.
Do you need to implement a WordPress cron to execute some tasks automatically at a specific interval? Let’s say you want to send an automatic email at a specific time. For this you can schedule this task in WordPress, but you will also need to set up a cron at the server level, in Cpanel, […]
When you have a list of posts, by default WordPress shows 10 posts. What if you want to have more or less posts shown on a page, or a custom number of posts for each post category?
After the last tutorial on how to Add Bootstrap to a WordPress theme it’s now time to do something useful with Bootstrap. Let’s make a slideshow that uses the featured images of the posts in a “Slideshow category”.
Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web. Probably you would want to use Boostrap in your wordpress theme for the ease of doing grids, stylish […]
Do you need to display an image inside a post using code, but it’s not the featured post image? It can be done if you know the image attachment ID.
Do you need to add a jQuery datepicker to your custom form in WordPress? It’s very easy, as jquery-ui-datepicker is already embedded in WordPress.
If in one of my previous articles we added data attributes to images upon adding a new image to the content, what can you do if the images are already there? Can you add a data attribute automatically to all images in all posts and pages in WordPress? Let’s say we want to implement Lightbox2 […]