Skip to content

Instantly share code, notes, and snippets.

Avatar

eMarket Design emarket-design

View GitHub Profile
@emarket-design
emarket-design / gist:3d459f84615d7ae40948917546f77746
Last active Jul 12, 2021
Display the QR code of an event ticket on your email notifications
View gist:3d459f84615d7ae40948917546f77746
<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
Display HR Department - Employee Spotlight WordPress plugin
View gist:33aa5a2f9c8d36b0181c5db105e1b5f9
[employee_circle_grid filter="tax::groups::is::human-resources;"]
@emarket-design
emarket-design / gist:faa6f6933a7741ee284f71d79262fd59
Created May 19, 2021
Display This Week's Birthdays - Employee Spotlight WordPress plugin
View gist:faa6f6933a7741ee284f71d79262fd59
[employee_circle_grid filter="attr::emd_employee_birthday::is::current_week;"]
@emarket-design
emarket-design / gist:5206abc15a3e73df62b6e1371fca3b7a
Created May 19, 2021
Display Recent Hires - Employee Spotlight WordPress plugin
View gist:5206abc15a3e73df62b6e1371fca3b7a
[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
Display Employee of the Month - Employee Spotlight
View gist:173e686ecce7ac5cdd209d1cf7df8af8
[employee_circle_grid filter="attr::emd_employee_featured::is::1;"]
@emarket-design
emarket-design / one column aniversary
Created Feb 1, 2019
create a one-column anniversary view
View one column aniversary
<style>
#onecolumn .row{
flex-direction: column !important;
}
</style>
<div id="onecolumn" style="padding:40px 0">
[std_anniversary filter="tax::departments::is::executive;"]
</div>
View gist:88d5c49ecc2b1fdc7b4fd178ecd59725
!#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 Aug 23, 2018
Datagrid tag function can be used to create advanced tabular displays without introducing complexity in entity or widget views
View gist:2a5b50cd0c957e218b12599a7aa78568
!#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]#
View gist:7d070139a36062d6068a71e8fda0ae37
.row.display-flex {
display: flex;
flex-wrap: wrap;
}
.row.display-flex > [class*='col-'] {
display: flex;
flex-direction: column;
}
View Knowledge Center Enterprise WordPress Plugin rating css
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{