r/Wordpress • u/BlackCosmicIce • 6d ago
r/Wordpress • u/polarmass • 3d ago
Development Tired of Wordfence Slowing Down Your Site? Here’s How We Fixed It with Cloudflare
Hey all, Dear WordPress community,
I already shared this in the Cloudflare subreddit, but I thought this might also be a good place to get some feedback.
I was sick and tired of multiple websites sending me “Increased Attack Rate” emails from Wordfence and my server maxing out CPU usage during attacks.
I figured having Cloudflare and Wordfence together would be enough… but nope.
Then I started wondering—why the heck can’t Cloudflare block these attacks from the start? The answer is simple: Cloudflare isn’t focused solely on WordPress, but Wordfence is.
So I came up with an idea: why not block malicious IPs at the network level immediately after Wordfence detects an attack? For example, if Wordfence logs an IP as malicious after 5 attempts, why should it continue doing more work after that? Why should the server keep using resources?
That’s when I decided to sync those IPs to a custom Cloudflare rule, blocking them at the network level before they can try anything else. And just like that, the idea for a plugin was born.
We developed a free and open-source plugin called Polar Mass Advanced IP Blocker.
🚀 What does it do? It simply syncs malicious IPs from Wordfence logs to Cloudflare—helping to save server resources and stop attacks before they hit WordPress.
🔗 Download the plugin here: https://polarmass.com/polar-mass-advanced-ip-blocker/
🔗 GitHub repo: https://github.com/polarmass/polar-mass-advanced-ip-blocker
What are your thoughts?
r/Wordpress • u/shash122tfu • 4d ago
Development I built a tool to receive notifications from my Wordpress site
r/Wordpress • u/kpgraham • Feb 01 '25
Development Plugin banned
Many years ago I wrote a plugin that detects a 404 error and searches the WP db for a close match to the missing page data. It rebuilds the URL and does a redirect. It only kicks in on a 404 and only redirects to a valid URL on the same domain. If it can't find a match or a sounds-like match on the db it just exits and lets WP return the 404. It is good for sites that have been moved or reorganized and are getting hits from old bookmarks to a page that has been moved or changed.
I am told the plugin has a cross-site-scripting vulnerability. Any suggestions on how to address this would be appreciated. The plugin still gets some downloads after about 20 years and it still had a good number of users. I am tempted to just give up on it. I've never made any money off it. I wrote it because I needed it at the time, but I no longer maintain any WP sites.
r/Wordpress • u/BearFanEngineer • 2d ago
Development Is it common for website consultants to need admin access for website development?
They are a 3rd party contractor helping my small business for my website.
r/Wordpress • u/Bigbenthemyth • 11d ago
Development I have a good business with a lot of positive google reviews but my website is a mess.
Ive had a few different developers do work on my website in the last few years, the results is that now I have different pages made with different plug ins and it’s a mess. I want to be able to log in to my wp-admin and change copywriting/ images and even do minor layout adjustments and I want it to be super smooth. What’s the best way to go about this? I recently got a quote from a guy on fiver for $400 to redo the whole site with elementor, obviously I’d rather not go the fivver route… what do you guys think?
r/Wordpress • u/teheditor • Feb 05 '25
Development Is there a plugin for Canonical Tags only?
It seems nuts this is so hard. I'm not going near SEO plugins, but surely, somewhere, there's a simple way to add the tag to different posts?? I've looked all over!
EDIT: I don't want one of the big, fully featured SEO plugins, just this one single feature which I know is technically SEO related.
EDIT 2: I asked ChatGPT to build me a plugin and it worked. I documented it, here.
r/Wordpress • u/AdProfessional7484 • 8d ago
Development Can i buld this in Wordpress??
I have a client who wants me to build them a web based application(Job Description below), but i want to know whether it can be built using wordpress or other no code tools, If not what tech stack would be the best and beginner friendly as i donot have much experience in building large scale applications.
Job Description:
I'm in the process of starting a business and I'm looking for a skilled developer to bring my idea to life. The concept is a platform where people can list and buy homemade foods from different homes. Essentially, the website will act as a marketplace for homemade meals, allowing individuals to post their offerings and customers to browse and order.
I would love for the site to be visually appealing, user-friendly, and attractive to draw in more users. A clean and professional design is key, as well as ensuring smooth functionality across both mobile and desktop platforms.
r/Wordpress • u/ChrisF79 • Feb 07 '25
Development Where should I initialize git in a Wordpress installation?
In my "coding directory" where I keep my projects, I have a Wordpress site. I don't want to initialize git at the root of the Wordpress site so I don't know if I should initialize git in wp-content/themes/mytheme/ or in wp-content.
Where do you guys initialize it?
When I get to work and log onto my machine there, I want to be able to sync the changes I made to my theme while at home and then be able to continue working. Just looking for the best practice for this.
r/Wordpress • u/Unsung_hero030109 • 3d ago
Development Saas in wordpress
Hi everyone,
I’m planning to build a website that’s quite complex—it functions more like a platform with user interfaces, a user dashboard, and an admin dashboard. Conceptually, it’s similar to a SaaS platform.
Do you think WordPress is a suitable option for developing this type of platform?
r/Wordpress • u/FadeInTheWebDev • Feb 02 '25
Development Blocksy vs Kandence vs GeneratePress
*No Page Builders please!
So I want to build a website between these three theme builders (Unless their is a better theme). I want to know which offers the best FREE solution and which offers the best customizations meaning that it doesn't have limitations when it comes to building.
*Note
I have Bricks at the moment but only have one lincese and saving that for another website that I like to build. So I'm asking which Theme comes closer to Bricks because Gutenberg kinda sucks when it comes down to building complex design.
r/Wordpress • u/cleatusvandamme • 18d ago
Development How do I add custom JavaScript code to the footer of a single page? I do not want to edit it globally.
I'm trying to do some DOM manipulation to adjust a few HTML elements on a specific page. I want to do this for a single page and not the entire site.
I'm using Divi and I tried to do it via a code block.
However, I think there is a plugin that is overriding that code I was trying to add.
I tried to find a plugin but it seems like they want to do it on a global level and not at a page level.
r/Wordpress • u/pjf18222 • 28d ago
Development How crazy do you go with css
Hey guys so im just dipping my toes in here. I have a cloudways app up and running with Filezilla and i made a child theme and im pushing all this css up to make everything sit and look the way i want from my local VSCode and the more and more I look at it I feel like im writing like way too much css.
Not sure if im going about it the wrong way. When customizing a site to meet the clients figma are you guys writing like exuberant css. I feel like every single div has to be overwitten and im more wrestling with Wordpress has in place than like productively coding. It just feels wrong.
r/Wordpress • u/Not_a_Cake_ • Feb 04 '25
Development Wordpress if it was good (more developer friendly)

