WordPress Ajax Post Filter

/ | Leave a Comment

without plugin! https://rudrastyh.com/wordpress/ajax-post-filters.html

Read more »

Hiding Sub Field

/ | Leave a Comment

On a repeater field, we want to hide sub field that dont have any value. Here’s the code

Read more »

Show code only for first query

/ | Leave a Comment

We are working on a site where the first query on archive is displayed featured.

Read more »

Favorite Post v.02

/ | Leave a Comment

We are working on a new project that require favorite system where visitor/member can favorites a post and displaying on their profile. Also we want to display most favorite post on front end. WP Favorite Posts is a good plugin, but the development is stopped. Fortunately we found fork of this plugin and it works […]

Read more »

Add Property (eg. data-attribute, predefined class etc) to Visual Composer

/ | Leave a Comment

Sometimes we want to add additional or predefined class on visual composer elements (eg. row, inner row, column) to implement jquery effect. To achieve this on functions.php add a new vc_add_param Then copy vc_row in js_composer/include/templates/shortcodes to your theme /vc_templates/vc_row.php Add the new class   For custom data-attributes, below $wrapper_attributes array (line 72), add this […]

Read more »

Accordion based on wordpress menu

/ | Leave a Comment

Create an accordion on your basic wordpress menu without a plugin. Hover Version

Read more »

WP Mobile Detect and PHP Snippet

| Leave a Comment

We wouldn’t load mobile and desktop content twice. WP Mobile Detect and Insert PHP plugins to achieve this.

Read more »

List Custom Taxonomy

/ | Leave a Comment

Display your custom taxonomy Outside loop:

Read more »

ACF + Owl Carousel with custom navigation

/ | Leave a Comment

Combo on creating a carousel using ACF and Owl carousel The jQuery:

Read more »

Quick snippets for ACF Repeater

/ | Leave a Comment

Code to display subfield of a repeater field in ACF Show only has subfield? Repeater on Option

Read more »