Category "wordpress"

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?

Why define( 'FS_METHOD', 'direct' ); is not working?

The code: define( 'FS_METHOD', 'direct' ); doesn't working on Mac to install plugins and themes Awesner please!

Add an unique class to every wp block on save

How can I add a unique class name to every gutenberg block on save? I tried doing this with php using a combination of wp_after_insert_post, parse_blocks, wp_up

Woocommerce - hide an element if logged in, show element if logged out

i've found the following code to make an element change to display:block; if a user is logged in .logged-in .price{ display: none; } and also <?php if ( i

Wordpress Form POST Request In Current Page Got Twice

I use wordpress shortcode to create a form and send post request in current page. But I will get twice post request so my mail will send twice. Hope someone can

The add menu callback function doesn't work in wordpress mvc ? Why?

I am newbie in wordpress mvc of https://www.wordpress-mvc.com/. When I try to add a new menu in plugin, a menu appears. But the callback function ideapro_script

Wordpress ACF dynamic status bar

I am in the process of creating a order tracker using Wordpress, ACF, and a yet to be decided form plugin for use on the front-end. The back-end is working just