Page Not Found Except Home Page Error

WordPress is a powerful CMS. Sometimes a slight tweak can make your website inaccessible. A common problem that most WordPress users face at some point is WordPress posts returning a Page Not Found Error. This may even occur after some updates in theme/plugins or settings. In this article we will show you how to deal with WordPress page not found except home page error.

Read More

How to Redirect URL

There are several ways to redirect a user from one URL to another. There might be several reasons to do this. I am describing different ways to redirect a URL or page quickly and seamlessly including redirect URL using JavaScript, use a meta tag, redirect using an htaccess file, redirection using PHP and finally redirect URL in WordPress.

Read More

One Sided or Two Sided Box Shadow in CSS

Today, we will learn how to apply shadows to to a box only or one or two edges. First of all we will learn what is box shadow and then will look at different examples to apply them either one side or two sides to a box. Also remember, there is no support in IE8 and previous version.

Read More

Toggle class using jQuery

Sometimes we faced the problem of toggling the class in html because of only by changing the classes can do a different action in html.

Toggle class means exchange the class names. We can toggle class using jQuery as follows:

$(document).ready(function(){

if($('#id').hasClass('active'))
$('#id').removeClass('active').addClass('deactive');
else
$('#id').removeClass('deactive').addClass('active');

})

Read More

PHP Interview Questions – I

In this article on PHP Interview Questions, I have compiled a list of fundamental PHP interview questions and answers that were asked in a real interview for a PHP web developer position. Every PHP web developer should know these questions/answer of PHP. So, either you are preparing for any interview in PHP development or are a web developer, you should go through the following list of interview questions in PHP. These PHP questions are mix of basic PHP questions to advance questions that expert PHP engineers know.

Read More

Merge two arrays in PHP

The array_merge() function merges the elements of one or more arrays together so that the values of one are appended to the end of the previous one. It returns the resulting array.

<?php
$A1=array("apple","papaya");
$A2=array("banana","grapes");
print_r(array_merge($A1,$A2));
?> 

Output would be :
Array ( [0] => apple[1] => papaya[2] => banana [3] => grapes ) 

Read More

Increase the PHP Script execution time

set_time_limit : set/increase the PHP Script maximum execution time

By default, PHP has a set of seconds limit to execute the script, if some script reach to run then some fatal error occurs.

Read More

Arrow on scrolling the page using jquery

Sometimes we faced the problem on scrolling the content on the page and go to the bottom of the page and feel we need to go on top of the page.

For that we need to scroll the page again which is irritating. If there would be any option to click on which we can jump to top of the page easily seems good.

Read More

[ Page 26 of 27 ]