Skip to content

Dariaus Rakauskas blog

Dariaus Rakauskas blog

  • Home
  • About me
  • Lietuviškai

Author: Darius Rakauskas

Add information to table of new order mail message only for admin of WooCommerce

To add information for message of new order only for admin. This code snippet is for funtions.php file, sets global variable about info of mail message, and adds a custom info to table cell of new order, if the mail message is for admin of WooCommerce .

Read More
Darius Rakauskas

Remove action or filter

In order to remove action or filter, you should use funtions : remove_action () or remove_filter () in your theme’s functions.php file Example:

Read More
Darius Rakauskas

A list of all WordPress hooks

All available WordPress actions and filters with version history –https://adambrown.info/p/wp_hooks

Read More
Darius Rakauskas

Taking a walk in Vilnius city center

Taking another long walk in Vilnius, city center.

Read More
Darius Rakauskas

Taking a long walk in golden autumn

Taking a long walk on a sunny day in Vilnius in late autumn. Few photos here of these fabulous days.

Read More
Gallery Darius Rakauskas

Verkiu park

Read More
Darius Rakauskas

Admin user account and a little more security

Recommended to create a new admin user, and using PHP MyAdmin delete the original old one in MySql databse. It would be better for security, because the original user account has an ID of 1 and it is the usual hackers target.

Darius Rakauskas

WordPress debug mode configuration and show error notifications

wp-config.php file configurations: Not to make log file accessible, you should add these lines on .htaccess file in log file directory.

Read More
Darius Rakauskas

Variable product dropdown option text change, WooCommerce

Example text is red coloured for another variable product situation, include this to functions.php

Read More
Darius Rakauskas

Add custom jQuery script to WordPress theme

And jQuery script “js-custom.js” when website is loaded, jQuery file location: “YourTheme/js/js-custom.js” jQuery file location: “YourTheme/js/js-custom.js” When jQuery is used for WordPress script must use jQuery instead of $ sign.

Read More
Darius Rakauskas
  • « Previous Page
  • Next Page »

Search

Recent Posts

  • Usng WordPress rewrite rule instead of .htaccess file
  • How to add custom menu item ?
  • Set interval and the number of previous posts number autosave
  • How to enlarge an image on hover ?
  • WordPress page order numbers

Categories

  • Linux
  • Photo galleries
  • Wordpress

Tags

.htaccess Admin mail message CSS Evening Gallery Golden autumn Hot air balloons ip address jQuery LAN menu MySQL Neris network New order mail message numbers photo galleries security SSH Style.css summer Taking a walk theme variable product Vilnius WooCommerce Wordpress Wordpress Page wp-config.php wpdb
  • Home
  • About me
© 2026 Dariaus Rakauskas blog

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Dariaus Rakauskas blog
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.