Category "wordpress"

TextLocal.in SMS Api for new order Woocommerce

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

Wordpress/Apache rewrite/redirect rule and regex

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

button doesn't add to cart - WooCommerce

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 /**

How to use React for Wordpress templates without the Gutenberg editor

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

Is there any way i can load my inline and external scripts in WordPress plugin for AMP site?

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

Strategy for deploying finished React app in Wordpress

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

Add PHP to page.php in WordPress via a plugin

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

Wordpress Multisite brakes wp-load.php

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

Google map plugin in custom fields how to add custom division

How to override custom fields template google map plugin page.custom-fields.php

Playing audio/video files instead of downloading them on Woocommerce "My Account" downloads section

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

woocommerce product variation color attributes on product list page redirect to single product page on-click

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

How to show related posts in two columns

I want to show related posts in two columns at the end of the post. My blog is techbyet.com Can anyone help me with this?

Google Tag Manager wont fire if I click on the Copy / Text of the Button

My google tag manager wont fire when I click on the copy of the CTA Button. But it fires when I click the CTA Button area around the copy. If I click "Talk to u

WordPress: How to Sort Post list custom column - multi deep level custom meta?

meta key is test, however it's an object. Example: $data = get_post_meta($post_id, "test", true); echo $data["a"]; echo $data["b"]; echo $data["c"]; 👉

WooCommerce attach YITH pdf invoice to custom order status email

I am after some help, please. I am looking for a code snippet that will attach my Yith PDF invoices to an automated email for a custom order status I have alrea

How to get productlist by "category slug" in wordpress

I am working in wordpress and i am trying to get "productlist" by "category slug",So for this i am using following code $terms = get_terms('product_cat', array(

Exclude WordPress cart shop when Plus Minus Button add more product not work

When press plus bottom for add more than 1 of product to shopping cart on WordPress, Finally product add to cart after one minute, but I see this error in conso

Trying to structure a website url for scrapping wordpress

I need help in getting a wordpress site to show all results on a single page. https://www.dqqq.co.nz/?s=ALL&post_type=product The site returns all the produ

Woocommerce products are displaying on singular.php

I have created a custom theme and downloaded woocommerce plugin, the shop page is working fine however when I view a product only the content appears. The produ

Custom Post Type filtering by own taxonomies

I tried a lot, but with no success. This LOOP works fine. It shows all Custom Post Types (apps-und-tools): <?php $loop = new WP_Query( array(