Easy angular trick to disable and enable button while input box empty or populate

In this another small article I will show you how you simply enable and disabled the input button while you type. To perform this simple trick we will hide the button, if the input box is empty similarly if the input box is filled with any keyword the button will not be disabled. To disabled… Continue reading Easy angular trick to disable and enable button while input box empty or populate

Convert HTML entity code script

Sometimes when dealing with API response we get HTML entity tag as well. For eg: In order to fix this kind of issue we can use a simple javascript snippet.

Published
Categorized as JavaScript

wordpress nav menu arguments

WordPress nav menu arguments <?php $defaults = array( ‘theme_location’ => ”, ‘menu’ => ”, ‘container’ => ‘div’, ‘container_class’ => ”, ‘container_id’ => ”, ‘menu_class’ => ‘menu’, ‘menu_id’ => ”, ‘echo’ => true, ‘fallback_cb’ => ‘wp_page_menu’, ‘before’ => ”, ‘after’ => ”, ‘link_before’ => ”, ‘link_after’ => ”, ‘items_wrap’ => ‘ %3$s ‘, ‘depth’ => 0,… Continue reading wordpress nav menu arguments

Published
Categorized as wordpress

Simple Query post wordpress

A simple query post wordpress to display post in any format you desire. Basically sometime you may need to call some limited number of post with specific category in certain place of your home page or any other template. This will require you to do some hand coding of wordpress inbuilt php function. WordPress has… Continue reading Simple Query post wordpress

Published
Categorized as wordpress

Customized slider height DIVI theme

How to customized slider height DIVI theme A simple css code to customized slider height DIVI theme. @media only screen and ( min-width:981px ) { /* Set the slider height */ .et_pb_slider, .et_pb_slider .et_pb_container { height: 425px !important; } .et_pb_slider, .et_pb_slider .et_pb_slide { max-height: 425px; } .et_pb_slider .et_pb_slide_description { position: relative; top: 25%; padding-top: 0… Continue reading Customized slider height DIVI theme

Published
Categorized as wordpress