• Skip to main content
  • Skip to primary sidebar

Technical Notes Of
Ehi Kioya

Technical Notes Of Ehi Kioya

  • About
  • Contact
MENUMENU
  • Blog Home
  • AWS, Azure, Cloud
  • Backend (Server-Side)
  • Frontend (Client-Side)
  • SharePoint
  • Tools & Resources
    • CM/IN Ruler
    • URL Decoder
    • Text Hasher
    • Word Count
    • IP Lookup
  • Linux & Servers
  • Zero Code Tech
  • WordPress
  • Musings
  • More
    Categories
    • Cloud
    • Server-Side
    • Front-End
    • SharePoint
    • Tools
    • Linux
    • Zero Code
    • WordPress
    • Musings

PHP

Always Display Star Ratings In WooCommerce (Even With No Reviews)

November 14, 2019 by Ehi Kioya 6 Comments

Always Display Star Ratings In WooCommerce

By default, WooCommerce will only show star ratings for products with ratings greater than zero. That means star ratings are not displayed until a product has at least one review. If you’d rather always have them displayed, use the code in this post.

Filed Under: Backend (Server-Side), PHP, Programming, WordPress Tagged With: CSS, eCommerce, PHP, WooCommerce, WordPress

Show Short Descriptions On WooCommerce Archives

November 14, 2019 by Ehi Kioya Leave a Comment

Show Short Descriptions WooCommerce Archives

WooCommerce archives (shop, categories, and tag pages) don’t display short descriptions by default. If you want this feature, customize your theme by adding this line of code.

Filed Under: Backend (Server-Side), PHP, Programming, Snippets, WordPress Tagged With: eCommerce, PHP, WooCommerce, WordPress

Show Authors In WooCommerce Product Edit Area

November 12, 2019 by Ehi Kioya 1 Comment

Show Authors In WooCommerce Product Edit Area

WooCommerce products don’t have authors because the plugin developers think this is irrelevant. But a site may need this feature sometimes. The code snippet shared here helps bring back the feature to allow author assignment in the product edit area.

Filed Under: Backend (Server-Side), PHP, Programming, Snippets, WordPress Tagged With: PHP, WooCommerce, WordPress

Remove NoFollow From JetPack Related Posts Links

November 12, 2019 by Ehi Kioya Leave a Comment

Remove NoFollow From JetPack Related Posts Links

By default JetPack adds a nofollow attribute to all links in the related posts section. You can use this PHP code snippet to remove/disable this nofollow attribute.

Filed Under: Backend (Server-Side), PHP, Programming, Snippets, WordPress Tagged With: JetPack, PHP, Snippet, WordPress

Get Notified When Someone Logs In To WordPress

November 8, 2019 by Ehi Kioya Leave a Comment

Get Notified When Someone Logs In To WordPress

By default, WordPress doesn’t come with suspicious login notifications and two factor authentication. We use plugins (or custom code) for these things. This piece of code notifies you when a user logs in to your site. Good for websites with few users.

Filed Under: Backend (Server-Side), PHP, Programming, WordPress Tagged With: Email, PHP, Security, WordPress

Random User Agent Generator [PHP]

November 5, 2019 by Ehi Kioya Leave a Comment

Random User Agent Generator PHP

This code will select a random user agent from a predefined list of valid user agent strings. It’s useful for building certain types of web crawlers or cache warming bots. It helps bypass firewalls that reject requests missing a user agent string.

Filed Under: Backend (Server-Side), PHP, Programming Tagged With: cURL, PHP, User Agent

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to page 4
  • Go to page 5
  • Go to page 6
  • Go to Next Page »

Primary Sidebar

23,721
Followers
Follow
30,000
Connections
Connect
14,568
Page Fans
Like
  • Recently   Popular   Posts   &   Pages
  • Actual Size Online Ruler Actual Size Online Ruler
    I created this page to measure your screen resolution and produce an online ruler of actual size. It's powered with JavaScript and HTML5.
  • Fix For “Function create_function() is deprecated” In PHP 7.2 Fix For "Function create_function() is deprecated" In PHP 7.2
    As of PHP 7.2 create_function() has been deprecated because it uses eval(). You should replace it with an anonymous function instead.
  • How To Execute PowerShell Scripts From PHP How To Execute PowerShell Scripts From PHP
    We can now perform PowerShell magic right inside Linux boxes. For example, here's how to execute PowerShell scripts from PHP code on Linux.
  • « Go to Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to page 4
  • Go to page 5
  • Go to page 6
  • Go to Next Page »
  • About
  • Contact

© 2022   ·   Ehi Kioya   ·   All Rights Reserved
Privacy Policy