In the last 30 days. I was sick 3 times. I got a flu and terrible headache just a few days ago. Actually I’m still coughing and sneezing a lot. I wonder if I do something wrong in my training.
How to Create Admin Notice On Plugin Activation
Adding admin notice on plugin activation can be super useful. For example we can:
- Add link to the settings page,
- Giving info about minimum requirement of their server,
- Tutorial links,
- Promote pro version of our plugin,
- Ask the user to rate our plugin,
- Ask donation,
- Or simply telling them that they are awesome.
If you ever try to create an “Admin Notice” on plugin activation. You’ll know that using admin_notices
action inside your “activation hook function” will not work. But there’s a workaround for that. Read More How to Create Admin Notice On Plugin Activation
How to Add Settings Section in WordPress Default Settings
It’s very easy to create settings page in WordPress. But sometimes in our plugin we only need a single/few options. And creating dedicated settings page just for this option is overkill.
That’s what I think when I write “f(x) Private Site” Plugin yesterday. You can download the plugin for a full code example:
When it make sense, we can add settings to WordPress default settings page such as “General Settings”, Writing Settings”, “Reading Settings”, etc. And this is how to do that. Read More How to Add Settings Section in WordPress Default Settings
How to Bundle Theme(s) in a Plugin
If you build a plugin that require template modification, it might be a good idea to bundle an example theme in your plugin. And here’s how to do it. Read More How to Bundle Theme(s) in a Plugin
My first plugin at WordPress.org ! f(x) Share.
Wow. that feels great.
Running Android Emulator in Your PC
Note: After several month, Andy start to give me issue. Cannot uninstall it. Broken. Please be careful.
Have you ever feel that your android phone and tablet in some case works better than your PC?
I think GMail Apps in Android is amazing. I wish I have that in my laptop. I don’t like to assign a browser tab constantly open just for email.
If you feel the same way, I think you need to at least try Andy.
It’s not only for Windows, It also support Ubuntu and OSX
Validation in WordPress Dashboard Widget API
WordPress Dashboard Widget API is my favorite API in WordPress and sometimes dashboard is my preferred admin page to add simple settings in client site. It’s the screen they will see when they logged in. Why not use it more?
In this post I want to share a little about how to properly save the dashboard meta box “Configuration” with the build in nonce validation.
I read a lot of tutorial but no mention about this, I don’t even find any reference in Codex page. Read More Validation in WordPress Dashboard Widget API
Tutorial: How to Update Asus Zenfone 5 to Lollipop Manually
I finally updated my phone to Lollipop. I’ve waited forever to get Lollipop update on my Asus Zenfone 5. So, last week I decided to update it myself.
Read More Tutorial: How to Update Asus Zenfone 5 to Lollipop Manually
Windows 10 Essential Software for Web Development
So, last month I bought a new laptop. I actually bought two laptop. The first one is an Acer laptop. Use it for a week, not very happy with it. So I bought Asus.
I spent several days to set up and install the laptops. I think it’s a good idea to documented it here.
I hope this post will be useful for folks who want to do web development in windows.
2016. Still Can’t Do a Single Pull-Up.
It’s been two month since I started my training for zombie apocalypse (34 months to go). One of my goals is to do a single pull up before 2016. But I failed. So, I need to adjust my plans accordingly. Read More 2016. Still Can’t Do a Single Pull-Up.