When working with wordpress menu you may need to add a custom item in the last of wordpress menu.You can achieve this with wordpress menu walker class.But wordpress menu walker class is for heavy customizing the wordpress menu like building mega menu. We can achieve this solution with a wordpress filter add_filter(‘wp_nav_menu_items’, ‘new_nav_menu_items’, 10, 2); Copy[…]
Basically for regenerating image in wordpress ,we use plugin.We think that it take lot of time and logic to make our own function for this purpose.
But it is not true.
In wordpress ,errors and warnings are shown even we use define(‘WP_DEBUG’, false); in our config file.Due to the warnings ,many of the wordpress functionalities that depend upon ajax request fails.So we need to hide those warnings .
As in magento 1 we can build our own theme which is in separate directory with the magento system folders.When you update magento 2 to newer version in future you don’t need to headache for the update modifying your old theme.
Full stable magento 2 has release and now everyone shifting with the new Magento world. Magento 2 have change almost all the folder structure so it made little difficult for the developer to move with the folder structure.You can easily build your own module in earlier version of magento.Magento 2 have the same feature.Following is the example for building simple simple module which display Welcome message.