loop2 Please Wait...
DeveloperGang

Redirecting Wordpress's Login/Register page to a custom login/registration page..

IN SOME CASES we have been used the plugin for the custom login, registration page. OR we have created our pages using custom codes for Login and register page. In that cases th...

How to get the date of post in a separate day, month and year variables wordpress.??

Sometimes our custom design requires Day, month and year in a seprate or wow looking format... For this we need the day for the post, month for the post, and Year for the post in a...

How to redirect a page in php?

very easy way: header("Location:index.php"); // here index.php is the page where we want to redirect. you can change the name where to want to redirect.

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

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

Add active class to the menu li in wordpress

wordpress-menu.png
By default, there is a .current-menu-item class added in the menu li. we can easily add the active class by simple WordPress filter. add_filter('nav_menu_css_class' , 'special_nav_...

wp_nav_menu add or remove sub-menu class in menu wordpress.

wordpress-menu.png
We can add additional class to submenu Suppose we have following structure: Home Home1 Home2 Home3 Home4 Home5 Home6 In that case if we want to th...

How to find out if a record already exists in a database or not in Magento ?

Magento-url.png
To check out whether record exists in the database of MAGENTO you can use the following query::: getCollection()->addFieldToFilter('field_name', $value_to_check)->getFirstIt...

How to add Magento newsletter in footer or Header?

magento.jpeg
To set the Newsletter on Footer also in Header section: Must follow below steps.. FOR THE FOOTER: Go to app/design/frontend/default/your_theme/layout/ open newsletter.xml Check the...

Introduction of Java.

Java programming language has been derived on the basis of OOP(Object Oriented Programming). Earlier Java was called Oak. To learn Java programming language, first you need...

Updating WordPress on local server (max execution time)

WordPress.jpg
for temporarily increasing your max execution time you can use ini_set() in your php page ini_set('max_execution_time', 300); //300 seconds = 5 minutes otherwise, you will need to...
Lorem ipsum dolor sit amet consectetur adipisicing elit. Fuga, aspernatur.