How to Get Current Language Code by Using WPML Plugin of WordPress

I have been using WPML Plugin for one of my multi language websites. Once upon a time, I needed to check the current language code in order to execute my own code that I wrote in the sidebar related to the current language. The question is: How did I get that current language code? After [...]

Share
[Read more...]

Allowing HTML Code on New Ticket Message of osTicket v1.6 RC5

If you want to allow your client to include the certain snippet code when create a new ticket in osTicket, then you have to modify the related function located in class.format.php file, afterwards, you have to add an additional information on open/new ticket form in order to enclose their code with [code] and [/code] tag. [...]

Share
[Read more...]

How to Embed CSS Code to HTML Code Without Using CSS File

As we know, most websites made by involving the CSS file that contains of CSS Code to make your web appearence as good as you want. This CSS file typically separated with the file that contain of your HTML or PHP Code. But sometimes, you obviously do not want to separate this CSS Code with [...]

Share
[Read more...]

How to Convert Special Character to HTML Code

Sometimes, I have to view special character that could not be displayed directly on my website for the certain reason. For example, when I wanted to share a knowledge about How to Translate Your Blog Title and Description Using qTranslate Plugin then I have to display special tag related to this topic like [:en] which [...]

Share
[Read more...]