WordPress (category)

Removing Comments in Branches

This article discusses implementing a WordPress hook to delete all child comments when a parent comment is deleted and moving comments to trash and restoring them by...

Adding Columns to Posts in Admin (Sortable)

This article explains how to add and make sortable custom columns in the WordPress admin posts table, specifically focusing on a column for visit counts.

Table of Contents for Large Posts (kamatoc)

How to create and customize a table of contents for large posts using the Kama_Contents class in WordPress.

20+ Useful SQL Queries for WordPress

A comprehensive guide to using SQL queries for managing various aspects of a WordPress site, including user management, comment and ping management, and tag management.

Configuring robots.txt for WordPress

Configuring the robots.txt file for WordPress to control search engine crawlers and optimize site indexing.

3 Ways to Create Loop in WordPress - WP_Query{} get_posts() query_posts()

An article for beginners and those who are already a little familiar with WordPress, which should debunk all the myths about the different types of loops in...

Creating Custom Fields Block in WordPress Admin Panel

This article explains how to create a custom fields block in the WordPress admin panel without using plugins, including the creation of the block, filling it with HTML...

Breadcrumbs for WordPress

This article explains the concept of breadcrumbs in web development and provides a function for implementing breadcrumbs in WordPress, along with examples and usage...

Comment Numbering in WordPress

Different methods to number comments in WordPress, including threaded and non-threaded comments, while also covering plugins.

Interlinking posts in WordPress (previous posts from category). Function 2

The article provides a function for circular interlinking of articles in WordPress, allowing customization of taxonomy and post type.

Advertisement Block in the Article Text

The article provides a method to insert advertisement blocks into the content of WordPress posts, including before the "more" tag and for old posts.

Predefined Text for a New Post in WordPress (the_editor_content)

Setting predefined text for a new post in WordPress using the_editor_content filter.

Function to display all posts by month of publication

Explanation of a WordPress function to display all posts grouped by the month of publication.

Fill a WordPress Site with Data (a Large Number of Posts) and Comments (for Testing)

Code for quickly filling a WordPress site with a large number of demo posts and comments for testing purposes.

Optimizing WordPress Performance Through Permalinks (Practice)

The article explains a method for optimizing WordPress performance by managing permalinks in the database and provides implementation details.