Category "wordpress"

Display the WooCommerce product price inside a custom function

I have created a custom function to display 3 custom fields (ACF) and the product price in the WooCommerce Archive/Shop page. My Custom fields are showing corre

PHP cURL (SSL certificate problem: self signed certificate in certificate chain)

When making a php cURL request in production, I am getting the following error: Problem with SSL certificate: self-signed certificate in the certificate chain.

Display a success custom notice after Placing an Order in WooCommerce

I need to check on the checkout page whether payment has been successful or not and display the message: 'Your payment has been successful', and then redirect t

TypeError: 'undefined' is not a function (evaluating '$(document)')

I'm using a WordPress site. I'm including this script in the header. When the script loads, I get this error: TypeError: 'undefined' is not a function (eval

How to load site with scroll

I want to ask how to load the site data on scrolling. Thank you.

Elementor White Screen of Death and JSON ERROR

I need your help. I am using elementor on my website for editing a WordPress website, but lately, I have been having a problem when it comes to loading it up fo

How to Create WooCommerce Subscription Product via. REST API?

I am able to find the REST API docs for WooCommerce: https://woocommerce.github.io/woocommerce-rest-api-docs/#create-a-product but am unable to figure out how t

Redirect User After creating a page

I want to redirect the users of my site to a custom thank you page after they create a page and send it for review. I found this snippet, but this one is for po

Disable VERTICAL Scroll only

Bonjour amis développeur ! , Since yesterday i'm blocking to block a vertical scrolling of my site but just the vertical, i create a slider with parallax

How to get Woocommerce product variation id into a PHP variable for use with custom add to cart urls?

Using Woocommerce, I need to be able to add a variable product to the cart within a custom add to cart URL, such as with the following example, where 88 is the

remove attribute class and id and style from posts wordpress

i want remove attribute class and id and style from posts wordpress i see in all posts class and id and same of style attribute <h2 id="gydde" style="color:#

Apply filter array/return terms

I would like to apply a filter on which taxonomies are displayed in a widget. I'm close but I think I don't have the correct spelling for it and I'm surely miss

Is there a way to bulk toggle 'Fuzzy' translations in Loco Translate?

I have a lot of strings marked as Fuzzy in loco translate for Wordpress. Is there a way to bulk toggle these translations into accepted translations? I really

Get WooCommerce products from specific category

I am trying to insert a WooCommerce element to display "products" (courses) from a specific category into a page. I had also to hide these products for this spe

How do I show custom recent posts in WordPress?

Now it's showing like this: now it's showing like this I want it to look like this: I want it to look like this

After adding more products to woocomerce wordpress store graphql fails

anyone knows how to fix this graphql error? It appeared after i've added more woocomerce products. Url seems to be good because after deleting part of the wooco

Don't redirect users to wp-comments-post.php instead show required directly in input fields

I am looking forward to 2 things: Rename "wp-comment-post" to any other name Don't redirect users to the wp comment error page. I have found a website that sh

how to youtube api data to print in toolset metabox using a button click before save-post

i create a metabox with 'import' button in post.php. Also, ready for youtube api data code. but i need, 'when i click 'import' button to run youtube api data fu

WooCommerce create API webhook (POST method)

I would like to connect API but, to be honest I'm not so experienced in api connections, the API instructions are clear, but I don't know how to begin in WordPr

How Can I Do LIMIT 1, 2 In WP_Query

I am using Wp_Query method and I want to learn is there any parameter to limit my query. I try to use LIMIT 1,2 in WP_Query. Thanks for advance! $args = array