- 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
- Compass - Open source CSS Authoring Framework.
- Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
- Font Awesome - The iconic font designed for Bootstrap.
- Zurb Foundation - Framework for writing responsive web sites.
- SASS - CSS extension language which allows variables, mixins and rules nesting.
- Skeleton - Boilerplate for responsive, mobile-friendly development.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo str_replace('.pdf"', '.pdf" target="_blank"', get_the_content()); | |
//may have a parameter in the get_the_content function. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//pages and media library pages | |
function hide_posts_media_by_other($query) { | |
global $pagenow; | |
if( ( 'edit.php' != $pagenow && 'upload.php' != $pagenow ) || !$query->is_admin ){ | |
return $query; | |
} | |
if( !current_user_can( 'manage_options' ) ) { | |
global $user_ID; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Remove inactive shortcodes | |
* | |
* Make sure inactive shortcodes don't leave their junk in the content. | |
* We are striping their tags, leaving content as is. This function is attached to | |
* 'the_content' filter hook. | |
* | |
* @global $shortcode_tags Associative array of all active shortcodes. | |
* [key] => value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$image = get_field('image'); // assigns the image field to the variable of $image | |
if( !empty($image) ){ ?> <!-- if the $image variable isn't empty, display the following: --> | |
<img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" /> <!--displays the URL for the image variable and also the alt tag which is entered in the WordPress media library--> | |
<?php }; ?> <!--ends the if statement --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if (have_rows('ad_page')) { ?> | |
<?php while (have_rows('ad_page')) { | |
the_row(); | |
?> | |
<h2><?php the_sub_field('page_title'); ?></h2> | |
<h3><?php the_sub_field('page_description'); ?></h3> | |
<?php the_sub_field('page_content'); ?> | |
<?php $carousel = get_sub_field('do_you_want_a_carousel'); | |
//this section has been added if you want a carousel to display, and verbiage to display if none is set |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.hide-bullets { | |
list-style:none; | |
margin-left: -40px; | |
margin-top:20px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteCond %{HTTP_REFERER} ^http://.*backgroundpictures\.net/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*embedle\.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*extener\.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*fbfreegifts\.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*feedouble\.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*feedouble\.net/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*joinandplay\.me/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*joingames\.org/ [NC,OR] |
OlderNewer