Limit number of tags in WordPress tag cloud widget Default limit of tag cloud widget in WordPress is 45. If your WordPress website has a lot of tags and continuously growing,…
All posts by Vijay Dhanvai
How to change the placeholder text color The Placeholder has some default property of gray text color and some opacity. The ::placeholder pseudo element allows you to change style the placeholder…
Use of ARIA in HTML Before moving forward, first need to understand, what is ARIA – “Accessible Rich Internet Applications”, as the internet grow day-by-day, and the user has been…
Essential Tools for Front-End and UI Development or Tools to improve your Web Design As an UI and Front-end developer, i am using many time different tools for better performance, consistency…
SSL Certificate Installation Instructions & Tutorials An SSL certificate serves as a digital “passport” that allows data to be transmitted over secure networks in encrypted form to protecting financial and…
How to Check Current Category has Child Category or not in Magento In this post i will show you how you can get the list of subcategories of a category….
Add or Change default WordPress logo in wp-admin page without using any plugin Here is the quick and simplest way to change default WordPress logo on Login, Registration and forgot password…
How To Change WordPress wp-admin Login URL to Improve Security? If you run a WordPress website, you should restrict the default wp-admin or Admin login URL to secure it against hackers. One…
How to Create Custom Post Type in WordPress Post Types is a term used to refer to different types of content in a WordPress site. In all practical sense, it…
Checking admin is logged in or not in Magento You can check easily the admin is loged in or not by this simple code snippets.
1 2 3 4 5 6 7 8 9 |
$adminsession = Mage::getSingleton('admin/session', array('name'=>'adminhtml')); if($adminsession->isLoggedIn()) { echo "Admin is logged in"; } else { echo "Admin is Not logged in"; } |
Check customer is logged in or not in Magento You can check easily the customer is loged in or not by this simple code snippets.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
$session=Mage::getSingleton('customer/session', array('name'=>'frontend') ); if ($session->isLoggedIn()) { echo "customer is logged in"; } else { echo "Customer is Not logged in"; } //Another Way to Do this : if ($this->helper('customer')->isLoggedIn() ) { echo "customer is logged in"; } else { echo "customer is Not logged in"; } |
What is the Angular-cli? Put simply, it’s a command line interface for Angular, that allows you: Quickly generate a new Angular 2 project. Generate routes, components, services and pipes. Serve…
Web Design Guidelines Good web design involves more than an aesthetically pleasing appearance. In fact, a range of professionals with different areas of expertise are engaged in each major decision…
Direction aware Hover Effects using Pure CSS This is a pure CSS implementation of the hover effects that slide in/out deep ending on the direction your mouse enters in/out. Based…
Justified Photo Grid Gallery With Pure CSS Responsive Justified Photo Grid Gallery With Pure CSS is, flexible CSS which lets you create responsive, justified grid gallery layout for showcasing your…
Step by step guide to move blogger to WordPress: Many bloggers start their blogging site with the idea that they should just choose a platform and then migrate to another…
What is position:sticky? Wow what a great new feature introduced in CSS, Sticky position is really awesome, it can reduce extra effort write JavaScripe or jQury to fix an div or…
The Full Glossary of Web Analytics Terms You Should Know I remember when i was first signup to my google analytic account for my first website, i saw many of…
Does Google Value Keyword Meta Tags? I remember when I was a beginner in website development and in SEO, I thought using good meta keyword can boost my website pages…
Fixed – “Cannot modify header information – headers already sent” This is the most common issue with not developer WordPress user and beginners , Some time it’s showing because of…
How I determine browser and its version using JavaScript? When you are developing a site and your target audience is too large, you may need to test and cover all…
Simple, minimal and light weight tab jQuery As a Javascript/jQuery developer, i am trying to use less plugin as much posible, it’s batter to use small code snippets instead of…
Commands for How to Flush, Enable, Disable Cache Command Line in Magento 2 This is very common issue/problem for those developer who are using Magento 2. How to Flush, Enable,…
How to add Related Posts with Thumbnails in WordPress without Plugins In this article will teach you how to add related posts with thumbnails to your blog single post page…
How to stop WordPress from adding extra ‘p’ tags and line breaks automatic in post content Many time while we updating pages or posts in WordPress, it automatically adds extra…
How do I change the login logo URL and hover title in WordPress without using any plugin? The default login logo URL in WordPress that point to “WordPress.org” and logo…
How to Limit Comment Length in WordPress without plugin? In every blogging site, comment section are very important part. Comment section play a major roll if used with standard comments system….
What is Leverage Browser Caching? When a web browser load any web page it has to load several resourses like images, fonts, js file, CSS file, and other attached resources…
How to Insert Google AdSense Ads within or inside your Post Content in WordPress without plugin? It’s a very common thinking to increasing google adsense revenue, for this you should…
Turn Off or hide HTML5 Input Number Spinners In HTML5 input type number Desktop browsers add little up and down arrows to number inputs called spinners. With the help of…
Remove Whitespace Between Inline-Block Elements The inline-block is very useful CSS property to make block level element to inline-block element. The inline-block value is incredibly useful when we want to control margin, padding…
A Complete Comprehensive Guide for Editing .htaccess for WordPress to achieve best Security and SEO. WordPress is the the most widely used Content Management System (CMS) in the world. A huge…
Executing php code inside a WordPress widget, without Using any plugin. Recently in a project i needed to add php code in theme widget area to perform some action. I…
In this post, I’m going to show you how to upload SVG image files in WordPress without using any plugin. By default WordPress doesn’t allow users to upload SVG images…
How To Disable HTML Tags and links In WordPress Comments? If you’re are running a WordPress Site and allowing your visitors to comment on your articles, you have surly faced…
Add Breadcrumb in WordPress without Plugin In WordPress, breadcrumbs played an important role on the post page and also it’s help user to go back to previous page or home page….
How to Send Email to All Registered Users in WordPress without using plugin? Getting audience as much as possible is the primary goal of any website owner or any blogger….
Get all user list ans email address in WordPress using WP_User_Query() and get_users() In WordPress site you may need to get list of all user for many reason. there are many…
Getting started gulp with step by step. Gulp is mostly used for front-end development, Gulp is a tool that perform several tasks when that really beneficial when you build any…
How to remove or disable cross/clear icon from search input field on Chrome and IE ? In Internet Explorer and Edge browser, input type search fields shows a cross icon…