Category Archives: Hacks
How to use s2Member Pro export/import function
The s2Member user export/import function is a powerful feature, but needs some understanding to be possible you to do it smooth (at first try :-) ), so I explain here what I find as best way. Note, that this works … Continue reading
Unix server “dissection” with “htop” command
A client of mine had problems with his hosting. I dig, maybe a month, but see nothing. It was a “virtual dedicated server” – the server, which we can see, was a separate “jail” in a bigger shared server. “Cloud … Continue reading
How to borrow a post, or another way to create a virtual WordPress page on fly with the active theme used
I build a new plugin recently, and was need to show a page with my custom message. The stickt need was to be used the active theme, and the same way how WP itself use it. This is because plugin … Continue reading
Best task/bug description
I can not know your site “like my palm”, even I try hard. Also I can not remember every site I work in. And I can not read inside your head. So please do detailed descriptions. Understanding how to explain … Continue reading
The anticrawler.org phenomenons
Today in my logs I see the site anticrawler.org at “incoming” list. Well, people come to me from search engines and specific sites, usually, the single click from unknown site catch my eye. I get to this URL, and see … Continue reading
How to place Login/Logout link in submenus of WordPress
Sometimes you need to place a Login/Logout link in your site’s menu. Even deep in submenus. So I will show you how to do that. This is an universal (for custom menus) way. First you must find where your menu … Continue reading
How to set jQuery plugin perfect-scrollbar
Today I had problems with the perfect-scrollbar jQuery plugin. I have to fix it in a WordPress page, whose content has to scroll as a block. It works well with text, but crashes when a “ol”, “ul” or “table” HTML … Continue reading
“Nivo slider” v1.9 quick fix
“Nivo slider” is a good plugin for slideshow, but the version 1.9, upgraded today, comes with a bug – it shows a message: Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /homepages/19/d395780486/htdocs/wp-content/plugins/nivo-slider/nivo-slider.php on … Continue reading
How to add custom post types to your main WordPress RSS feed
Here and there is described how to add custom post types to WordPress RSS feed, but none ways works for me with WP 3.5.1, so I was need to create a new one. Difference is with more sophistical check for … Continue reading
Hack the “Debug Bar”, “Debug Bar Action Hooks” and “Kint Debugger” plugins
I try to trace execution of a plugin in WordPress, so I install several developer’s plugins: “Developer”, “Debug Bar”, “Debug Bar Transients”, “Debug Bar Action Hooks”, “Kint Debugger”. Then I try to show a variable in the “Kint Debugger”, but … Continue reading