Author: websourceblog

Anonymous functions in JavaScript 0

Anonymous functions in JavaScript

The functions that are dynamically declared at runtime are called anonymous functions. They are not given name in same way as normal functions. Anonymous functions are declared by function operator. We can use the...

CSS property word-wrap 0

CSS property word-wrap

Word-wrap is very useful css property. It is use to break long text in new line by giving break-word with the word-wrap property. For instance, if you have text extending out the box and...

0

How to enable Remember me functionality in magento?

By default “Remember me” functionality is not enabled in magento. You can enable it form admin, very easily and quickly. To enable it go in System->Configuration->Customers->Persistent Shopping Cart->General Options->Enable Persistence. From here select Yes...

0

How to get add to cart URL in Magento?

For add to cart button there is a function setLocation called on click in which URL, product id and quantity passed. Share this…FacebookPinterestTwitterLinkedinTumblr

Add menu item programmatically in WordPress 0

SEO friendly URLs in wordpress.

WordPress have dynamic page URLs by default those are not good for search engine optimization. WordPress can generate SEO friendly URLs by using post / page or category titles. You can enable SEO friendly...

Add menu item programmatically in WordPress 0

How to register custom menus in wordpress?

You can register multiple custom menus in wordpress for your theme. These menus can be shown on different locations. There is a wordpress function that you can use for this purpose that is following....

Install imagick php extension 0

How to display users Gravatar image?

Many users have images on Gravatar. If you want to dispaly user’s Gravatar image then you just need email address of that user and get its MD5 hash then append it to Gravatar URL....