I have been scratching my head all night to get this thing fixed! We have been using Slick Carousal in one of our projects and it breaks whenever ‘dir=”rtl” is injected into the body tag.
I wish I had came across this before because it costed me a good night sleep and 2 cups of coffee to make it work in the arabic version of the website.
The solution was plain simple, you basically have to use the following option when initializing the carousal:
Get the path of running Apache
$ ps -ef | grep apache
apache 12846 14590 0 Oct20 ? 00:00:00 /usr/sbin/apache2
-V argument to the path
$ /usr/sbin/apache2 -V | grep SERVER_CONFIG_FILE
I am using jQuery Select2 plugin, for select boxes, on one of my projects. The best thing I like about this plugin is that it allows the user to search through a multiple select box. Also the user doesn’t have to use the (CTRL+Click) combination to select multiple options. But today, I just came across a problem when I was trying to limit the number of options a user could select. I wanted the user to select only a single option on the multiple select box. And thankfully, Select2 has something called maximumSelectionSize which we can simply pass to the constructor.
Unfortunately my website got hacked a couple of months ago. The following post by Julio was very helpful for me to restore my website. I hope it will help others too.
From Julio Marchi:
Here is my “comment” (or “mini-tutorial” if you want to call it):
I’ve been using cformII for a while now for my clients. I am really impressed by the great features this plugin has. I think its being developed by a single developer and thats why there are some bugs in it. Last time I encourtered a serious bug and I had no choice but to reset cformII. I tried to re-install it by completely deleting cforms from plugins and deleted the two db tables created by cforms but my old forms keep appearing when I install it again.
So after searching a while on the Internet I found the solution.
Just found this script here for inviting all of your friends to like your page. Its awesome and time saving.
The twenty eleven theme is one of my favorite wordpress themes. Its very lightweight, well managed, fully functional and the best thing is it uses fewer resources of the web server.
Recently I came across a problem with the header image. I am using an awesome plugin for facebook which shows a slider at every page but now the problem was that the header image of the twenty eleven theme was appearing on top of the slider.