r/Wordpress • • 9h ago

Child theme, Code Snippets plugin, or a custom plugin — where do you keep your custom code?

11 Upvotes

I keep going back and forth on this for client sites.

- Child theme functions.php: simple, but code disappears if the client switches theme.
- Code Snippets plugin: easy to toggle, but harder to version control.
- Small custom 'site plugin': survives theme changes, works with Git.

My current rule: anything about how the site looks (template overrides, small layout tweaks, CSS) goes in the child theme. Anything about how the store works (checkout changes, custom fields, WooCommerce hooks, integrations) goes in a small site plugin. That way a redesign never breaks the business logic.

What's your approach, especially on sites you hand over to clients?


r/Wordpress • • 46m ago

WPRocket exploit

4 Upvotes

My website has been exploited by the WProcket exploit, I cant deactivate the plugin nor can I update it, I dont know what to do. Please help


r/Wordpress • • 2h ago

Looking back at ThemeForest...

2 Upvotes

God, what a toxic place that was. Don't get me wrong, I had a couple of themes published and got some sales and I'm thankful for that, but the process was always ridiculous.

Some reviewers had some sort of god syndrome, following some pretty hilarious rules to the letter with zero flexibility and to be fair, zero critical thinking.

Remember the "prefix everything" rule?

I was arguing with a reviewer that was asking me to prefix private method names inside an already prefixed class. That makes zero sense in PHP. There is no way that could lead to a conflict.

I had a very custom theme with some very specific features that meant a pretty heavy integration between a plugin and the theme - that caused many issues with the reviewer because certain features were "plugin territory", but the only way for the theme to have value was together with the plugin, and the same goes for the plugin. Ended up putting that theme on another marketplace where it got approved in a couple of hours and sold decently. (the theme in a specific niche, the posts in that niche required an editorial studio - think of it as of a visual builder, but the studio by itself was pointless because the theme was the one showing the posts.. ah, don't know how to explain it)


r/Wordpress • • 1h ago

Help with featured image size/crop

1 Upvotes

Thanks for the clarifications the last time, really appreciated it. It did helped setting me up.

But so far the only frustrating part is when I need to set up a Featured Image. For some reason, it seems to be automatically sizing up, but never at the correct size, which leads me with sometime half a picture.

I tried reducing the size of the image through scaling but it seems to just make it bigger on the page. After a few attempts, I do managed to get something presentable, but I wish there was a way to not make it this complicated hehe

Any help would be appreciated. btw, im an Editor role.


r/Wordpress • • 2h ago

How to get rid of the reduce protections thing at the top?

Post image
1 Upvotes

I think after deleting some plugins I thought I wasn’t using, the site now has this reduced protections thing at the top.

https://mathgamesbl.com

How do I fix it?

And is my site loading fine on your device, whether mobile or desktop.

Thank you.


r/Wordpress • • 2h ago

[PROMO] Make your SureCart store look like your brand without writing a line of CSS. (Theming SureCart)

Thumbnail wordpress.org
0 Upvotes

Hi everyone! I just released a free plugin for WPorg for SureCart store owners: Nahnu Custom Theme for SureCart.

It lets you style the mini cart, checkout and customer dashboard from one settings page, with a live preview and no CSS.

What you can change:

- Brand color, text and surface colors, fonts

- Mini cart: drawer width, floating cart bubble, button radius, quantity, coupon and Save for later toggles

- Checkout: fields, labels, order summary layout, Pay button

- Account dashboard: colors, cards, badges, and a side menu editor to rename, hide, reorder or add links

- Presets (including a dark one), your own saved presets, and JSON export/import

- RTL and phone previews

It adds one small inline stylesheet, no front-end JavaScript, no external requests, no cookies.

WPorg link: https://wordpress.org/plugins/nahnu-surecart-theme/


r/Wordpress • • 2h ago

Building a business directory, best plugin?

0 Upvotes

I'm creating a directory of businesses sorted by category, and I want a super user-friendly plugin to manage it.

I don't mind paying for a great plugin. I need it to look and function really beautifully, as I'm charging for listings.

Any recommendations? Based in the UK. Also open to talking to any UK-based developers who might be able to help me get it all set up.

Thanks!


r/Wordpress • • 7h ago

[PROMO] FREE Kripanov Polls and Survey Pro :Lets you create multi-question polls and publish them with a shortcode or a Gutenberg block

Thumbnail gallery
0 Upvotes

Compatibility

Verified with WordPress 7.1.3. Requires WordPress 6.0 or greater and PHP 7.4 or greater. WordPress 7.1 runs on PHP 7.4 through 8.5; PHP 8.3, 8.4 and 8.5 are fully supported (8.4 and 8.5 are recommended for a new WordPress 7.1 install). The Gutenberg block uses API version 3 and editor_style so the preview works in the iframed editor required since WordPress 7.1. The admin builder uses jQuery UI Sortable (public API, compatible with jQuery UI 1.14.2 bundled in Core).

Question types

  • Single choice
  • Multiple choice (configurable minimum and maximum)
  • 1–5 star rating (average and distribution)

Voter identification

  • Google account (Google Identity Services; the server verifies the ID token)
  • 6-digit email code (OTP with expiry and attempt limits)
  • Logged-in WordPress users
  • Anonymous mode (one vote per poll: cookie, browser fingerprint, device, and IP cap)

Google, email codes and captcha are optional. They are enabled in Settings and, for Google and captcha, only after the site admin saves the service keys.

Anti-fraud

  • One vote per email (unique index; Gmail alias normalization)
  • One vote per device (signed local identifier)
  • Rate limits per IP and per email
  • Honeypot and signed minimum submit time
  • Optional Cloudflare Turnstile or Google reCAPTCHA v3
  • Disposable email blocking and domain allow-list
  • Security log of blocked events

Results

  • Color bars per option, highlighted leader and “your vote”
  • Live refresh, countdown and participant total
  • Visibility: always / after voting / when closed / never
  • Admin chart, voter list and CSV export

Shortcodes

  • [kripanov_poll id="1"] — full poll
  • [kripanov_poll_results id="1"] — results only
  • [kripanov_poll_list limit="5"] — list of active polls

Gutenberg block

Insert the Kripanov Polls and Survey Pro block and choose a poll. The editor shows a live preview.

Link to FREE Kripanov Polls and Survey Pro


r/Wordpress • • 20h ago

[PROMO] Saw the dashboard billboard post and thought this might help — made a free open-source notice inbox (keeps critical/core errors visible)

0 Upvotes

I didn't want a CSS blocker that hides everything (and buries real database/security errors)... so this just sweeps promos, upsells, and review nags into a separate tab where you can snooze or mute them, while letting critical errors and WP Core notices pass through normally.

No pro/lite version nonsense or tracking, just completely free, plain PHP/jQuery under GPLv2:

https://github.com/remarkablepc/WP-Quiet-Admin

Been using this for a few months on my customers' sites with good success. Curious if anyone else handles this a different way or runs into plugins that still sneak past it.

Hope this helps someone!

David