Google-Ads : How to fix DoubleClick referrer to 404 non-existing page

When checking the log files either using Google Analytics, StatCounter or any other means, one interesting information is the referrer. They show from where do visitors come from. Especially interesting are referrals not coming from organic searches. Every once in a while I noticed a strange referrer as it was showing visitor coming from an ad company and the landing page was to a non-existing page giving 404 error. This article will explain why this happens and how to fix it.

Read More

WordPress-qTranslate-X : How to make alt tag attribute of featured image change language

When you need a free plugin that would make your WordPress site multilingual, qTranslate-X is a way to go. It works great, but you might encounter a problem when trying to have multiple language support for attributes of Featured Image also known as Post Thumbnails. If you try to insert qTranslate language tags in Title, Description, Caption, and most importantly Alternative Text, you might notice that nothing gets translated when the_post_thumbnail() is called.

This article will show you how to make those fields multilingual.

Read More

.NET : How to save DataTable to Database Table using C#

Recently I wanted to save DataTable data into database. I assumed this would be easy using Entity Framework, but it turns out it is not, since DataTable consists of rows and columns while the Entity Framework deals with objects. Another way is to use ADO.NET by iterating through the rows in the DataTable and insert each row using SqlCommand and INSERT statement, but there is an easier way to accomplish this and that is by using SqlBulkCopy class, which is the focus of this article.

Read More

WordPress : How to hide / remove line numbers in Crayon Syntax Highlighter

Crayon Syntax Highlighter is a very popular highlight code plugin for WordPress. I use it for highlighting my code on this site. Recently, when writing a new article, I wanted to add highlighted code without line numbers and noticed, that unchecking the option “Display line numbers by default” to hide line numbers didn’t work at all. Fortunately, there is a workaround which is the topic of this article.

Read More

VS : How to create a JavaScript project in Visual Studio Community

JavaScript seems to be everywhere these days. Until now, I only used it when the need arose while doing front end web development, but recently, I wanted to learn the language properly. So the next question that popped in my mind was which IDE or editor to use that would have JavaScript auto complete / IntelliSense and debugging capability? I was already familiar with Visual Studio, so I wondered, if I can just use that for this purpose. It turns out that you can and this is the topic of this article.

Read More

Windows-10 : How to solve “This app has been blocked for your protection” problem

A while ago I made a clean install of Windows 10. Everything was working well until I tried to install an application software for the printer that was downloaded from an official Samsung Web Site. When I tried to run the installation file, I received an alert window telling me “This app has been blocked for your protection” and that publisher is not trusted. In this post, I will show you what else I tried and what finally worked for me.

Read More

YARPP : How to use custom templates to show related posts

Yet Another Related Posts Plugin or YARPP is a very popular WordPress related posts plugin. It supports different display options, the most interesting among them is support for custom templates. YARPP comes with built-in templates from which we can choose from, but we can add our own templates as well. This gives us ability to really customize the look for the YARPP related posts. This article will show how to activate custom templates, how to edit existing or create new ones and finally it will show some useful code snippets that can be used in them.

Read More

Share this page

Back to Top