Skip to content

Instantly share code, notes, and snippets.

View tajim's full-sized avatar
💭
Available for WP Jobs!!!

Mohammad Tajim tajim

💭
Available for WP Jobs!!!
  • SingleRange Technology Pvt. Ltd.
  • Kathmandu, Nepal
View GitHub Profile
<!-- wp:cover {"customGradient":"linear-gradient(160deg,rgb(133,69,69) 0%,rgb(12,12,120) 100%)","contentPosition":"center center","align":"full","className":"is-style-default"} -->
<div class="wp-block-cover alignfull has-background-dim has-background-gradient is-style-default" style="background:linear-gradient(160deg,rgb(133,69,69) 0%,rgb(12,12,120) 100%)"><div class="wp-block-cover__inner-container"><!-- wp:spacer {"height":57} -->
<div style="height:57px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:paragraph {"align":"center","placeholder":"Write title…","style":{"typography":{"fontSize":15}}} -->
<p class="has-text-align-center" style="font-size:15px"><strong>BRING IDEAS TO LIFE</strong></p>
<!-- /wp:paragraph -->
<!-- wp:heading {"textAlign":"center","level":1,"align":"wide","style":{"typography":{"fontSize":58}}} -->
if( ! function_exists( 'wphelp_dns_prefetch' ) ) :
function wphelp_dns_prefetch(){
if ( is_singular() ) {
echo '<link rel="prefetch" href="' .esc_url( home_url() ) . '">';
echo '<link rel="prerender" href="' .esc_url( home_url() ) . '">';
}
}
@tajim
tajim / admin-redirect.php
Created September 20, 2016 13:44 — forked from kharissulistiyo/admin-redirect.php
Admin Page Redirection After WordPress Theme Activated
/**
* WordPress snippet
* Admin page redirection
* Put this inside theme setup function
*/
global $pagenow;
if ( is_admin() && 'themes.php' == $pagenow && isset( $_GET['activated'] ) ) {

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

@tajim
tajim / keybase
Created October 24, 2014 19:06
Keybase
### Keybase proof
I hereby claim:
* I am tajim on github.
* I am tajim (https://keybase.io/tajim) on keybase.
* I have a public key whose fingerprint is 8B84 2AE6 A2D4 EEFC 1F0F 05CD CC90 8938 4D74 18C1
To claim this, I am signing this object: