Custom Code

Home / Archive for Category: Custom Code
23MarHow to Create Featured Posts Section in WordPress

How to Create Featured Posts Section in WordPress

WordPress is well known for its great powerful customization feature. Whenever you feel something is required, you can easily achieve that in many ways such as: WordPress plugins Adding functions Editing previously created functions. Here we are going to learn how to add a featured posts section or featured content in your WordPress. Featured contents are used to highlight...

Continue reading

Acf Gallery slider with Bootstrap Carousel

<?php /* SLIDER CUSTOM FIELD FOR HOMEPAGE */ $images = get_field('slider_photos'); $count=0; $count1=0; if($images) : ?> <div id="slider"> <div id="carousel" class="carousel slide"> <!-- Indicators --> <ol class="carousel-indicators"> <?php foreach( $images as $image ): ?> <li data-target="#carousel" data-slide-to="<?php echo $count; ?>" <?php if($count==0) : ?>class="active"<?php endif; ?>></li> <?php $count++; endforeach; ?> </ol> <!-- Wrapper for slides...

Continue reading
29JulCreating a post object field

Creating a post object field

The post object field contains options to customize your field: Post type: You can filter the choices by selecting post types. Filter from Taxonomy: You can filter the choices even more by selecting specific taxonomies / categories Multiple: By ticking the multiple option, the select field will now allow multiple selections and the API will...

Continue reading
20OctHow to Add Social Icons to a WordPress [Theme Customizer]

How to Add Social Icons to a WordPress [Theme Customizer]

Here’s an easy way to allow your theme users to add social icons to their menu with the theme customizer. You can also follow this tutorial to add social icons to your own menu, but there’s probably an easier way for that. What You’re Making After following this tutorial you’ll be able to use the...

Continue reading


HGSInfotech is the fastest growing and professionally managed Website Designing, Website Development, and Digital Marketing.

Follow Us:


Join our mailing list to receive new Update and announcements

Copyright © 2020 All rights reserved.  HGS

Privacy Policy     |      Terms

denizli escort bayan düzce escort bayan bolvadin escort denizli escort banaz escort escort ısparta escort çankırı afyon escort bayan escort balıkesir escort bolu