Skip to content

Instantly share code, notes, and snippets.

View richtabor's full-sized avatar

Rich Tabor richtabor

View GitHub Profile
/**
* Site Logo support only works in WordPress 4.5 or later.
*/
if ( version_compare( $GLOBALS['wp_version'], '4.5', '>=' ) ) {
/**
* Let WordPress manage the site logo.
*/
add_image_size( 'plate-logo', 9999, 9999 );
<?php
/**
* The file for displaying the more portfolio loop below the portfolio single.
* It is called via the single-portfolio.php.
*
*
* @package WordPress
* @subpackage Trim
* @author ThemeBeans
* @since Trim 1.0
/**
* Customize the default success message presented on the contact template.
*/
function prefix_custom_success_msg() {
esc_html_e('Wohoo! We have received your mail!', 'mark');
}
add_filter( 'bean_contactform_success_msg', 'prefix_custom_success_msg' );
body {
font-family:
font-size:
}
body #content {
line-height:
}
body #content p {
body .site-archive a:hover,
body .header .active,
body .header a:hover,
body .logo_text:hover,
body .current-menu-item a,
body .entry-content a,
body .portfolio .project-meta a:hover {
text-decoration: none;
}
#nav-btn {
display: none;
}
@media only screen and (max-width: 768px) {
.five.columns.sidebar-right.hide-for-small {
display: block!important;
width: 100%;
}
.sidebar-right .sidebar {
margin-left: 0!important;
}
body .bean-contact-form label {
display: inline-block;
text-align: left;
color: #fff;
}
/*
Theme Name: Emma
Adding support for language written in a Right To Left (RTL) direction is easy -
it's just a matter of overwriting all the horizontal positioning attributes
of your CSS stylesheet in a separate stylesheet file named rtl.css.
https://codex.wordpress.org/Right_to_Left_Language_Support
*/
<nav>
<a href="#Developers">Developers</a>
</nav>
<section id="Developers">
<h1><a href="#Developers">Developers</a><small><a href="#html">Back to Top</a></small></h1>
<p>If you'd like to add another menu location to use in the theme, search for the <code>@@slug_setup</code> function in your theme's functions.php file and copy that whole function to your child theme.</p>
</section>