190,645 questions
-2
votes
0
answers
30
views
Cannot read properties [closed]
Ocorreu um erro. Cannot read properties of null (reading 'endpoints')
I'm having this error that appears in the section of my WordPress Widget. I've tried everything I could. I deactivated plugins, I ...
2
votes
3
answers
62
views
Why does the_field function of ACF plugin return an empty value?
I know that there are similar questions to my question like this one:
Insert php variable in a href
But my problem does not solve with them! I am using "acf plugin" for adding some codes to ...
-3
votes
0
answers
16
views
WordPress plugin not saving custom settings [closed]
I’m working on a WordPress website and I ran into an issue.
I’m trying to fix the error 405, but it keeps showing up.
The error message I get is:
[your error message or unexpected output here]
I’ve ...
2
votes
2
answers
70
views
How to change the title of the billing field?in Woocommerce
I found some old code here to change the name of my 'Deliver to different address?' title in Woocommerce. Works perfectly... but I also want to change the name of my Billing Details title, to Billing ...
0
votes
0
answers
19
views
Elementor: “Sticky” Effect Not Working on Frontend (Works in wordPress/Elementor Editor)
I am trying to use Elementor’s built-in Sticky feature for a header section, but it only works inside the Elementor editor.
On the live frontend, the section does not stick at all when I scroll.
...
-4
votes
0
answers
27
views
Contact Form Information Not Receiving [closed]
I am facing one issue,
When some one fill contact information, I am not receiving any notification. I have provided all information to my hosting support and they verified every thing from their end ...
-3
votes
0
answers
33
views
Detecting and Removing Virus from WordPress Site auto ping link [closed]
I am experiencing a serious issue with my WordPress website, https://ttegroup.vn, which has been infected with malware/a virus.
I have already implemented proactive measures to enhance security, ...
Best practices
0
votes
2
replies
42
views
Best way to load a custom JS file only on WooCommerce product pages with a block theme (FSE), not want killing full-page cache?
Please read full first
I’m working on a WooCommerce shop using Twenty Twenty-Five as a child block theme (full site editing). I have a small custom script (product.js) that should only run on single ...
0
votes
1
answer
57
views
Is there any function to remove litespeed_docref from heaader in WordPress website
I am looking to remove
<script data-no-optimize="1">var litespeed_docref=sessionStorage.getItem("litespeed_docref");litespeed_docref&&(Object.defineProperty(document,&...
-3
votes
0
answers
58
views
My goal is to have an MP4 autoplay and loop when in viewport [closed]
I'm building a website and am new to coding. I'm using the newest version of Divi for WordPress and can't get an MP4 to autoplay when in viewport and loop.
This is the video HTML:
<figure class=&...
1
vote
1
answer
55
views
How to implement session-based rate limiting instead of IP-based for WordPress plugin? [closed]
I'm developing a WordPress plugin that provides chat functionality via REST API endpoints. Currently, I'm using IP-based rate limiting, but this causes issues in university/company environments where ...
-2
votes
0
answers
48
views
How can I update multiple Elementor button links globally from one place in WordPress? [closed]
My site contains many download buttons (Elementor buttons) that all point to a .exe file download URL.
I want to change the download link from one central place, and automatically update all download ...
-3
votes
0
answers
69
views
Elementor Pro 3.32 Reduced Motion Preference [closed]
In Elementor 3.32 Pro, the builder now fully respects the user’s reduced-motion preference. This means that no Motion Effects are activated when reduced motion is enabled.
I manage a school website, ...
Best practices
4
votes
3
replies
62
views
How does one correctly version a Wordpress project?
I have been wondering how to version Wordpress projects correctly.
Versioning the entire Wordpress directory? I'd be versionning a lot of code that's not mine (Wordpress core, theme(s), plugins...) ...
1
vote
1
answer
73
views
Dynamic WordPress .htaccess subdomains does not work
I am trying to load custom dynamic subdomains to load as specific subfolders on my WordPress site.
Example:
apple.example.com should load the content from example.com/subfolder/apple
apple.example....
3
votes
1
answer
62
views
How to get the index of the wp-each directive in Interactivity API Wordpress?
I am learning the interactivity API, and when I tried the wp-each directive, I noticed that there is no way to get the index of the array. e.g., if this is my array
$config = [
'fruits' => [
...
-2
votes
1
answer
96
views
How Can I use i20 Sidebar Widgets WordPress plugin multiple times in my Blog pages? [closed]
i installed this wp plugin in my Blog. I want to use this Shortcode plugin multiple times in Category and tag pages but the Shortcode is working Same for all pages. How can I change width and height ...
0
votes
0
answers
107
views
Price filter fails after currency switch
I am building a custom client-side price filter in WooCommerce.
Prices come from an external API (LitRes) in RUB, and I use YayCurrency to convert prices to EUR/USD/GBP on the front end.
My JavaScript ...
-4
votes
0
answers
28
views
How to make Toast Online Ordering match my WordPress site’s header/footer, and can a custom Toast “trail” page replicate full ordering functionality? [closed]
I’m working on a WordPress site where the client already has a Toast Online Ordering page set up. The WordPress site links to it through a button that opens the Toast ordering URL.
The issue is that ...
0
votes
1
answer
65
views
Wordpress capabilities - give Editor the ability to replace the Site Logo?
I've created a custom Wordpress role to extend the capabilities of the Editor role. I want to give users the ability to change the site appearance as needed without providing full admin rights.
The ...
0
votes
0
answers
28
views
Issue Accessing Parent Loop Object in Nested Custom Query Provider
I'm building a threaded comment system using custom query providers. I use Bricks Builder and the Query loop it provides. I created custom query types for parent comment and replies comment. Parent ...
1
vote
1
answer
38
views
Elementor Repeater add item button text
Is there a way to change text in Add Item button for repeater?
"Add Item" button text, Its a single button that adds new repeater item.
I have muliple repeaters and I want each to have ...
0
votes
1
answer
46
views
What data does Elementor Image Carousel need to get images from de dynamic tag?
For a client's website I'm using Elementor to build up the website. The client wants to show photo's of his projects in a Image Carousel.
For this I've created some code to add a meta box to the posts ...
Advice
0
votes
2
replies
54
views
(WordPress) Execute SQL Query in specific product purchase
i would like to execute a SQL Query after specific product bein purchased, any solution to that ?
Its about a "Tokens" currency that people can use in my software but first You have to ...
-7
votes
2
answers
118
views
PHP 8.4 & WordPress Debug Log: stop tracking PHP Deprecation notices
(Not sure how much more programming-oriented this question could be. When developing sites with supplied plugins, there are often notices that don't effect critical issues, and if you're trying to ...
0
votes
1
answer
77
views
WordPress + Rootless Docker File/Directory Permission Issue
I’m running a WordPress site (https://example.com) behind Traefik on a VPS using rootless Docker (Docker daemon socket is /run/user/1000/docker.sock).
Everything works fine except updating plugins ...
0
votes
2
answers
38
views
Wordpress interactivity to load one group, re-evaluate lightbox
I have a block which dynamically updates a group. Its working, but, if the group content contains a lightbox for an image, it doesn't work. I see the lightbox indicator, but pressing it does not ...
2
votes
1
answer
125
views
Session ini settings cannot be changed after headers have already been sent in wp-config.php
I’m getting a fatal PHP error from my shutdown function on my WordPress site hosted on OVH:
PHP Fatal Error: ini_set(): Session ini settings cannot be changed after headers have already been sent in /...
1
vote
1
answer
92
views
WooCommerce voucher PDF sometimes not sent after payment — Dompdf process silently fails after render
I have a custom WooCommerce plugin that generates a PDF voucher and sends it to the customer after payment. Most of the time it works perfectly, but occasionally, the email is not sent and no errors ...
Advice
0
votes
0
replies
76
views
Redis for woocommerce with IP based dynamic pricing
I want to experiment with object caching using redis server for a woocommerce store.
However the store is using dynamic pricing, meaning that depending on the visitor's IP, the back-end serves the ...
0
votes
1
answer
44
views
“Invalid Order” error when generating second custom PDF template [closed]
I’m using the WooCommerce PDF Invoices & Packing Slips plugin by WP Overnight.
I’ve successfully:
Created a second custom PDF template (a voucher version without
prices).
Added a button on the ...
-4
votes
1
answer
58
views
WooCommerce products only visible to logged-in users [closed]
I’m experiencing an issue where all my WooCommerce products are only visible when logged in as an admin, but guests cannot see them. All products are published, in stock, and have their catalog ...
0
votes
0
answers
60
views
Replace empty alt attribute in wordpress content with proper empty alt syntax
I have decoration image in my website.
They don't have an alt attribute value because I don't want that the screen reader are disturbing by decoration images.
But wordpress put just the word alt ...
-8
votes
1
answer
70
views
How to change localhost:10005 to a custom domain (mysite.local) in LocalWP?
I’m using Local (by Flywheel) to develop a WordPress site.
When I click “Open Site”, it opens the link
http://localhost:10005/,
even though my site is named MySite, and I want it to open as
http://...
1
vote
1
answer
91
views
getting a 400 error with wordpress ajax call and I don't know why
I know this has been asked 1000 times already, but I'm not seeing anything wrong in my code and am still getting a 400 error (XHR).
Here is the code from my plugin:
require_once( plugin_dir_path( ...
0
votes
1
answer
50
views
How to Add Both Custom Fonts and Formatting to WYSIWYG Editor in Wordpress
I am using Elementor Pro and the JetEngine plugin on my WordPress site. When trying to edit text on a CPT post using the standard WordPress page editor, I can only do it via the WYSIWYG editor. ...
Best practices
1
vote
2
replies
97
views
Wordpress: Open one navigation item in a lightbox/modal
I would like to open one navigation item in lightbox/modal.
I have just a homepage (fullscreen slider) and one other page ("Privacy").
Can I do this with/without a Wordpress Plugin?
I try ...
2
votes
1
answer
118
views
Custom WooCommerce Checkout Field Resets on AJAX Updates (Order Notes/Payment Changes)
I'm building a WooCommerce store that sells to local municipalities, so some orders need sales tax applied while others are tax-exempt. I've set up tax rates in WooCommerce settings standard rates for ...
-1
votes
1
answer
79
views
White Screen, Translation Loading Warning, and Header Errors with Medservice Child Theme after WordPress 6.8.3 [closed]
My site shows a white screen and some PHP warnings when I try to:
Activate any plugin
Log in to wp-admin (if logged out)
Save changes in the page builder
This happens only when using the Medservice-...
-4
votes
1
answer
64
views
How can I safely enqueue external JavaScript libraries in a custom WordPress plugin without causing conflicts or load-order issues? [closed]
I’m creating a custom WordPress plugin that depends on an external JavaScript library for certain front-end features. However, I’m running into issues where the library sometimes loads after my main ...
-1
votes
2
answers
66
views
WordPress /wp-admin and /wp-login.php both return 404 errors after site changes (SiteGround hosting) [closed]
I’m helping a friend troubleshoot their WordPress website. The site itself loads and works normally, but both of the following return 404 errors:
https://websitename.com/wp-admin
https://websitename....
0
votes
0
answers
48
views
WordPress Multisite + WPML: subdirectories for sites, domains for languages
I believe a custom solution is required in 2025 to address this issue, so I'm asking if the community either knows of a workaround, or can suggest a custom development approach to address the ...
0
votes
0
answers
78
views
Programmatically block WCFM vendor order creation on partial Stripe Direct Charges in WooCommerce checkout
I am building a WooCommerce multi-vendor marketplace using:
WooCommerce (latest)
WCFM Marketplace
WCFM Stripe Split Pay
Stripe Connect with Direct Charges and Express accounts
When a customer ...
2
votes
1
answer
81
views
Wordpress block development: Problem understanding block validation logic and adding a class to a block using attributes
I am trying to develop a custom WP block, have read approximately the entire internet, have tried many things and still can't solve the problem(s) I have. I am a WP noob and the more I read, the more ...
0
votes
1
answer
61
views
My graphQL query is returning same values of 'Yoast SEO fields' for all my posts in wordpress graphQL IDE?
I am using WPGraphQL(v2.3.8), Add WPGraphQL SEO(v5.0.0) and WP Gatsby(v2.3.3) plugins in wordpress.
graphQL query-
{
posts {
nodes {
id
title
seo {
title # yoast seo ...
3
votes
2
answers
87
views
delete_transient on register_deactivation_hook not working
I have no idea why this is not working. It finds the names that i want, but does not delete the transients, when the plugin is deactivated. According to the documentation, the name is required for ...
1
vote
1
answer
76
views
Preload Image Warning
I am getting a warning about a preload link for a background image on WordPress most likely caused by a previously installed theme or by a current Elementor theme kit.
The warning states that this ...
1
vote
0
answers
75
views
WordPress REST API: Large Image Uploads Not Reaching Backend Despite Proper PHP Settings
Problem Description:
I'm developing a chat application with image upload functionality using WordPress REST API. When users attach multiple large images (3 images), the request doesn't reach the ...
0
votes
2
answers
85
views
How to assign single product template to product by its category (WordPress/ WooCommerce/ Block theme)
I tried to assign single product template to product by its category. I had searched for similar questions but found answers in classic theme. Below are 2 examples of several codes that Gemini gave me ...
-1
votes
2
answers
59
views
Wordpress critical error "Uncaught Error: Class "_WP_Dependency" not found in class-wp-dependencies.php:260 - no changes made to site [closed]
I’ve just discovered that my wordpress site is throwing a critical error. I last published a post yesterday and it was fine. I haven’t made any changes to the site, code, themes, or plugins since then....