Category "wordpress"

Hide/unhide section after form submit. Elementor

i want to create a confirmation form on elementor using elementor form but the next section it can shown depends on the user select the button. i.e if i choose

Woocommerce show more variables in admin area

In Woocommerce within the product edit screen, under variables, I currently have products which have up to 52 options, this is displayed over 4 pages, however I

woocommerce_wp_select options array from product attribute terms

I am trying to create a drop down list box in woocommerce but have it populated with data from the database. I have the majority of the code working but the po

Docker Swarm sticky sessions with traefik

I am trying to set on my Raspberry Pi cluster (4 nodes) 3 WordPress replicas and 1 database. That works, but when I'm trying to enter in WordPress every time I

Wordpress on Azure - How to change file upload limits

I'm trying to edit the WordPress upload limits for my site to at least 2GB for a migration I'm using WordPress on Azure (Linux), which uses this container under

How to solve Duplicate entry '0' for key 'PRIMARY' in Wordpress?

my website running perfect but today 1 order is placed by the customer, and I am getting this error in my website. Here is the screenshot of error error is her

How to disable default url structure (page_id=id) in Wordpress and just use permalink structure

I would like to stop WordPress from redirecting the default URL pattern example.com/?page_id=id to the permalink. I would like it to result in a 404. I don't wa

I want to fetch backend seo yoast meta

I want to fetch backend seo yoast meta description in wordpress custom post type,but if yoast meta description is empty it should fetch text from tag anybody

ERROR: please fill the required fields (name, email). in Wordpress Comment

I have a problem submitting comment form for not signed in users. When I try to submit the forms, it is giving me an error - ERROR: please fill the require

Custom discount rule in WooCommerce

In WooCommerce (WordPress) I have a bundle which contains product A and product B and I set it to add to cart separately (When adding this bundle to cart, produ

How to add pages like about,DCMA... in bottom of the Blogspot?

Like the screenshot from wordpress how to do that in Blogspot.

Can I use a WooCommerce function without any WooCommerce page?

I've WooCommerce installed on my WordPress site. After this, I've created a custom page template that has nothing to do with WooCommerce. Within this template,

Add custom text under order details on WooCommerce My account view order pages

I need to add some custom text under the Order Details section of the WooCommerce view-order page. My goal here is to add some additional instructions: To

WooCommerce Subscriptions: Remove role on cancelled subscription

I am using a third-party plugin to assign a role to a user when they purchase a subscription - there are two different roles depending on purchase (silver, gold

Function get_plugins() cannot be execute

I'm trying to code simple php script which will return all plugins of Wordpress. My code: <?php ini_set('display_errors', 'On'); include('../../../wp-ad

Add image caption under image thumbnail in WooCommerce single product page

I'm trying to add the image caption under each image thumbnail on WooCommerce single product page. Here you can see where I want the text to be shown (presently

Auto select first available options from a variation on WooCommerce variable products

I have a t-shirt product that has a choice of sizes and colours. After selecting of one variation I would like the first available option to be auto selected in

wordpress function breaks wp-admin

I've created a function in my custom WooCommerce site. This works great on the frontend, but wp-admin breaks. Wp-admin shows a http-500 error. This is the funct

Bulk import products into Woocommerce using WP WC CLI

I'm trying to add 1000's of products into my woocommerce store using wp wc cli via my datasource which will give me the data in the following JSON format: {

Wordpress asking for FTP credentials when trying to install a theme

Before I get started, I'd like to say that I tried almost every solution I could find for this problem but had no luck with them. The most popular solution was