This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .banner-img{ | |
| display: block; | |
| margin-left: auto; | |
| margin-right: auto | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $args = array( | |
| 'post_type' => 'post', | |
| ); | |
| $query = new WP_Query($args); | |
| while ($query->have_posts()) : $query->the_post(); | |
| ?> | |
| <div class="news-alert"> | |
| <?php $term= wp_get_post_terms($post->ID, 'category', array("fields" => "all")); | |
| print_r($term);?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jQuery.extend(jQuery.easing, { | |
| easeOutQuint: function(x, t, b, c, d) { | |
| return c * ((t = t / d - 1) * t * t * t * t + 1) + b; | |
| } | |
| }); | |
| var wheel = false, | |
| $docH = $(document).height() - $(window).height(), | |
| $scrollTop = $(window).scrollTop(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Versatile and lightweight code with the aptitude of the JavaScript requestAnimationFrame feature and assistance of two well suited and proven jQuery plugins. Response to mousewheel turns is normalised by mousewheel.js which will provide a consistent and predictable amount of scrolling movement across browsers. Special types of animation easing provided by the easing.js script can create an elegant scroll curve and deceleration. The method's characteristic variables can be easily modified, offering the opportunity for customisation in great detail. Responsive capabilities are included and with the native jQuery animate method as an automatic fallback, legacy browser support is also available. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .custom-file-input::-webkit-file-upload-button { | |
| visibility: hidden; | |
| } | |
| .custom-file-input::before { | |
| content: 'Browse'; | |
| display: inline-block; | |
| background: #b29db5; | |
| border-radius:0 5px 5px 0; | |
| padding: 5px; | |
| outline: none; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function angular(){ | |
| add_theme_support( 'post-thumbnails' ); | |
| set_post_thumbnail_size( 1200, 9999 ); | |
| } | |
| add_action( 'after_setup_theme', 'angular' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*All browser support*/ | |
| .vertical-center{ | |
| width:250px; | |
| top: 50%; | |
| transform: translateY(-50%); | |
| position: relative; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Deregister Gravity Stylesheets and Scripts from specific pages | |
| add_action("gform_enqueue_scripts", "deregister_scripts"); | |
| function deregister_scripts(){ | |
| //Change this conditional to target whatever page or form you need. | |
| if(is_front_page()) { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(".fancybox").fancybox({ | |
| autoSize: false, // keep this and let the slider to resize itself | |
| afterLoad: function () { | |
| $('.overlay-slider').flexslider({ | |
| animation: "slide", | |
| controlNav: false, | |
| start: function () { | |
| $("#overlay").show() // make parent container visible | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <input type="text" class="only-month-year"> | |
| <script type="text/javascript"> | |
| jQuery(function ($) { | |
| jQuery(document).ready(function ($) { | |
| $(".only-month-year .datepicker").datepicker({ | |
| dateFormat: 'MM yy', | |
| changeMonth: true, | |
| changeYear: true, | |
| showButtonPanel: true, |
OlderNewer