Skip to content

Instantly share code, notes, and snippets.

View webplantmedia's full-sized avatar

Chris Baldelomar webplantmedia

View GitHub Profile
@webplantmedia
webplantmedia / seller-pro-homepage-markup.html
Created February 16, 2019 21:30
Seller Pro Homepage Markup
<!-- wp:heading {"align":"center","className":"hero-title"} -->
<h2 style="text-align:center" class="hero-title">Advertise Your Services &amp; Products Like a Pro</h2>
<!-- /wp:heading -->
<!-- wp:button {"backgroundColor":"secondary","align":"center","className":"hero-button is-style-default"} -->
<div class="wp-block-button aligncenter hero-button is-style-default"><a class="wp-block-button__link has-background has-secondary-background-color">Browse our Coffee Selection<br></a></div>
<!-- /wp:button -->
<!-- wp:image {"id":2200,"align":"full"} -->
<figure class="wp-block-image alignfull"><img src="https://demo.webplantmedia.com/seller-pro/wp-content/themes/seller-pro/config/import/images/front-page-1.jpg" alt="" class="wp-image-2200"/></figure>
source ~/.profile
# case ":$PATH:" in
# *:$HOME/bin:*) ;; # do nothing if $PATH already contains $HOME/bin
# *) PATH=$HOME/bin:$PATH ;; # in every other case, add it to the front
# esac
# Tell ls to be colourful
export CLICOLOR=1
# Tell grep to highlight matches
# compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
# compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@webplantmedia
webplantmedia / wordpress-installer.sh
Last active August 29, 2015 14:08
Download and extract WordPress to web server
#!/bin/bash
# set -xv
# by Chris Baldelomar
#
# Instructions
# > cd /web/server/path/public_html
# > curl -O {Gist URL} && chmod +x wordpress-installer.sh && ./wordpress-installer.sh
# DONE
src="https://wordpress.org/latest.zip"
/**
* ${1:{{name}}}
*
* @var ${2:{{type}}{{^type}}mixed{{/type}}}
*/
/**
* Class: ${1:{{name}}}
*{{#interfaces}}
* @see {{name}}{{/interfaces}}{{#parent}}
* @see {{name}}{{/parent}}{{#abstract}}
* @abstract{{/abstract}}{{#final}}
* @final{{/final}}
*/
/**
* ${1:{{name}}}{{?func: vmustache#InitCounter("params", 1)}}
*
* @since 4.0
* @access public
*{{#parameters}}
* @param ${{{?func: vmustache#IncrementCounter("params")}}:{{type}}{{^type}}mixed{{/type}}} ${{name}}${{{?func: vmustache#IncrementCounter("params")}}}{{/parameters}}
* @return void
*/
@webplantmedia
webplantmedia / gist:11401074
Created April 29, 2014 13:54
Here is how to change the link in your header for your WP Canvas theme
<a class="home-link" href="http://your-domain.com" rel="home">
<?php if ( $logo_image = get_option( WORDPRESSCANVAS_PREFIX . 'logo_image' ) ) : ?>
<h1 class="site-logo">
<img src="<?php echo $logo_image; ?>" alt="<?php bloginfo( 'name' ); ?> - <?php bloginfo( 'description' ); ?>" />
</h1>
<?php endif; ?>
<?php if ( get_option( WORDPRESSCANVAS_PREFIX . 'show_site_text' ) ) : ?>
<h1 class="site-title"><?php bloginfo( 'name' ); ?></h1>
<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
<?php endif; ?>
/*
----------------------------------------------------------------
Gravity Forms Front End Form Styles
Version 1.8
http: //www.gravityforms.com
updated: January 31, 2014 3:35 PM
Gravity Forms is a Rocketgenius project
copyright 2008-2014 Rocketgenius Inc.