WPSurfer.com

WordPress Guides for Beginners

Published on December 17, 2023 | Updated on October 23, 2024
Migrate WordPress Websites without a plugin

How to Migrate WordPress Website without a Plugin

Here is what you should know to back up and migrate your WordPress site without a plugin.

Read More
WordPress Developer

GitHub and WordPress Static Sites

In this post, you will find a guide to learn how to push your static WordPress site to GitHub.

Read More
Developing WordPress

How to Install WordPress Locally using Docker

In this post, you will find information about how to create WordPress sites locally using Docker

Read More
Developing WordPress

Cleaning up your WordPress Database

Manually cleaning these can improve performance and keep your database tidy. Here are some useful SQL commands to do that.

Read More
Expert Developer

How to Add a Modified Date to Posts in Admin without a Plugin

The column will not only show the last modified date but also allow you to sort posts and pages based on that date.

Read More

SEO: How Many Ad Units per Page?

Days have been rough these days but this analysis can give you an idea about what ad units to spare and what to remove

Read More
Developing WordPress

SEO: Freezing or Locking the Last Modified Date of your Posts

If you are not a big fan of using SEO Plugin or adding a specific plugin to have this feature, you probably want to do this via a mu-plugin

Read More
Cloud Hosting

CloudPanel: Hosting Control Panel Review

This post is the result of testing CloudPanel on Digital Ocean and consider as a the future for hosting my WordPress sites

Read More
Stop Hackers

Cloudways Hosting Panel: Love it or Leave it

Cloudways: Love it or Leave it is a honest review about this cloud panel I have used over the past five years.

Read More
Developing WordPress

What are Mu-Plugins?

MU-plugins, or "Must Use" plugins, are a feature of WordPress that allows certain plugins to be automatically activated without requiring manual activation.

Read More
Lazy Developer

How To Display Related Posts on WordPress without a Plugin

In this post, you will find a step-by-step guide on how to add a related posts section before the footer using HTML, CSS and PHP

Read More
Lazy Developer

My War Against INP Speed Issues [ 100% SOLVED]

If you can't fix INP issues on your sites, you should consider lazy loading or delaying Google Adsense, Raptive, Mediavine and other ad network scripts.

Read More
Migrating and Merging WordPress sites

How to Merge Two Small WordPress Sites

Merging two sites is a more complicated process, since you have to keep the content of the media files, custom fields of both sites

Read More
Robots SEO

Meta Robots Settings without a Plugin in WordPress

I think you should probably use a mu-plugin for that and advanced custom field to take care of your robot meta settings.

Read More

Why Do I have a Low Ad Fill Rate?

Let's explore more in details the reasons why you have a low ad fill rate and some possible solution to that problem.

Read More
Helpful Content Update

Post HCU World for Publishers

Now we know that Google can smack the living crap out of us, what would be different for niche site owners?

Read More
Monetize with Ads

Getting your Own ADX Account with Ad.Plus

Ad.Plus enabled ADX on my Google Ad Manager account so these are my honest thoughts about using ADX for the first time.

Read More
Table of Content WordPress

Does Google Hate Table of Contents?

I definitely thought that adding a table of content was definitely a good thing and removing it was sort of detrimental for rankings however that's not the case

Read More
GeneratePress Superhero: Guides

GeneratePress Search Forms:

GeneratePress Search Forms:

Read More

Cloudron Review: How to Host a WordPress Site for $6

In this post you will learn how to host one or two sites on Digital Ocean for as little as $6 per month using Cloudron.

Read More
Stop Hackers

Basic WordPress Firewall using Mu-Plugins

Let's look at everything you need to know to protect your WordPress site without a complex security plugin.

Read More

SerpBear Honest Review: Track your Keywords

I checked all the apps that Pikapods can host and found SerpBear, a rank tracker tool was among them and I decided to give it a try.

Read More

Server Avatar vs Cloudways: As Honest As It Gets

I have been a happy Cloudways user for a while and I haven't really thought about migrating my sites away from it for three main reasons: I am hosting all…

Read More

How to Get Word Count Stats on Your WordPress Post Section

Word count could be an important metric to track when managing a WordPress website, especially if you publish a lot of content regularly. By default, WordPress doesn't display word count…

Read More

How to Remove Top Help Tab from the Admin Dashboard

Are you looking to streamline your WordPress admin dashboard by removing the top help tab? In this post, we'll guide you through the process of removing the help tab using…

