Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
9 views

How to create coupon/paywall in an Elementor Pro page for FREE

Hi there masters good day! Is it possible to create a page with a coupon code form, then the selected visitors need to enter the valid coupon code I emailed to them, and if the coupon code they ...
troyds's user avatar
  • 65
0 votes
0 answers
10 views

How to sort WooCommerce variable products from max variation price in a custom query

I am trying to sort WooCommerce variable products from maximum variation price (my website contains simple and variable products). My custom query below is sorting products by price, but the issue is ...
Kapil Goyal's user avatar
0 votes
0 answers
17 views

woocommerce_cart_item_price doesn't update mini cart subtotal

I am adding an array of free gift products to the cart when certain conditions are met. I have used woocommerce_cart_item_price to set the price of the products in the mini cart. However, it is adding ...
Saugat Karki's user avatar
0 votes
0 answers
12 views

Filtering by Custom Taxonomy and Meta Fields in WordPress Produces Inconsistent Results

I'm building a custom WordPress theme for a job listing site, and I'm encountering an issue with filtering job listings. My site has custom post types and taxonomies for job categories and job types. ...
kirini maryame's user avatar
0 votes
0 answers
24 views

Json error: Cannot modify header information – headers already sent on Aws-bitnami

Inquiries regarding logs in the following format are probably the most common due to json errors related to WordPress. [Thu Jul 25 13:00:50.367263 2024] [proxy_fcgi:error] [pid 26574:tid ...
Young Lee's user avatar
-2 votes
1 answer
29 views

Limit the number of characters / words in WooCommerce product backend [closed]

When we create a product in WooCommerce, I want to : limit the product title to 30 characters limit the product short description to 50 words I found many shortcodes that limits that in the frontend,...
Jeriss Cloud Center's user avatar
2 votes
0 answers
19 views

prevent change quantities on cart page

I'm using combo offer woocommerce plugin to make a bundle product with specific item number of linked products. I had unchecked this option: "Buyer can change the quantity of combo products?"...
engnajjar 's user avatar
2 votes
1 answer
13 views

Custom Low Stock availability string for WooCommerce product variations backorders allowed

I'm looking to edit the woocommerce low stock message. But only for product variations which are set to allow backorders. The message should include the stock level, and only appear when the stock ...
Jeff's user avatar
  • 21
0 votes
0 answers
19 views

Problem with ACF Date Range and Repeater Integration in WooCommerce

I am using ACF to create fields integrated with WooCommerce. I am struggling to manage the tour status for each period in the Week Days mode: The tour has 2 modes: Week Days and Exact Dates. A tour ...
Ridwan's user avatar
  • 1
1 vote
0 answers
20 views

Watermark for custom image size in WordPress

I use a watermark code for a WordPress theme. The code works fine, but it generates a watermark for every uploaded image. How can I modify my code to not watermark some image sizes? I have an image ...
Pityer's user avatar
  • 135
0 votes
0 answers
32 views

How can I properly set up custom rewrite rules in WordPress to handle URLs like https://example.com/single-staff/12/abc

I'm working with WordPress and have created a page called "single-staff." The URL https://example.com/single-staff works fine, but accessing https://example.com/single-staff/12/abc results ...
Aayush Bansal's user avatar
1 vote
1 answer
33 views

WooCommerce Products - Always ensure that SKU contains 13 digits

When we create or update a product in WooCommerce, if the SKU (_sku) field has less than 13 digits, we have to fill in zeros to always reach 13 digits. For instance, if the field contains nothing, ...
Jeriss Cloud Center's user avatar
0 votes
1 answer
54 views

Woocommerce Single product Hooks issue: Replace add to cart button

I have created a new FUNCTION for my product page. It says WHEN _shipping_costs is empty (no digit) than change the button on "price on request". Archive page On the archive page you can ...
Jason Lommelen's user avatar
0 votes
0 answers
25 views

Wordfence 502 Gateway Timeout on Login

I'm experiencing a 502 Gateway Timeout error during the login process of my WordPress site, specifically when Wordfence is enabled. The error log shows: 2024/07/24 11:32:51 [error] 1858364#1858364: *...
R Z's user avatar
  • 9
0 votes
1 answer
28 views

Wordpress cron job to check and update post_meta

Setup: I have a custom post type ('place') that have a meta field: 'highlight' (DateTime) which is the time that the highlight feature expires. Goal: Once the highlight time has passed (expiry < ...
Alexandru Vlas's user avatar

15 30 50 per page
1
2 3 4 5
5936