Category "wordpress"

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

WP Offload Media Lite upload existing files

Can someone help me on how to upload and link existing files to s3. WP Offload Media Lite provide this feature but it is paid. Any alternate way to do this?

Redirect subfolder to root with nginx

I’ve moved my wordpress site from example.com/mobile to example.com. For this work, I want: example.com/mobile not redirect. I want it not redirect becaus

I have a widget definition showing up outside of my page at the bottom. I can't find what is causing this. Any suggestions?

Help.. Probably simple solution, but. I have a widget definition showing up outside of my page frame boundary at the bottom. I can't find what is causing this.

How to get WooComrnce product category by meta key value

I have product categories with the meta value "old_id", I'm trying to make a function that will return the new product category id using the old id (with meta k

Javascript code broken in firefox browser only

I created a div C. Its absolute position is setted to stay between the bottom margin of div A and top margin of div B. Every div is a rectangle with same width.