Skip to content

Instantly share code, notes, and snippets.

View deepak125's full-sized avatar

Deepak Jha deepak125

View GitHub Profile

Keybase proof

I hereby claim:

  • I am deepak125 on github.
  • I am deepak125 (https://keybase.io/deepak125) on keybase.
  • I have a public key ASCuWsxTGCGeOtfGkRZcIFgpRXtvox4SKr7OnqNEWrT2vgo

To claim this, I am signing this object:

@deepak125
deepak125 / README.md
Created August 2, 2017 16:34 — forked from hofmannsven/README.md
My simply Git Cheatsheet
<?php
$startup_loop = new WP_Query(
array(
'post_type' => 'startup',
'facetwp' => true,
'orderby' => array(
'meta_value_num' => 'DESC',
'post_date' => 'ASC',
),
)
@deepak125
deepak125 / index
Created September 23, 2016 05:24
Verifying that "deepak125.id" is my Blockstack ID. https://onename.com/deepak125
Verifying that "deepak125.id" is my Blockstack ID. https://onename.com/deepak125
<?php
/* Set Featured Image for pages */
add_theme_support('post-thumbnails', array('post', 'page'));
/* Featured Image URL */
function featured_img_url($mdw_featured_img_size, $id = NULL) {
if ($id != NULL) {
$mdw_image_id = get_post_thumbnail_id($id);
<?php get_header(); ?>
<div class="page-title-container">
<div class="container">
<?php the_breadcrumb(); ?>
</div>
</div>
<div id="page-wrapper" class="row-fluid fullwidth search-wrapper <?php echo strtolower(get_the_title()); ?>-wrapper">
<div class="container search-container">
<div class="row">
<!--aside bar--->