Years ago. i used to be a salesman for almost four years. All this time I haven’t able to connect it to internet marketing. I think it’s time for me to go back and try to understand online marketing in a new perspective (or maybe old perspective). Read More First Rule in Selling, Do Not Try To Sell
Archives
Dream On!
People have to be satisfied with attainable dream. If you’re greedy with unattainable dreams, you’ll only get hurt. It will only leaves you with heartburn. That’s why it is foolish.
However foolish passion can have potential. That passion sometimes causes miracles. Of course, that’s very rare. it usually end in failure. But it’s also sad if you’re afraid and you give up. Before you even try it out.
First, do what you want instead of what you can. You only live once. But in some cases, we need to understand that certain dream is just won’t work. There’s no such thing as unlimited potential. Your burning passion will burn out eventually.
Even when you may not achieve the dream. Getting close gives you the change to be happy.
– Answer Me 1997
From Development to Deployment, My WordPress Dev Workflow
It’s not always easy to develop a WordPress site. Specially a complex site. I have switching and changing my workflow. Each and every site is unique and not every workflow is suitable for every case. I always try to get things done as soon as possible. Not because i have to, or because i’m a productivity nuts. But i lose focus very easily, specially when i develop my own site.
Right now i i use a very simple workflow to develop WordPress site, WordPress Theme, or Plugin. This is step by step what i did. Read More From Development to Deployment, My WordPress Dev Workflow
Disable Sidebar and Widget Without Plugin
Sometime we need to disable sidebar / widget area conditionally, The most popular option is to use Widget Logic Plugin, or you can try my plugin: Atomic Widget (update: no longer available). But if you prefer manual way, maybe for client site where you don’t want to confuse them with extra settings in widget you can do this easily with this code. Read More Disable Sidebar and Widget Without Plugin
2012 Reflections – 2013 Goals
Yeah, i know. It’s almost February. But it’s never to late to do this. 2012 have been a great year but things don’t turn out like I planned. I want to make it as simple as possible, and of course this goals should me achiveable. Read More 2012 Reflections – 2013 Goals
Dynamic Widget Class for WordPress Sidebar Widgets
WordPress sidebar widget is Awesome. But unlike post class and body class, the widget do not have dynamic class name. For example you need to apply a certain style to every second widget in your sidebar, or to give no padding/margin to last widget in footer sidebar. There’s another alternative using css, to target first, last, or order of elements using nth-child, but i think this solution is simpler and better. Read More Dynamic Widget Class for WordPress Sidebar Widgets
JQuery: Sticky Float Share Button, Menus, Widget, Sidebar etc.
I never like the ideas of floating share button, or ads widget, i always think it will distract reader from the main content. And content is the King. However, i’m curious about how to do this, and because i have almost zero knowledge about javascript and JQuery it took me almost 2 days just to figure out this simple script. Thank god i found a great tutorial by Andrew Henderson: JQuery Sharebar. Read More JQuery: Sticky Float Share Button, Menus, Widget, Sidebar etc.
Add Editor Style from Plugin
In WordPress 3.0.0 WP introduce add_editor_style()
function to easily add custom stylesheet for WordPress TinyMCE visual editor. But you can also add them from a plugin.
It’s useful if you add a plugin to add dropdown style in visual editor, or you can also use this in a theme, if your theme add a visual editor in front end because add_editor_style()
only load in admin. For example for bbPress supported theme. Read More Add Editor Style from Plugin
Enable Send Email in XAMPP
I use XAMPP lite 2.5 USB version, and the thing i hate about it is that i cannot test email notification in my WordPress install. This is very crucial to test eCommerce site so i can meke sure the system deliver email to user, or in bbPress to check user subscription is working, and you can also be creative and use it for a very simple email newsletter, etc. Read More Enable Send Email in XAMPP
Create Plugin For A Theme
Sometimes i need to create a functionality plugin for my site that require certain hooks function from a theme. This is how i do it. Read More Create Plugin For A Theme
Add Parameter to all Links in a Page
Simple Javascript to a parameter to all link in a page. Read More Add Parameter to all Links in a Page
How to remove variable from URL
First function is a helper function to remove the query string and rebuild it with http_build_query
.