Skip to content

Instantly share code, notes, and snippets.

gokulkrishh / media-query.css
Last active May 31, 2023 14:59
CSS Media Queries for Desktop, Tablet, Mobile.
View media-query.css
##Device = Desktops
##Screen = 1281px to higher resolution desktops
@media (min-width: 1281px) {
/* CSS */
andrewlimaza / example_pmpro_has_membership.php
Created December 20, 2016 13:59
Example of pmpro_hasMembershipLevel() usage
View example_pmpro_has_membership.php
//You may either create a function or place this code in a custom page template.
//Find more here ->
if( is_user_logged_in() ){
if( pmpro_hasMembershipLevel( 'silver' ) ){
//show this for 'silver level'