HubSpot CMS HubL Macros [code snippets]

A collection of HubSpot CMS Macros {% set macros = true %} {######################################### ## HubSpot Helper Macros ## #########################################} {# **Prefix Constructor** Utility macro that builds builds vendor prefixed versions of a statement. Usage Inside of you macro, call the prefix macro and pass it the following values in this order, as strings. CSS property […]

Add Custom Info Widget to WordPress Admin Dashboard [code snippet]

The snippet below helps you customize the default WordPress admin dashboard. Sometimes the dashboard contains too much information and you want to simplify it for you or your clients. The code below will help you hide existing widgets and add a custom one. In this example I added a user guide to help new users […]

How to Remove Default HubSpot CTA Styles

HubSpot allows marketers to create custom styled CTA buttons. This can be a problem if you have a large team who may not know how to follow brand guidelines. This creative freedom can make buttons look inconsistent across your website. You could educate all of your users to never create custom styles. Or you could […]

WooCommerce Product Category and Terms Select Filters [code snippet]

The code below will help you add a form select filter for Woocommerce online shop on WordPress. <?php $categories = get_terms( [‘taxonomy’ => ‘product_cat’, ‘hide_empty’ => true] ); ?> <div class=”product-categories”> <h3>Categories</h3> <select class=”form-control shop-filter” onchange=”location = this.value;”> <option selected value=”/shop/”>All</option> <?php foreach ( $categories as $category ) { ?> <option value=”<?php echo get_term_link( $category->term_id […]

Embed HubSpot Form in WordPress, Customize CSS, and Hide Fieldset Margins on Hidden Fields [code snippet]

When you embed a HubSpot form on an external site you can add css: ‘ ‘ to the embed code to remove the default form styles. If you have hidden fields the fieldset could have a margin or padding applied from your website stylesheet. This is common because you want a fieldset to have some […]

The Best Black Friday Deals for Developers and Designers – 2020

It’s that time of the year when just about everything seems to be on sale. If you’re a web developer or a designer who’s looking for the best Black Friday and Cyber Monday deals, then you’ve come to the right place. Here are some great Black Friday deals that are designed to make web developers’ […]

Top 10 Most Downloaded W3layouts Templates

Whether you’re a freelance web developer or an SMB, website templates are bliss for you. Website templates eliminate the need for a UI/UX designer to some extent and help you cut down your overhead costs. The team at W3layouts works hard to make sure each and every template caters to the specific needs of web […]

Best Free Sports Website Templates 2020

10 best free sports website templates of 2020 for yoga centers, gyms, and sporting event organizers. Sports websites are getting immensely popular as they play an important part in the lives of the sports fanatic. Sports lovers always look for responsive sports website templates to promote sports-related activities. W3layouts stands as the one-stop solution to […]

Best Free Travel Website Templates 2020

Top 10 Best Travel Website Templates of 2020 to Boost your Travel and Tourism Business Worldwide The travel industry is expanding in the world market and emerging as one of the largest industries across the world. Apart from creating jobs, they also contribute to developing the world economy. Our website templates in this category are […]

How to make the best use of 404 error page?

What are the 404 errors? A 404 error takes place when the URL a user wanted to visit could not be located. The problem is not with the server or internet connection, but with the webpage itself. Maybe, the website owner has deleted the page or have shifted it to a new web address. It […]