Skip to content

Instantly share code, notes, and snippets.

@cobaltapps
cobaltapps / dynamik-promote-skin-demo-setup.php
Last active March 7, 2019 01:59
Demo Setup Instructions and Content for the Dynamik Promote Skin.
<?php
/**
* Below you will find all of the custom content used to
* create the demo site for the Dynamik Promote Skin.
*/
?>
WordPress Menu Setup: Assign a menu to the "Primary Navigation Menu" as well as the Genesis "Header Right" Widget Area as stated below.
== BEGIN Widget Area Info ==
@cobaltapps
cobaltapps / dynamik-vitality-skin-demo-setup.php
Last active March 7, 2019 01:58
Demo Setup Instructions and Content for the Dynamik Vitality Skin.
<?php
/**
* Below you will find all of the custom content used to
* create the demo site for the Dynamik Vitality Skin.
*/
?>
WordPress Menu Setup: Assign a menu to the "Primary Navigation Menu".
== BEGIN Widget Area Info ==
@cobaltapps
cobaltapps / dynamik-realestate-skin-demo-setup.php
Created July 27, 2018 19:44
Demo Setup Instructions and Content for the Dynamik RealEstate Skin.
<?php
/**
* Below you will find all of the custom content used to
* create the demo site for the Dynamik RealEstate Skin.
*/
?>
WordPress Menu Setup: Assign a menu to the "Primary Navigation Menu" as well as the Genesis "Header Right" Widget Area as stated below.
== BEGIN Widget Area Info ==
@cobaltapps
cobaltapps / dynamik-themeshop-skin-demo-setup.php
Created August 13, 2018 15:53
Demo Setup Instructions and Content for the Dynamik ThemeShop Skin.
<?php
/**
* Below you will find all of the custom content used to
* create the demo site for the Dynamik ThemeShop Skin.
*/
?>
WordPress Menu Setup: Assign a menu to the "Primary Navigation Menu" as well as the "Secondary Navigation Menu".
== BEGIN Widget Area Info ==
@cobaltapps
cobaltapps / dynamik-nonprofit-skin-demo-setup.php
Created August 15, 2018 23:23
Demo Setup Instructions and Content for the Dynamik NonProfit Skin.
<?php
/**
* Below you will find all of the custom content used to
* create the demo site for the Dynamik NonProfit Skin.
*/
?>
WordPress Menu Setup: Assign a menu to the "Primary Navigation Menu" as well as the Genesis "Header Right" Widget Area as stated below.
== BEGIN Widget Area Info ==
@cobaltapps
cobaltapps / dynamik-parallax-skin-demo-setup.php
Created August 17, 2018 20:18
Demo Setup Instructions and Content for the Dynamik Parallax Skin.
<?php
/**
* Below you will find all of the custom content used to
* create the demo site for the Dynamik Parallax Skin.
*/
?>
WordPress Menu Setup: Assign a menu to the "Primary Navigation Menu" as well as the Genesis "Header Right" Widget Area as stated below.
== BEGIN Widget Area Info ==
@cobaltapps
cobaltapps / dynamik-impact-skin-demo-setup.php
Created August 19, 2018 22:13
Demo Setup Instructions and Content for the Dynamik Impact Skin.
<?php
/**
* Below you will find all of the custom content used to
* create the demo site for the Dynamik Impact Skin.
*/
?>
WordPress Menu Setup: Assign a menu to the "Primary Navigation Menu".
== BEGIN Widget Area Info ==
@cobaltapps
cobaltapps / custom_extender_pro_not_labeled.php
Created August 30, 2018 23:38
A custom version of the extender_pro_has_label function that checks if pages/posts have any labels assigned to them.
function custom_extender_pro_not_labeled() {
if ( is_singular() && get_post_meta( get_the_ID(), '_extender_pro_' . extender_pro_sanitize_string( extender_pro_active_theme_name(), true ) . '_labels', true ) == '' )
return true;
else
return false;
}
@cobaltapps
cobaltapps / gulp-user-data-setup.sh
Last active May 25, 2022 17:36
User data code used to setup NodeJS environment on cloud servers such as DigitalOcean and Vultr.
#!/bin/sh
## Copy/paste this script code into the "User Data" textarea that appears when selecting
## the "User Data" checkbox upon setting up your new DigitalOcean Droplet.
## Update Ubuntu
apt-get update
## Install NodeJS and NPM
curl -sL https://deb.nodesource.com/setup_16.x | bash -
@cobaltapps
cobaltapps / gulp-first-time-setup.sh
Last active December 13, 2021 15:45
Initial server setup script for a NodeJS, Gulp powered DEV configuration.
#!/bin/sh
## Run this script from a Terminal (or just copy/paste each command and run one at a time) when you first setup your server
## If you already used the gulp-user-data-setup.sh script code in the setup of a new Cloud Server (as per a Cobalt Apps tutorial) then this script does not need to be run
## Update Ubuntu
sudo apt-get update
## Install NodeJS and NPM
curl -sL https://deb.nodesource.com/setup_16.x | bash -