Skip to content

Instantly share code, notes, and snippets.

View emarket-design's full-sized avatar

eMarket Design emarket-design

View GitHub Profile
<div class="text-center emd-rating-block">
<div class="small text-bold">Was this information helpful?</div>
{my_rating}
</div>
<p class="lead">You can create multiple alphabetical searches on the same page. Below we search employees by their names, departments and job titles alphabetically.</p>
<h2>Search by Departments</h2>
<div class="row" style="margin:20px 0">
[alpha_employees set="glob::glb_alpha_all_text::is::All Departments;glob::glb_alpha_search_by::is::.elist-group-item .tax-departments;"]</div>
<h2>Search by Employee Names</h2>
<div class="row" style="margin:20px 0">
[alpha_employees set="glob::glb_alpha_all_text::is::All Employees;glob::glb_alpha_search_by::is::.elist-group-item .person-name;"]</div>
<h2>Search by Job Titles</h2>
function uploadable_file_types( $mimes ) {
// New allowed mime types.
$mimes['svg'] = 'image/svg+xml';
$mimes['svgz'] = 'image/svg+xml';
$mimes['doc'] = 'application/msword';
// Optional. Remove a mime type.
unset( $mimes['exe'] );
@emarket-design
emarket-design / gist:8ad67ef0a864e892417046cc721b302a
Created April 27, 2017 04:03
How to turn on debugging in WordPress
// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
@emarket-design
emarket-design / gist:89d5a5b3ce5e27fc5457bc2198deead2
Created March 14, 2017 14:38
How to display in the circle grid view in random order in Employee Spotlight Pro WordPress plugin
[employee_circle_grid filter="misc::orderby::is::rand;"]
@emarket-design
emarket-design / THIS PAGE WAS CREATED USING THE FOLLOWING MARKUP
Last active April 7, 2017 19:56
Knowledge Center Pro WordPress Plugin Demo Home page was created using the following markup
<h2 class="text-center text-primary">Welcome to</h2>
<h2 class="text-center text-primary">Knowledge Center Pro WordPress Plugin</h2>
<h2 class="text-center text-primary">Demo Site</h2>
<p>[int_autocomplete]</p>
<h2 class="text-center text-success">Top Marketing Term Groups</h2>
<div id="top-terms">
[std_panel filter="misc::post_id::is::469"]
<div class="row">
<div class="col-md-6">
[std_panel filter="misc::post_id::is::534"]
@emarket-design
emarket-design / gist:97c59f369a57edd52385a5667b56837a
Created January 26, 2017 19:57
Reducing the org chart box size to accommodate large organizations in Employee Directory Pro WordPress plugin
div.emd-container .orgchart .node {
width: 80px !important; \\ Adjust this based on your team's size
}
@emarket-design
emarket-design / gist:8af3995dc2c1f6757beb4e29f468d44e
Created January 10, 2017 20:22
How to show employees in the list grid format in alphabetical order by first name in Employee Spotlight WordPress plugin
[employee_circle_grid filter="misc::order::is::ASC;misc::orderby::is::title;"]
@emarket-design
emarket-design / gist:923469dfb30dcac7e42e64030c84b803
Last active October 29, 2016 17:24
YouTube Showcase WordPress plugin demo site front page HTML
<div class="row">
[std_coverflow filter="attr::emd_video_featured::is::1;"]
</div>
<div class="row">
<div class="col grid_6_of_12">
<div style="background-color: #708090; border: 2px solid #708090; border-radius: 4px; margin: 25px; padding: 25px; -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75); -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75); box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);">
<div style="color: white; font-size: 1.5rem;">
YouTube Showcase Pro WordPress Plugin allows to categorize, tag, and display your YouTube videos in many ways.
</div>
<div style="color: white; font-size: 1.2rem; padding: 25px;">
@emarket-design
emarket-design / gist:325b835d2e25ed89c19dc20b9c4bb8c9
Created October 14, 2016 19:34
WP Easy Events Pro WordPress Plugin - List of people attending Brickell Fashion Market Shopping Spree & Fashion Show
[wpee_event_attendee filter="rel::event_attendee::is::23;"]