Category "wordpress"

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(

Wordpress menu showing all pages except on home page

I have made a WordPress site. Here, I have added a menu bar for all pages. But the menu bar is shown on all pages except the home page. How can I fix it?

How to setup browser-sync with Wordpress and xampp

In my gulpfile.js I have the following code: const themeName = "test" const browsersync = require('browser-sync').create(); // Browsersync function browserSync

Wordpress Get the same meta

i have problem about get post meta , i want to show meta by per user , but when i addet meta+user_id i cant get all some meta My code is <?php $p

How can I add a filter for specific categories on functions.php?

I am on functions.php and I want to add this filter: function graphene_alter_the_query( $request ) { $dummy_query = new WP_Query(); $dummy_query->pa

Wordpress + Elementor - CSS Loading problem

Good morning, We are using Elementor+Crocoblock on our Wordpress site and we have a problem with our CSS. It seems like it's not stored in the cache and every t

WooCommerce - Get Price Total as number

I'm a newbie, and I have this problem as it shows me $0.00 on the Order received page. // Add Custom WooCommerce Checkout Message add_action( 'woocommerce_thank

How do I get only names of active plugins in Wordpress?

I am trying to to get list of active Wordpress plugins and for that I am using wp plugin list --status=active --allow-root command. That gives me putout like t

WooCommerce - How can I add multiple, products to cart using ajax with same add-to-cart-Button?

I am trying to use ajax to add multiple, different products to cart with one button click. The AddToCart-Button is living in SHOP before pagination. Ajax reques

WordPress plugin extend WC_product with namespace class not found

I am trying to add new woocommerce custom product type from my plugin. I just have a simple construct in the class that extend WC_Product namespace giftbox\mode

Free Search plugin for WooCommerce website [closed]

Can someone advise a free Search plugin for WordPress WooCommerce website , that can display in search results “products” and read

WordPress disable "regenerator-runtime-js" and "wp-polyfill-js"

These two srcripts are added on every footer of my WordPress pages. Is it possible to remove them via functions.php?