Category "wordpress"

How to share node_modules and package.json files between two directories?

As I experiment with WordPress's new Gutenberg development methods, I noticed that I need to create individual block folders within the plugins directory. These

Contact Form 7 & Flamingo - Getting Flamingo Post ID as a Mail tag

On a WordPress website I'm using Contact Form 7 and Flamingo to manage contact forms, and store the data. I've been using [_serial_number] in my emails to ident

Wordpress Hook for only order processing

I am making a WordPress plugin, where I need to make an API call every time order status updates to "processing" from "pending". function __construct(){

Elementor Plugin on Wordpress keeps loading and I get a console error /wp-admin/admin-ajax.php 500

how are you? My website was working well and now I'm unable to create or edit pages using elementor because the 'loading' keeps spinning and nothing happens. I

can we remove filter titles from woocommerce url?

I am trying to remove the titles from the filter URLs, /product-category/t-shirt/color=red/size=medium/neck=round-neck/ to /product-category/t-shirt/red/medium/

Wordpress Add New Post shows this "Warning: Attempt to read property "post_type" on null in /var/www/html/blog/wp-includes/post.php on line 7589"

I recently migrated my website to new AWS ec2 linux instance. Php8.0, MySql8.0, all pages work fine. Wordpress database was exported from Mysql5.7 and imported

Meta box tabs - in a custom post type

Is it possible to insert meta box tabs in a specific custom post type. I've been looking at the example : add_filter( 'rwmb_meta_boxes', function ( $meta_boxes

Restrict use of coupon if customer have used related coupons in previous orders in WooCommerce

I am looking for a way, to limit coupon usage and to display an error message if a customer have used related coupons in previous orders before in WooCommerce.

WordPress change upload_dir for specific files to root dont work

I would like to place PDF files uploaded via the media library in a separate folder in the root directory. I have already developed a filter for this and the fi

Lottie Player got deleted immediately after page load

Folks my Lottie player HTML element is got deleted every time the page loads. The website is on WordPress and the Lottie player code is infused through a custom

WooCommerce php 8.1 + WordPress 5.7.2

I have an issue with using new PHP 8.1 on WordPress 5.7.2. Everything work just fine, until turn on WooCommerce 5.3.0. Then whole site fall down. Here is error

Disable auto-complete fields (auto-fill) on Woocommerce checkout except for some fields

I use below code to disable Autocomplete Fields in the woocommerce checkout page: add_filter('woocommerce_checkout_get_value','__return_empty_string',10); Abov

How to Generate Breadcrumb Schema Dynamically in Wordpress (all pages, child pages, custom post type and taxonomy)

<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem",

Wordpress showing white screen with a form

I have a server in google cloud with Ubuntu 18. I have installed WordPress. It was working fine. But suddenly, this screen is shown SCREENSHOT / IMAGE Any help/

how do i fix 400 (Bad Request) error about admin-ajax.php

I want to deliver html value through JS to PHP handling, but I still got error, 400 (Bad Request) . This is HTML: </div> <form class="row g

Woocommerce subscriptions: Assign different subscrption_id to each item in cart

I am using Woocommerce with the Woocommerce Subscriptions plugin and I am trying to assign different subscription_id to each item in the cart. So far I have man

interactive graph with export data to mysql or csv on wordpress

I want to create an interactive diagram on one of my WordPress subpages. Unfortunately, I am only proficient with Python, whereas my server does not support Pyt

Inconsistent / Laggy animations Elementor Wordpress

On a website I have developed, the animations especially when viewed on mobile are a bit inconsistent or lag. Moreover creating flickers and sometimes screen mo

Is there a website fix for images not displaying after ios update to 15.4.1

A recent update to ios 15.4.1 has resulted in some images not displaying on my (Wordpress) website, for users only on affected ios devices. A 'fix' for this iss

How do i make Wordpress Auto Republish old post to make them look new on search results

Please I need to delete and repost my old posts on WordPress so that they can be reindexed by search engines like new content. I don't want to manually do it. P