I have a problem with a code. So I have five different payment methods in my site. When a customer select "Cash on delivery" as shipment method all the payment
I have created two custom post types in my wordpress project: city and property using the below query. register_post_type('city', array(
I am using ReactJs for my frontend and I am trying to upload a image to my backend which is Wordpress. Currently I am able to create post, pages, and do other t
I'm trying to add a new field in the usage restriction of coupons. Here is my code: function add_coupon_cpt_field() { $value = get_post_meta( $post->ID,
i added a custom field to a variable product and displayed it on the front single product page with the help of an answer here https://stackoverflow.com/a/55774
I have added two variations at product page in woocommerce. Size Color Color image is moving and appearing at the front, once i am selecting the size also. But
I'm using node-wpapi to interact with my Wordpress site. I have the Advanced Custom Fields and ACF to REST API plugins installed. I'm trying to use wpapi to upd
I can't find the solution to this problem. On my wordpress page some content is showing up and some content is not. Usually if I made a post of just a single im
We have a WooCommerce store that sells files (MP3/MP4) to registered users and enables the user to play them in the "Downloads" section of their account (we hav
I am using the following API code to send an SMS when a new order is placed, the SMS API code is working to send SMS... Placed at the end of child theme in func
I need to do some apache rewrite/redirect rules to external webservice in case of 404 error for specific file extensions: .jpg, .png, etc. Wordpress is used her
I'm not sure why this is not allowing me to add to the cart. I have access to the global product but it's not capturing the ID to add to cart <?php /**
My current Wordpress setup uses the classic editor, ACF and Twig templates. Most of the theme is hardcoded in the templates, and only values are pulled from ACF
I got stuck on loading scripts in amp sites (WordPress). I have built a custom plugin and it's working fine in WordPress but in mobile amp view, the scripts are
I'm developing a web application using React and WordPress as a headless CMS, since WordPress as a backend is easy for my client to access and change. The React
I am trying to add the below code to a page.php file but call it from a custom plugin. At the moment, I have modified the theme's page.php but want to move cust
I'm trying to write a small tool using php. This temporarily connects to one of two Wordpress systems on the same web space by loading the wp-load.php of the ne
How to override custom fields template google map plugin page.custom-fields.php
I have a quick question in regards to WooCommerce and downloadable files. I would like to make the purchased products play in My Account section rather than eas
I want, when I click on these color attributes on the product list page it redirects me automatically to the single product page. it shows similar behavior to