I made this tutorial to answer a question asked to me about how to make something that if we type a word than it redirects us to some page. So I do this in HTML and JavaScript, and I hope I did not get it wrong. Basically when we type a word in an input…
How to save and retrieve data in WordPress using get_options and update_options
In WordPress development, we often need to save and retrieve simple data in our database. By using get_options and update_options in WordPress this thing become super easy. Let’s say we want to save and retrieve a data called “User’s age”. First of all, we need add an option for that if we don’t have it…
Some handy PHP functions to create database table and add a column to it easily
I personally really like to do “make a table if not exists” and “add a column if not exists” to mysql database when working with PHP. By doing that I don’t have to manually create table and add column before populating it with data from my website. That’s why I’ve made this two functions to…
How to make custom page for your plugin inside WordPress admin dashboard
Depending on what kind of plugin you are making, sometimes you want to make a settings page for your plugin so users can play around with the settings to control the way your plugin works. So how to make custom settings page for your plugin inside WordPress dashboard? To add a custom page, inside your…
How to ride WordPress and use it’s database configurations to create our own tables and columns
When making a WordPress plugin sometimes we need to do some database operations, such as making table, adding column, inserting new data, updating data and so on. We can use current WordPress database connection that has been established before so we can just ride it. To do mysqli query operations, PHP requires us a connection…
How to make your custom input fields for your WordPress posts
By default there are some basic input fields and options for your wordpress posts when you want to publish a post, such as title and the post text itself, categories and the rest. These basic fields is only useful for making simple blog by adding a title and content for a post, that’s all. But,…
Unity touch screen touchpad script to transform any objects easily
In this blog post I will share a new script that I’ve made to create a touch screen touchpad in our Unity game to control object’s transformations such as position, rotation and scale, easily. I call this script TNObjectTransformTouchpad. Here is it: How to use it? First make an UI Image on your Unity canvas…
How to sort recent WordPress posts using custom order based on anything
I was trying to figure out how to make custom order of posts lists in our WordPress website. It’s confusing at first, because what I need to do is to sort my posts ordered by custom meta box field of my posts. In other words, I want to sort my posts by custom meta key…
How to access your localhost website running with XAMPP from another devices (like Android phone)
Hi there, I know you often develop an online websites on your local environment using local webserver such as XAMPP before you deploy it on real web server online. Sometimes you need to access your local website that is running on localhost for example in this link: http://localhost/yourwebsite from your mobile phone. To do so,…
How to develop a WordPress plugin : Very Simple Way
Basically making a WordPress plugin is very easy. If you know the basic, you can make it super complicated, depending on what you want to achieve. First Step: Make the directory and plugin file To make a plugin, simply create a directory inside wp-content->plugins folder of your WordPress installation directory. Then inside that directory, create…
How to retrieve current database name, user and password of a WordPress site
When you are working on WordPress development (theme deelopment or plugin development), probably you will need to retrieve current website database name, database user and password. To get those information you can write these lines on your theme/plugin: The last three lines will echo the database name, username and password. Hope that’s helpful.
Unity Slider to Object Rotation Script Tutorial
In this blog post I will share a handy and yet very simple script to help you using Unity Slider UI to rotate an object, such as camera or any object, by changing the value of your slider in Unity Canvas. This script also has clamping and limiting feature of how much angle the object…
How to make your Gun and Bullet system for your Unity Game and attach it to FPS Player Controller
This is a basic tutorial about making gun and bullet projectile system for your Unity games. First I showed you how to make a bullet object, making it moving at certain speed, then making it as a prefab so we can fire any amount of bullets as we wish. Then I showed you how to…
How to make Unity Fuel System for your Unity car game
Part #1 : Making simple fuel system for my Unity pick up car game In this video you can see how I made a simple fuel system for my game from making a display text on game UI and scripting. I will publish the next video soon about how to refuel. Part #2 : How…
Unity Left and Right Turn Sign Lights Tutorial
How to make turn right and left signal lights in Unity | Part #1 This video tutorial is about how to make turn right and left signal lights for your car object in Unity. In this part I’ve modified my car mesh and prepared left and right turn signal light objects, applied a material to…
Unity Coin System Tutorial
Part #1 This is my first video of some video series about how to make coin system for our Unity game. In this part I’ll be showing to you how to import 3D coin object to our Unity game, make it a prefab, adding a trigger collider and making it disappear (hide it) when we…
How to make a Day to Night Sky smooth fade transition using custom “skybox” : sphere/dome object sky
I don’t know how to make Unity skybox transition between one skybox to another one, especially with smooth fading transition. So alternatively I made a sky dome object using basic sphere object inside Unity and apply a material with custom shader to them, and also apply SetTransition script that I demonstrated earlier on my previous…
A Unity C# Script to set the transparency of an object
If you have an object with a material that supports color transparency, you can use this script to control it’s transparency in run time. For example you can make some buttons and use one of 2 methods available in this script to set its transparency. It has two kind of transparency changing feature, one is…
Inside Visible Transparent Unlit Unity Shader for making simple light independent material
Sometimes we need a material for some objects that is not going to be affected by any light, for example just like making LCD screen of a turned on TV. We can apply this kind of material to the LCD plane of that object, so no matter how the lighting is in the scene, the…
Unity Speed Controller Example using Unity Slider
In case you are building a game that need a speed controller UI such as a Slider in Unity, this example may be useful to you. In this example, first I tried to show you how to basically work with Unity Slider and how to get it’s value that ranges between 0 to 1. Then…