Skip to content

Instantly share code, notes, and snippets.

View tradesouthwest's full-sized avatar
Working remotely

Larry tradesouthwest

Working remotely
View GitHub Profile
@tradesouthwest
tradesouthwest / wordcampEUspot.html
Created June 17, 2017 17:40
wordcampEU spotlights pure css
<!DOCTYPE html>
<html lang="en-US" class="no-js no-svg">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>WordCamp Europe 2017 &#8211; June 15-17, Paris, France | #WCEU</title>
@tradesouthwest
tradesouthwest / inside-functions.php
Created April 4, 2017 04:32
wp send mail function
<?php
/**
* @Uses wp_mail() to send out email address
* from a single field form.
* Here is the form:
************************************************************************************
<form id="newsletterForm" action="<?php the_permalink(); ?>" method="POST">
<div class="input-group">
<input class="form-control"
placeholder="Email Address"
@tradesouthwest
tradesouthwest / theme-options_toValuAddTheme.php
Created March 24, 2017 03:28
wordpress settings option defaults keep reappearing
<?php
/**
* Define WTO settings file
*/
function valuadd_settings_file() {
if ( file_exists( VALA_THEME_SETTINGS ) ) {
$theme_settings = VALA_THEME_SETTINGS;
} else {
$theme_settings = VALA_THEME_SETTINGS_VALU;
@tradesouthwest
tradesouthwest / tevolution-country-template
Created January 16, 2017 16:50
page template trial run for tevolution directory
<?php
/**
* Template Name: Country Listing
*
* This is copy of the search template.
* modified by Codeable @tradesouthwest
* @uses custom_cat type for a country slug
*/
get_header();
do_action( 'before_content' );