Read More
Build Stunning Websites with GeneratePress

GeneratePress: Low Text HTML Ratio

The Code-to-Text Ratio is the percentage of the actual text that a particular web page has.

Read More
Monetization of your Wordpress Sites

GeneratePress Footer: CSS and Code Snippets

GeneratePress Footer: CSS and Code Snippets

Read More
Build Stunning Websites with GeneratePress

CSS and PHP Snippets for GeneratePress Menus

GeneratePress: CSS for Primary and Secondary Menus

Read More
GeneratePress Superhero: Guides

GeneratePress: Customize Content Area using CSS and PHP

In this post, you will find the CSS and PHP snippets necessary to customize the content area of your site using GeneratePress

Read More
GeneratePress Superhero: Guides

GeneratePress Header: CSS and Code Snippets

GeneratePress Header: CSS and Code Snippets

Read More
Build Stunning Websites with GeneratePress

GeneratePress: Custom Category Pages

There are two methods to create custom category pages with GeneratePress. Method #1 consist of creating custom pages for each category.

Read More

GeneratePress Sidebars: CSS and Code Snippets

GeneratePress Sidebars: CSS and Code Snippets

Read More

WP-Optimize Review: As Honest as It Gets

I don't usually use a caching plugin but when I consider using one, I probably use WP-Optimize over any other free and premium solution.

Read More
Code Snippets for your WordPress Sites

Remove Custom Post Type Slug from URL in WordPress

Custom post types are a powerful feature in WordPress that allows you to create and manage different types of content beyond regular blog posts and pages. However, there might be…

Read More
WordPress Themes

Don't Buy a WordPress Theme Before Reading this

Before buying another WordPress theme, it's essential to keep this advice in mind and make informed decisions based on your needs and budget.

Read More
Monetization of your Wordpress Sites

Will Artificial Intelligence Kill Authority Sites?

These are some of the thoughts that make me wonder if it is still a good idea to build niche or authority sites

Read More
WordPress Site Security

How to Block User Agents in WordPress using CloudFlare

A user agent is a string of text that a web browser or other client software sends to a web server along with each request to identify itself and provide…

Read More
Adsense flagged my site for invalid traffic

Google Adsense Flagged my Site for Invalid Traffic [Solved]

If one of your sites got flagged for invalid traffic, you might feel like monitoring traffic but the problem might have been caused by your ad placements.

Read More
Stop Hackers

How to Block Bad Queries with CloudFlare Firewall Rules

Do you know what a malicious query string is?, how do you deal with them? , I deal with malicious query strings via Cloudflare.

Read More
Data Migrations in WordPress

Migrating SEO Plugins' Data without a Plugin

I am gonna show you how to migrate data from one SEO plugin to another once you find a roadblock in the process.

Read More

How to Add Open Graph and Twitter Cards without a Plugin

This function is intended to add Open Graph tags and Twitter Card tags to the section of a WordPress post or page. These tags are used to provide metadata about…

Read More
Code Snippets for your WordPress Sites

Meta Title and Meta Description Without a Plugin

I am using the GeneratePress and I am kinda obsessed with reducing the number of plugins so I am always trying to find a substitute for them. When it comes…

Read More

How to Add Article Schema without a Plugin

When it comes to schema markup, the most complicated one is the one that you have to add to all your posts and pages. Adding schema markup to all posts…

Read More
Adding breadcrumbs to your site

How to Add Breadcrumbs and Breadcrumbs Schema without a plug

These are some code snippets to generate breadcrumbs and breadcrumbs schema without a SEO plugin.

Read More

How to Customize WordPress Native Sitemaps

Learn how to customize WordPres Native Sitemaps with Code Snippets and Mu-Plugins

Read More

Redirect Attachment Pages To The Parent Post URL

By default, WordPress will create new pages for your images and other attachments. If you’re a standard WordPress user, you might want to redirect WordPress attachment pages to the original post…

Read More
Monetization of wordpress sites

Google Adsense Ad Blocking Recovery Too

Adblockers are software programs that are designed to block or filter out advertisements on the internet. Adblockers such as AdBlock, Adblock Plus, uBlock Origin work by identifying and blocking the…

Read More
WordPress Developer

How to Stop WordPress From Guessing URLs

This code snippet will prevent WordPress from attempting to redirect to a "guessed" URL when a 404 error page is encountered.

Read More

GeneratePress Hooks: Simple Guide

