Questions tagged [wordpress]
Consider using https://wordpress.stackexchange.com . This tag is for programming-specific questions about the WordPress content management system. Off-topic questions include those about theme development, WordPress administration, management best practices, server configuration, etc. These are best asked on https://wordpress.stackexchange.com .
wordpress
192,220
questions
0
votes
0
answers
11
views
Using woocommerce_loaded hook after data migration to fix variations
We have just mirigated nearly 6k products over from the live site. We are experiencing similar issues to the following post: Woocommerce: function to update all products. I've tried the fix mentioned ...
0
votes
0
answers
9
views
Shortcode in Wordpress [closed]
I am adding a shortcode in a specific section of a custom page. It's like a add some products and before the product list I want to add some search options by a shortcode.When I am going to add ...
-4
votes
0
answers
11
views
Setting up WordPress in AWS instance [closed]
I am working as a Service Provider and I was wondering if The Company I am creating a website for, would need a WordPress account or subscription, After I have handed over the Website. I am currently ...
0
votes
1
answer
10
views
'src' is not available in $attr for wp_get_loading_optimization_attributes
I have tried to use code mentioned in dev note but it is not working, this is the snippet I have tried:
function set_fetchpriority_high_on_specific_image( $loading_attrs, $tag_name, $attr, $context ) {...
-1
votes
0
answers
15
views
How to transfer the plugins theme to your theme folder to edit the filter [closed]
I have the HUSKY - Products Filter Professional for WooCommerce plugin installed, but I don’t like the way it looks like the standard one, what do I need to transfer so that I can layout it myself as ...
-2
votes
0
answers
7
views
Carousel Issue on custom elementor widget
swiper.min.js?ver=6.5.5:13 Uncaught TypeError: Cannot read properties of undefined (reading 'transition') at t.setTransition (swiper.min.js?ver=6.5.5:13:45739) at t.slideTo (swiper.min.js?ver=...
0
votes
0
answers
13
views
Get woocommerce orders from 4 hours ago - Wordpress
I currently have a custom code that gives me the ids of all the orders and it works well.
(This code gives you the ID of a product and gives you all the orders for the product.)
This is:
function ...
0
votes
0
answers
9
views
WordPress pass data from php to an block
I am trying to pass data from a php array to my created Gutenberg block. I need this data to populate a select inspector control. Right now im using the wp rest api and fetching the data inside the ...
1
vote
0
answers
10
views
Loop for certain custom post type and certain category
I have a custom post type leistungencpt with categories. Now I`m planning to show all posts from this CPT but from an certain category of this CPT with an shortcode.
My code
<?php
function ...
1
vote
0
answers
9
views
Need to change wpcf7 form button text
I'm new to the field. It is wordpress contact form submission related question. Asked to change form submit button text into "submitting..." to prevent multiple form submission and reset it ...
-1
votes
0
answers
8
views
WooCommerce Date of Birth Field on Checkout Page
Is anyone know how to add a mandatory "Date of Birth" field to WooCommerce Checkout Page?
The solution needs to be compatible with the WooCommerce "Blocks" type of Checkout Page ...
0
votes
0
answers
12
views
How to correctly encode special characters when programmatically creating ACF Gutenberg-Blocks in Wordpress?
I am building an importer for a wordpress project and have to map blocks to other block types. Therefore, I have an abstract base Block-Class that looks like this:
abstract class Block
{
abstract ...
0
votes
0
answers
23
views
Integration between WordPress Plugins "International Phone Number Format" and "YITH Point of Sale"
I'm using the International Phone Number Format plugin on my WooCommerce and it's working fine on all default WooCommerce pages to format the phone numbers with their country code.
Now I need to ...
0
votes
1
answer
15
views
Why does wordpress interactivity api need context?
WordPress Interactivity API was officially released with WordPress 6.5. As I've been studying this new feature, I find it intriguing, but I'm somewhat perplexed about certain aspects, particularly ...
0
votes
0
answers
13
views
Adding custom text under specific product pages in specific categories Woocommerce [duplicate]
How to add some custom text line under specific product pages after short description in specific categories Woocommerce?