Skip to content

Instantly share code, notes, and snippets.

Avatar

eMarket Design emarket-design

View GitHub Profile
View Knowledge Center Enterprise WordPress Plugin rating text
<div class="text-center emd-rating-block">
<div class="small text-bold">Was this information helpful?</div>
{my_rating}
</div>
View Alphabetical searches for Employee Directory Pro
<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>
View allow or disallow file types
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 Apr 27, 2017
How to turn on debugging in WordPress
View gist:8ad67ef0a864e892417046cc721b302a
// 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 Mar 14, 2017
How to display in the circle grid view in random order in Employee Spotlight Pro WordPress plugin
View gist:89d5a5b3ce5e27fc5457bc2198deead2
[employee_circle_grid filter="misc::orderby::is::rand;"]
@emarket-design
emarket-design / THIS PAGE WAS CREATED USING THE FOLLOWING MARKUP
Last active Apr 7, 2017
Knowledge Center Pro WordPress Plugin Demo Home page was created using the following markup
View THIS 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 Jan 26, 2017
Reducing the org chart box size to accommodate large organizations in Employee Directory Pro WordPress plugin
View gist:97c59f369a57edd52385a5667b56837a
div.emd-container .orgchart .node {
width: 80px !important; \\ Adjust this based on your team's size
}
@emarket-design
emarket-design / gist:8af3995dc2c1f6757beb4e29f468d44e
Created Jan 10, 2017
How to show employees in the list grid format in alphabetical order by first name in Employee Spotlight WordPress plugin
View gist:8af3995dc2c1f6757beb4e29f468d44e
[employee_circle_grid filter="misc::order::is::ASC;misc::orderby::is::title;"]
@emarket-design
emarket-design / gist:923469dfb30dcac7e42e64030c84b803
Last active Oct 29, 2016
YouTube Showcase WordPress plugin demo site front page HTML
View gist:923469dfb30dcac7e42e64030c84b803
<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 Oct 14, 2016
WP Easy Events Pro WordPress Plugin - List of people attending Brickell Fashion Market Shopping Spree & Fashion Show
View gist:325b835d2e25ed89c19dc20b9c4bb8c9
[wpee_event_attendee filter="rel::event_attendee::is::23;"]