Entries by

Add Pagination to WordPress Theme Without Plugin

Adding pagination to a WordPress theme without plugins involves a few steps. We'll go through these steps. I recommend creating a child theme before adding pagination. Adding CSS Codes to WordPress Add the following CSS codes to your theme's style.css file. You can customize the file to your liking. /* Pagination */ .wp_paging { margin: 0 0 20px; padding: 0; } .wp_paging ul { margin: 0; […]

Setting Up Your Own Git Server

Setting up your own Git server is very useful. You can set up your own Git server on a VPS, VDS, dedicated server, or even your local machine. I'm assuming you've installed Git on your Linux server. First, we need to create a Git directory under the root directory. In the code below, I'll create an example called Git server. This way, you can set up as many Git servers as you like. mkdir /git/example.git Then, in your terminal, navigate to the /git/example.git directory and […]

WordPress Security Tips

The security of your WordPress site is vital for protecting both your data and your users. If you don't take the necessary security measures, your site could be hacked or you could experience data loss. Some security steps I've implemented in my own WordPress projects have both improved site performance and prevented potential threats. In this article, I'll share practical security tips you can apply during and after the WordPress installation. Let's get started! During the WordPress Installation […]

Guide to Closing, Deleting, and Limiting Revisions in WordPress

The revisions feature in WordPress stores previous versions of every change you make to posts and pages. While this can be helpful when creating content, it can sometimes be tedious and harmful. For example, if you make ten changes to a post or page, 10 old revisions will accumulate in your database. As your site's content and changes increase, this can cause your database to bloat and slow down your site. In this article, […]

How to Add Social Media Sharing Buttons?

In this article, I'll explain how to add social media sharing buttons to your site. These methods work for both HTML and WordPress themes. The code is sourced from the official developer pages of the social media platforms and is reliable. You can also learn more by visiting the platforms' own websites. In my own projects, I've seen how easy it is to add these buttons to increase user engagement […]

Adding Infinite Scroll to WordPress Theme Without Plugins

Hello! In this article, I'll explain how to add infinite scrolling to your WordPress theme without using a plugin. When I've used this method in my own projects, I've seen great results in terms of both performance and user experience. Many resources online either focus on using plugins or offer methods that only work for index.php but cause problems with pages like category.php or author.php. This guide […]