Are you looking to streamline your web development process and create efficient and powerful applications? Look no further than Laravel, a widely popular PHP framework that has gained immense recognition for its elegant syntax, robust features, and ...
How to choose a WordPress Theme?
When it comes to choosing a theme for their websites, most newcomers are overwhelmed. There are thousands of themes available, both free and paid. Each theme appears to be superior to the others. How do you pick the best WordPress theme? As a res ...
Mark parent category menu active on single custom post view in WordPress
Recently I developed a theme for one of my clients and I had to highlight the menu item of the parent category in the main menu when one of its associated single custom posts was viewed. For that, I had to add an action in my functions.php file for n ...
Displaying Multiline Title in WordPress
In WordPress when the title is written it is usually displayed in a single line on front-end until it is too long to display in one line. But if you want to write the title in multiline and want to line break the title after a certain word how can yo ...
Different color for each menu item in WordPress
In a recent project, I got a requirement that each menu item should be highlighted in a different color when visited. The menu items and their required active colors were: Home - Green Portfolio - Blue Team - Yellow Contact - Red These colo ...
Rollover image – Change image on hover/mouse over
Often when designing websites static or dynamic, PHP or ASP.Net, Laravel or WordPress, you have to design in a way that if the user hovers an image it gets changed and an alternate image is displayed. This can be easily achieved via simple HTML event ...
How to start E-commerce business in Pakistan? Part-1
It is very impressive how Pakistan is progressing in the field of IT, telecom and broadband penetration. Pakistan’s e-commerce market is growing tremendously and presents great opportunities for everyone. Pakistan’s broadband penetration has grown to ...
Override parent shortcodes in your WordPress Child Theme
Overriding shortcode defined in WordPress parent theme is pretty easy. Just use a after_theme_setup section in functions.php of the child theme; example: add_action( 'after_setup_theme', 'my_child_theme_setup' ); function my_child_theme_setup() { ...