GeneratePress is a popular WordPress theme that is designed to be lightweight and highly customizable. GeneratePress can be used for a wide variety of websites, including blogs, business websites, and…

Read More

FlyingPress Caching Plugin: Review

These are some of my thoughts on FlyingPress and my reasons for not using it on small content sites.

Read More

How To Remove the Category From the WordPress URL

To remove a category base in WordPress, you can use the remove_action function in your theme's functions.php file. Here's an example of how you can do this: function remove_category( $string,…

Read More
Delay Scripts without a Plugin

How to Delay The Execution of JavaScript without a plugin

If you don't want to use a plugin to delay the execution of JavaScript, you can use the following code snippets.

Read More
Table of Content WordPress

How to Create a Table of Content without a Plugin

I used an AI tool to create the function necessary to a table of content to all my posts. Feel free to use it if you like the result

Read More
Static Sites

Cloudflare Pages to Host your WordPress Website

Have you considered converting your WordPress site into a static site and host it on Cloudflare Pages. Here I will tell you all about it.

Read More

How to Limit WordPress Post Revisions using Code Snippets

Since post revisions can accumulate over time and potentially bloat your database, these are two ways to limit them without using a plugin

Read More
WordPress Developer

How to Disable Heartbeat in WordPress [Code Snippet]

Learn to disable or customize WordPress Heartbeat for improved site performance and reduced server load efficiently using Code Snippets or Mu-Plugins.

Read More

How to Remove Global Styles in WordPress

If you’re not using these features, you can remove these actions by using a mu-plugin

Read More

WordPress Comments: What You can do with Them

In this post, you will find PHP and CSS snippets to customize how your comment section work and looks.

Read More

How to Disable Rest API and Rest API Links

There are cases where site administrators may want to disable the REST API for security, performance, or privacy reasons.

Read More

How to Disable Self Pingbacks in WordPress

Adding a small snippet can effectively stop self-pings

Read More

How to Disable RSS Feeds and RSS Feed Links in WordPress

How to Disable RSS Feeds and RSS Feed Links in WordPress

Read More

How to Remove Shortlink in WordPress

If you want to remove shortlinks from appearing in WordPress, such as in the front-end meta tags, you can do this by using a code snippet.

Read More
Developing WordPress

How to Remove RSD Link from your Header in WordPress

Removing the RSD (Really Simple Discovery) link from your WordPress site's header can be done by adding a small snippet of code.

Read More

How to Remove WLWManifest Link in WordPress

Removing the WLWManifest link in WordPress is recommended for several reasons, particularly if you are not using Windows Live Writer or any similar tool.

Read More

How to Hide WordPress Version Number [Mu-Plugin]

Regardless of the camp you are in, hiding the WordPress version is quite easy and it is not like your site is missing something by not having it.

Read More

How to Disable Emojis in WordPress

There are a few different ways to disable emojis in WordPress, but we will focus on the most common method: using code snippets. Step 1: Disable Emojis in Functions.php The…

Read More

How to Disable Dashicons in WordPress

You can improve your site's loading speed by disabling Dashicons for visitors who aren't logged in as admins.

Read More

How to Disable Password Strength Meter in WordPress

You can disable the password strength meter using a plugin or by adding custom code.

Read More
Stop Hackers

How to Disable Embeds in WordPress [Mu-Plugin]

Do you want to remove embeds to improve the speed of your WordPress site, here you will find to do so including PHP snippets.

Read More

How to Disable the XML-RPC File in WordPress

Learn how to block XML-RPC in WordPress for improved security, including conditional access based on IP addresses.

Read More
Search Engine Optimization

SEO Plugins: The Race for the Crown

Should you install a SEO plugin or should you stay away from them?, which ones are the best for your SEO needs?

Read More

Optad360 Review: As Honest As It gets

Optad360 is a certified publishing partner and these are my honest thoughts about using Optad360

Read More

Where to Buy Domain Names?

If you want to start a project online, you need to buy a domain name. I bought my first one in 2012 and since then I have bought different domains…

Read More
Rank Math SEO

Rank Math SEO Review: As Honest as It Gets

When I started using SEO Plugin, I fell into Yoast SEO's arms and after some time I migrated my SEO data to Rank Math Rank Math was pretty much giving…

Read More

Blogging, SEO and Affiliate Courses: Questions and Thoughts

Do you think that you need to buy blogging, SEO, or Affiliate courses to make money from your WordPress site? There are many courses out there ranging from a couple…

Read More
WordPress Site Security

WordPress Security: Block or Challenge ASNs

In today's digital age, protecting your organization's networks and systems from malicious actors is more important than ever. One strategy that can be used to enhance security is to block…

Read More
Smart Crawl SEO Pro Logo

Smart Crawl Review: As Honest as It Gets

When you install Smart Crawl, you will find that they are really generous and that they are giving so many features for free.

Read More
Yoast: SEO Plugin

Yoast SEO Plugin: As Honest as It Gets

I have tested several plugins after that and these are my reason for not going back to Yoast.

Read More

How to Customize the Search Results Page Using GeneratePress

How to Customize the Search Results Page Using GeneratePress: All Code Snippets and steps to have a better results page

Read More

Slim SEO Review: Love it or Leave it

Do you use SEO Plugins? What SEO plugins have you used? At first, I didn't use any SEO plugins because I was trapped inside WordPress.com. Once I moved to a…

Read More
Hackers are constantly trying to hack WordPress sites

How to Secure your WordPress Login Page using CloudFlare

There are many ways to protect your login page and you don't have to spend a dollar buying expensive security plugin to get it done

Read More

I didn't get my Adsense Payment [Solved]

I have been using Adsense for a while and I never had issues with Adsense payments until June, 2022. Are you experience a problem with your Adsense payment?

Read More

How to Insert Adsense Ads Without a Plugin in WordPress

How to Insert Adsense Ads Without a Plugin in WordPress. I will provide different code snippets to add Adsense ads manually without a plugin.

Read More

Code Snippets Plugins: The War

Do you use code snippets to avoid installing one more plugin on your WordPress site? Currently, I have more than 20 code snippets on all of my sites that let…

Read More

Ezoic Publishers: Their Most Common Mistakes

Ezoic is probably the third most popular service to add display ads to your WordPress site. They have their gates open to everyone who wants to make money from display…

Read More

Lazy Load Images, Iframes and Videos with and without Plugin

After playing with several plugins, these are the lightweight ones that you can use to lazy load all types of media that you add to your content.

Read More

Ad.Plus Review: As Honest as It Gets

These are my thoughts about Ad.Plus after using their service for three months. is Ad.plus a scam?, Adsense vs Ad.Plus.

Read More

Does Google Adsense Suck?

Does Google Adsense Suck?, I don't think so and I can tell you why.

Read More

Ezoic Leap Review: As Honest as it Gets

Speed issues was one of the reasons why I left Ezoic in 2020 and Leap was one of the reasons why I decided to use Ezoic ads once again.

Read More

JQuery: Code Snippets for WordPress

JQuery is a JavaScript library that’s very popular with WordPress developers for creating unique, dynamic, and engaging websites. JQuery is also a solid choice for customizing themes and developing features…

Read More

Breeze Review: Caching Plugin for WordPress

These are my thoughts about Breeze, another caching plugin for WordPress.

Read More

Ezoic Review: As Honest as It Gets

Is Ezoic a Scam?, Why Did People Stop Recommending Ezoic?, Does Ezoic Offer Free Hosting? , Should I use Ezoic Chrome Extension?

Read More
Security Plugins for WordPress Review

WordFence Review: Love it or Leave it

WordFence has millions of installations so you might be wondering if it is all you'll ever need to secure your WordPress site. Here is the answer...

Read More
Speed up sites

WordPress Caching Plugins: Are they Essential?

Do you use a caching plugin? Have you ever tried understanding what they do? Are the essential to have a fast WordPress site?

Read More

The MoneyTizer: Honest Review

Adsense has many limitations, one of them is that you cannot refresh ads Ad Refresh refers to the ability of an ad slot to display different ads after a certain…

Read More

Adsense Alternatives for Sites not Targeting US Traffic

Adsense Alternatives for Sites not Targeting US Traffic: Ad.Plus, The Moneytizer, SetUp ads, Monumetric

Read More

Is Cloudways for Beginners?

Let's say that you started blogging using a hosting provider that you are not happy with. Now you feel like using a cloud hosting provider and you are considering Cloudways…

Read More
Add Custom CSS to WordPress

How to Add Custom CSS to Your WordPress Site

What's the best way to some add some custom CSS to your WordPress site? - Theme Customizer, Plugins, Theme Options or mu-plugins?

Read More
removing unused css

Optimize the WordPress Block Library Stylesheet for Speed

If you don't use a block-based theme or core native block to design different section of your website, the block library stylesheet has lots of unused CSS.

Read More
Monetize with Ads

Ad Inserter Review: Love it or Leave it

I have been using Ad Inserter and Ad Inserter Pro for a while now and I kinda love it over its competitors.

Read More
Expert Developer

How to Remove WordPress Admin Bar Items

This is the code snippet that you can use to remove different admin bar items

Read More

WP Rocket Review: Love it and Leave it

Let's check what I like about WP Rocket, What I don't like so much about it, and why I stopped using the plugin

Read More
Static Sites

How to Disable WordPress Post Tags

If you don't want to see WordPress tags anywhere on your dashboard, keep reading to know what you should do.

Read More

SEOPress Review: Love it or Leave it

Recently I renewed my SEOPress subscription and these are my brutally honest thoughts about SEOPress features.

Read More

Perfmatters Review: Love it or Leave it

These are my notes trying to figure out whether I can live with Perfmatters or not. You won't find more honest review that this one

Read More
Expert Developer

How to Optimize GeneratePress for Core Web Vitals

GeneratePress is one of the fastest themes and I am sure that people who know a thing or two about site speed know that.

Read More
Lazy Developer

How to Lazy Load Ads in WordPress Sites

Learn how to speed up your site, improve your site viewability and increase your earning by lazy loading ads

Read More

How to Increase Ad Viewability

Here are some of the key factors that can help you boost your ad viewability:

Read More

How to Preload Links in WordPress

In this article, we will show you how to preload WordPress links for faster loading speeds easily.

Read More
Hackers are constantly trying to hack WordPress sites

Hacking Attacks to WordPress Sites will Never Stop

These are my thoughts about some actions that some site owners implement to protect their sites and how useful they are to prevent hacking attempts.

Read More
Table of Content WordPress

How to Optimize Table of Contents Plus for Speed

In this post you will learn how to optimize Table of Contents Plus so it doesn't hurt the speed of your WordPress site.

Read More
Security Plugins for WordPress Review

Patchstack Professional Plan Review: As Honest as it Gets

These are my thoughts about the Patchstack Professional Plan and how it handles WordPress security.

Read More
Expert Developer

How to Customize the 404 Page with GeneratePress

Let's explore all that you need to fully customize your 404 page with the help of GeneratePress Elements and the code snippets plugin

Read More
Hackers are constantly trying to hack WordPress sites

BBQ Firewall Pro Review: As Honest as It Gets

BBQ Firewall Pro brings you option to create and customize a Firewall so you can protect your WordPress better.

Read More

Cloudways Security: 7 Things Beginners can Do

Check my list of security measures to apply when using a Cloudways to create a server to host your WordPress sites

Read More

How to Place Ezoic Ads with Ad Inserter

In this post, you will learn how to place Ezoic ads using the Ad Inserter Plugin, one of the best ad management plugins available for Wordpress Users.

Read More

How to Use Flying Scripts to Speed up Your WordPress Site

Flying Scripts is a lightweight plugin to delay the execution of JavaScript that can help you get better page speed scores

Read More
Cloud Hosting

How to Use CloudFlare Full Page Caching With WordPress

In this post you will learn how to use CloudFlare Full page caching with wordpress by writing three basic page rules.

Read More

How to Improve the Page Speed of your Adsense Sites

In this post you will learn how to improve the speed of your wordpress sites using adsense ads with premium and free plugins and services.

Read More

Optimizing WordPress Sites with Autoptimize

Autoptimize is a plugin installed over a million sites that does an excellent job optimizing the CSS, JS and HTML of your site.

Read More
cloudflare firewall rules for Wordpress

Protect your WordPress Site with Cloudflare Firewall Rules

Creating CloudFlare Firewall Rules will secure your site more than some WordPress Security plugins will.

Read More
Monetize with Ads

Best Ad Placements on your WordPress Site

If you are using Adsense, you have to figure what the best ad placements are and doing so requires some testing.

Read More

Google Adsense and CLS Issues [Solved]

In this post we will use the free version of Ad Inserter to fix the CLS issues caused by Adsense Ads in WordPress Sites.

Read More
Security Plugins for WordPress Review

SiteGround Security Plugin Review: As Honest as It Gets

SiteGround has a security plugin that you can use even if you are not using SiteGround to host your WordPress Sites.

Read More
Cyber Security Specialist

WordPress Security without Plugins: 5 Best Tips

In this post you will find information that will help you protect your WordPress sites without using a security plugin.

Read More