Skip to content

Instantly share code, notes, and snippets.

Abhishek Rijal xqluzxwise

Block or report user

Report or block xqluzxwise

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View wp-travel-f-end-js.js
jQuery(document).ready(function($) {
function wp_travel_set_equal_height() {
var base_height = 0;
$('.wp-travel-feature-slide-content').css({ 'height': 'auto' });
var winWidth = window.innerWidth;
if (winWidth > 992) {
$('.wp-travel-feature-slide-content').each(function() {
if ($(this).height() > base_height) {
View booking-functions.php
* Booking Functions.
* @package wp-travel/inc/
* Array List of form field to generate booking fields.
View content-pricing-options.php
* Itinerary Pricing Options Template
* This template can be overridden by copying it to yourtheme/wp-travel/content-pricing-options.php.
* HOWEVER, on occasion wp-travel will need to update template files and you (the theme developer).
* will need to copy the new files to your theme to maintain compatibility. We try to do this.
* as little as possible, but it does happen. When this occurs the version of the template file will.
* be bumped and the readme will list any important changes.
View functions.php
* Check status of custom header.
* @since 1.0.0
function nature_bliss_check_custom_header_status( $input ) {
if ( is_front_page() && ! is_home() ) {
$featured_slider_status = nature_bliss_get_option( 'featured_slider_status' );
View archive.php
* The template for displaying Archive pages
* Learn more:
* @package Catch Themes
* @subpackage Clean Box
* @since Clean Box 0.1
xqluzxwise / 0_reuse_code.js
Created May 4, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
You can’t perform that action at this time.