Skip to content

WP ARTISAN

Let's do some fun with WordPress

  • Home
  • Top Questions
  • Programming with PHP
  • About Us
  • Contact Us

Add a class to body tag after certain amount of scroll

Add a class to the body tag or any other element using jQuery after a certain amount of scroll or webpage load; you need to do it like below:

Read More »
WP Artisan Leave a comment August 11, 2020February 7, 2023

How can i filter number of orders per page in My Account?

If you want to change the number of orders per page in the WooCommerce My Account, you need to use the woocommerce_my_account_my_orders_query filter hook.

Read More »
WP Artisan Leave a comment August 10, 2020February 7, 2023

How can i create tab system using jQuery

Creating a simple tab-switching system using jQuery is super easy. No need to use any jQuery plugin for that. Just use simple jQuery and use some CSS like the one below:

Read More »
WP Artisan Leave a comment August 7, 2020February 7, 2023

WooCommerce add order note programmatically

To add a custom order note programmatically in the WooCommerce admin order details page, we need to add an order note when the user has completed the WooCommerce checkout process using the ‘woocommerce_thankyou’ action hook.

Read More »
WP Artisan Leave a comment August 6, 2020February 7, 2023

How can I show a list of child categories on the category page for the current category?

Getting child categories/terms of a parent category on the category archive page is super simple. You need to use two WP functions which I have described here.

Read More »
WP Artisan Leave a comment August 3, 2020January 31, 2023

What is the difference between Instance and Object in PHP?

Class is a “blueprint” that can use to “instantiate” different “objects”. Let’s go with a simple example for details:

Read More »
WP Artisan Leave a comment July 10, 2020January 31, 2023

How can i display product attribute name in WooCommerce cart page

To show product attributes names on the WooCommerce cart page, you need to use an action hook called woocommerce_after_cart_item_name.

Read More »
WP Artisan Leave a comment June 21, 2020February 7, 2023

Get customer list without a purchase in WooCommerce

Remove customers/user’s accounts from the database who hasn’t made a purchase of products in WordPress WooCommerce like below:

Read More »
WP Artisan Leave a comment May 10, 2020February 7, 2023

Posts navigation

Newer posts

Recent Posts

  • Caching data with WordPress Transients API
  • has_action VS did_action in WordPress
  • What is URIs, URLs, and URNs and what is the difference between URI and URL.
  • PrestaShop Installation Problem on Localhost XAMPP Server and Solution
  • WordPress 5.7 Major Release : From HTTP to HTTPS in a single click

Archives

  • November 2022
  • October 2022
  • December 2021
  • July 2021
  • May 2021
  • September 2020
  • August 2020

Categories

  • PHP
  • Prestashop
  • WooCommerce
  • Wordpress

WP ARTISAN

We offer a simple and top-notch solution for your complexity in WordPress, the most popular content management system (CMS) used for website and web application development.
Privacy Policy

Links

  • Home
  • Top Questions
  • Programming with PHP
  • About Us
  • Contact Us

Tags

Action Hooks (1) cron schedules (1) Filter Hooks (1) GD library (1) HTTPs (1) image sitemap (1) import RSS feed (1) Intl extension (1) Meta Tags (1) SEO (4) simpleXML load file (1) Sitemap (1) SSL (1) URL (3) WordPress API (1) wp insert post (1) wp schedule event (1) wp sitemap (1) XML image sitemap (1)
Copyright@2023. wpartisan.net | All Rights Reserved.