Skip to content

Instantly share code, notes, and snippets.

View emarket-design's full-sized avatar

eMarket Design emarket-design

View GitHub Profile
@emarket-design
emarket-design / gist:3d459f84615d7ae40948917546f77746
Last active July 12, 2021 18:39
Display the QR code of an event ticket on your email notifications
<img style="width:100%;height:auto" src="https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl=YOURSITE-COM?wpee_pro_qr_code=1&ticket_id={emd_attendee_ticket_id}&choe=UTF-8">
@emarket-design
emarket-design / gist:33aa5a2f9c8d36b0181c5db105e1b5f9
Created May 19, 2021 17:10
Display HR Department - Employee Spotlight WordPress plugin
[employee_circle_grid filter="tax::groups::is::human-resources;"]
@emarket-design
emarket-design / gist:faa6f6933a7741ee284f71d79262fd59
Created May 19, 2021 17:09
Display This Week's Birthdays - Employee Spotlight WordPress plugin
[employee_circle_grid filter="attr::emd_employee_birthday::is::current_week;"]
@emarket-design
emarket-design / gist:5206abc15a3e73df62b6e1371fca3b7a
Created May 19, 2021 17:08
Display Recent Hires - Employee Spotlight WordPress plugin
[employee_circle_grid filter="misc::posts_per_page::is::4;misc::has_pages::is::false;misc::orderby::is::date;misc::order::is::DESC;"]
@emarket-design
emarket-design / gist:173e686ecce7ac5cdd209d1cf7df8af8
Created May 19, 2021 17:05
Display Employee of the Month - Employee Spotlight
[employee_circle_grid filter="attr::emd_employee_featured::is::1;"]
@emarket-design
emarket-design / one column aniversary
Created February 1, 2019 17:33
create a one-column anniversary view
<style>
#onecolumn .row{
flex-direction: column !important;
}
</style>
<div id="onecolumn" style="padding:40px 0">
[std_anniversary filter="tax::departments::is::executive;"]
</div>
@emarket-design
emarket-design / gist:88d5c49ecc2b1fdc7b4fd178ecd59725
Last active August 23, 2018 19:11
datagrid tag function example
!#datagrid['tablerel2174','!#title#;!#featured_img#;!#ent_employee_email#;!#ent_employee_phone#;!#ent_employee_extension#;!#ent_employee_mobile#;!#tax_jobtitles#;!#entrelcon_from_manager#;!#entrelcon_from_executive_assistant#;!#entrelcon_employees_locations#;!#entrelcon_employees_departments#','Employee;Photo;Email;Phone;Extension;Mobile;Job Title;Manager;Assistant;Location;Department','R','emd_employee','!#entrelcon_to_manager#','connected','',1]#
@emarket-design
emarket-design / gist:2a5b50cd0c957e218b12599a7aa78568
Last active August 23, 2018 18:36
Datagrid tag function can be used to create advanced tabular displays without introducing complexity in entity or widget views
!#datagrid['Unique Name','Default Attr List seperated by semicolon','Default Attr Labels seperated by semicolon','Grid Type','Entity Name','Relationship Name','Relationship Type','Create New Entity with Relationship Form Name',Create Relationship]#
@emarket-design
emarket-design / gist:7d070139a36062d6068a71e8fda0ae37
Created October 25, 2017 15:43
Flexbox approach to equal heights
.row.display-flex {
display: flex;
flex-wrap: wrap;
}
.row.display-flex > [class*='col-'] {
display: flex;
flex-direction: column;
}
div.emd-ratings img{
width: 30%;
padding: 3px;
height: 30px;
}
div.emd-container .section-rating div.row > div.col-sm-6{
width:100%;
}
div.emd-container .section-rating div.row > div.col-sm-6 > div[class$="-rating"] > div{