loop2 Please Wait...
DeveloperGang

What’s the difference between site_url() and home_url()?

The site_url() will always be the location where you can reach the site by tacking on /wp-admin on the end, while home_url() would not reliably be this location. The home_url() wou...

How to get current theme name and package name in magento?

Current Package name Mage::getSingleton('core/design_package')->getPackageName() Current Theme name Mage::getSingleton('core/design_package')->getTheme('frontend') Read the...

types of hooks in WordPress...

Hooks allow user to create WordPress theme or plugin with shortcode without changing the original core files. two types of hooks: 1) Action hooks 2) Filter hooks 1. Action...

What is Hooks in wordpress?

Hooks allow the user to create a WordPress theme or plugin with shortcode without changing the original files. Following are two types of hooks A) Action hooks: These hooks all...

Fatal error: Allowed memory size of 67108864 bytes exhausted in Wordpress

Sometimes we found that error: Fatal error: the Allowed memory size of 67108864 bytes exhausted. Generally, we have the solution for this that can be attempted in the first try...

What is the use of "echo" in php?

It is used to print a data in the webpage, Example: , The following code print the text in the webpage.

what is the difference between Mage::getModel() and Mage::getSingletone() in Magento?

Mage::getModel(): It always creates a new object. Mage: :getSingleton(): It always look for an existing object and if not then creates a new object.

What is the use of Search Engine Visibility field in Wordpress Reading settings?

It Discourage search engines from indexing this site, your site will be ignored by the search engine. eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replac...

What are the different types of errors in PHP?

There are three types of errors in PHP. 1. Notice: These are very normal and non-critical errors and they even not displayed to users. For examples accessing a variable that no...
Lorem ipsum dolor sit amet consectetur adipisicing elit. Fuga, aspernatur.