• Detect ad blocker and show a message to visitor of website

    thumb

    For many websites that publish content for free, ads are one of the primary sources for getting revenue. This revenue is spent for paying the expenses to run the website. Reduction of the displayed ads means less revenue. If you’re finding that the majority of your website’s visitors are blocking ads then you might want to try displaying a friendly message asking them to disable the ad blocker extension that they have installed in web browser. In this article I’ll show you how I detect the ad blockers and show the message to visitors of my website.

    Continue reading →
  • Making smart sticky elements by using a jQuery plugin

    thumb

    Sometimes when I surfing the Internet I see the sticky elements that applied on website. Most often it’s a sticky ads that placed in sidebar. Sticky ad is an ad unit that stays in place while the page scrolls. Some are fixed completely when others (often placed at the end of sidebar content) scroll until they are in view then stay in a fixed position as the user scrolls further down the page.

    Continue reading →
  • Including the jQuery library to website

    thumb

    In addition to custom JavaScript files many developers find jQuery useful. jQuery is the most popular JavaScript library available that allows developers to easily and quickly add enhancements to the appearance and behaviors of their projects. So developers can perform common JavaScript functions while using less code.

    Continue reading →
  • WP Plugin: "Syntax Highlighter for Post/Page HTML Editor"

    thumb_full

    An easy to use, with intuitive interface, WordPress plugin that replaces the default Post & Page HTML/Text Editor with an enhanced editor by a CodeMirror library. The WordPress default Post & Page HTML/Text Editor is great for doing some custom changes to HTML markup of your post/page, although it is rather limited. This is where the “Syntax Highlighter for Post/Page HTML Editor” can help. With an enhanced HTML/Text editor you can see a code with syntax highlighting, and with line numbering, so you can easily read your HTML markup and detect any errors.

    Continue reading →
  • Social Media Share Bar for Jekyll blog/website

    thumb

    Allowing users to share your articles on social media is a common blog/website feature. More share is equal to more eyeballs on your article. Shares will drive traffic to your blog/website and sometimes it may go viral. But, if you read a lot over the internet then you know how hard it is to share an interesting article with your friends if it doesn’t have a share buttons, so it is necessary to provide an option to share. In this article I show you how I added the social media share bar widget to this Jekyll website.

    Continue reading →