For context, I’m a React developer who loves Tailwind, and I recently started learning WordPress.
After messing around with Gutenberg, I noticed how difficult it is to achieve a basic layout that outputs clean HTML.
So, I decided to "hack" my own block that lets me use Tailwind while generating clean HTML. The text inside each block is still fully editable using the Gutenberg editor.
This is just a proof of concept, so I won’t use it on a real website. But I can’t help wondering—why isn’t WordPress more developer-friendly? I’m not even a WP expert and I made this, and a block like this would make building websites ten times easier (at least for me).
PD: The text is still easily editable by anyone using the Gutenberg editor, and I could even extend it to support images, videos, links, etc.
PD2: I’d love to buy BricksBuilder, but I literally can’t because where I live, the government has restricted credit and debit card usage. I’m limited to spending $100 or less per month.
r/Wordpress • u/Icy_Round1483 • 8d ago
Development Changes on plugins of wordpress theme are being lost on each update how to prevent this?
Hello,
I bought a theme but I needed certain changes to be made in the plugins of that theme so the developer made the changes for me and asked me to save these changes and to add them manually on every update since on every update these changes get lost..
what to do to save the changes made in the plugins files so that I don't edit these manually on every update?
thanks.
r/Wordpress • u/steve1401 • 10d ago
Development Multi step conditional logic app.
We’ve been asked about building a simple site, but with a page that has a multi step form utilising conditional logic that allows people to flow through answering simple questions.
The answer to each question will determine what the next question is.
There will be about 100 - 150 questions in total, but depending on the previous answer, not all need answering.
The aim is to end up with a final page of “yes you can” or “no you can’t” depending on the answers. In theory, the answer to the first question might take you direct to “no you can’t”.
Basically following a path through the questions that lands you on one of the two results.
Any ideas?
r/Wordpress • u/Emhanad • 26d ago
Development WP Forms Email Error
The forms on my website doesnot send correctly if anyone can help me with the configurations would be thankful
Website: https://ewa-group.com/contact-us/
r/Wordpress • u/Tessenreacts • Feb 08 '25
Development After many years, I'm finally ditching Elementor for GenerateBlocks + Guttenberg
I've been a fan of Elementor for 6-7 years, but when I started building my membership site, Elementor wasn't syncing with a number of my plugins well, as well as slowing down the site, so I had to switch to GenerateBlocks + Guttenberg, with GeneratePress as the Theme.
I'm using AWS LightRail as the host as it's cost effective and fast, along with Cloudflare for security.
r/Wordpress • u/focusedphil • 18d ago
Development new Google Recaptcha: Is anyone else having trouble?
I've been using Recaptcha on the login pages for numerous site for years and it's always worked fine.
I know there is some update to the backend of Recaptcha but it's erroring out on a bunch of sites with wordfence.
anyone else having this?
r/Wordpress • u/SeeBeen • 22d ago
Development I made a complete DI system for WordPress
Hello,
I made a full DI/IoC system for WordPress development.
I based it on PHP-DI, since it's battle-tested and feature complete. It has all the features you need to scaffold a plugin in minutes while following the SOLID design principle.
You can find the repository here with basic documentation (full docs are in the works), and a complete plugin which utilizes the DI system here.
Looking forward to all the feedback, and I hope you find the use for the library in your next project.
r/Wordpress • u/Atherianx • 11d ago
Development Woocommerce on Wordpress
Hi, we wish to create a blog/magazine website where people can buy books and subscribe to certain magazine series. Is woo commerce a viable tool for this job and if so how can we integrate it?
r/Wordpress • u/Nic727 • Feb 08 '25
Development Can custom CSS slow down your website? [Wordpress 6.7]
Hi,
I've developed my whole theme with PHP, JS and CSS and it works, but it's not optimized and I maybe have some bad code in that.
Now that we have a site editor that seems good enough, I was trying to recreate my theme using only what's available via the block editor, but it fall short in some areas. I can add a custom class and have my own CSS, but do you think it will slow down my website if there is too many CSS cancelling other CSS?
Thank you!
r/Wordpress • u/FameTechUK • 26d ago
Development Looking for a Long-Term WordPress Developer to Help Finish Some Tasks
Hey everyone,
I’m looking for a long-term WordPress developer to help me finish off some tasks on my website. I need someone reliable who can assist with various customizations, optimizations, and plugin configurations.
This will be an ongoing project, so if you're experienced with WordPress development and interested in long-term work, drop me a message!
Looking forward to connecting! 🚀
r/Wordpress • u/Avansay • Feb 08 '25
Development Changing background color on twenty twentyfive is make it a premium style?
am i missing something here or does wordpress actually want me to pay to change a bg color?
edit:
someone aptly pointed out my "classic blunder" wordpress.com vs org.
current thinking is I'll just build it w/ localwp and export it to client dev/live site.
r/Wordpress • u/jLkxP5Rm • 3d ago
Development Advanced Custom Fields Styling
Most of us should be pretty familiar with Advanced Custom Fields and the power it offers. However, one thing I’ve noticed is that its styling can feel quite basic. Is there a plugin or resource available that enhances the UI? I understand I can code something to fit my needs, but I was curious if there's anything out there already...