This file contains hidden or 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
/* #Media Queries | |
================================================== */ | |
/* Smaller than standard 960 (devices and browsers) */ | |
@media only screen and (max-width: 959px) {} | |
/* Tablet Portrait size to standard 960 (devices and browsers) */ | |
@media only screen and (min-width: 768px) and (max-width: 959px) {} |
This file contains hidden or 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
@font-face { | |
font-family: 'FontName'; | |
src: url('../fonts/FontName.eot'); | |
src: url('../fonts/FontName.eot?iefix') format('eot'), | |
url('../fonts/FontName.woff') format('woff'), | |
url('../fonts/FontName.ttf') format('truetype'), | |
url('../fonts/FontName.svg#webfontZam02nTh') format('svg'); | |
font-weight: normal; | |
font-style: normal; } |
This file contains hidden or 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
<div id="carousel" class="carousel slide" data-ride="carousel"> | |
<!-- Indicators --> | |
<ol class="carousel-indicators"> | |
<li data-target="#carousel" data-slide-to="0" class="active"></li> | |
<li data-target="#carousel" data-slide-to="1"></li> | |
<li data-target="#carousel" data-slide-to="2"></li> | |
</ol> | |
<!-- Wrapper for slides --> | |
<div class="carousel-inner" role="listbox"> |
This file contains hidden or 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
// Register Custom Navigation Walker | |
require_once('include/wp_bootstrap_navwalker.php'); | |
register_nav_menus( array( | |
'primary' => __( 'Primary Menu', 'tagaction' ), | |
) ); | |
This file contains hidden or 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 language_attributes(); ?> | |
<?php bloginfo( 'charset' ); ?> | |
<?php wp_title( string $sep = '»', bool $display = true, string $seplocation = '' ); ?> |
This file contains hidden or 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_posts()) : ?><?php while(have_posts()) : the_post(); ?> | |
<div class="post" id="post-<?php the_ID(); ?>"> | |
<div id="post-title" class="clearfix full"> | |
<h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2> | |
</div> <!-- end div .post-title --> | |
<div class="entry"> | |
<?php the_content(); ?> |
This file contains hidden or 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 | |
global $post; | |
$args = array( 'posts_per_page' => 10, 'post_type'=> 'custom-post-type', 'orderby' => 'menu_order', 'order' => 'ASC' ); | |
$myposts = get_posts( $args ); | |
foreach( $myposts as $post ) : setup_postdata($post); ?> | |
<?php | |
$service_icon= get_post_meta($post->ID, 'service-icon', true); | |
?> |
This file contains hidden or 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
iframe{ | |
border:none; | |
} | |
.video-container, | |
.map-container, | |
.embed-container { | |
position: relative; | |
margin: 0 0 15px 0; | |
padding-bottom: 51%; |
This file contains hidden or 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
function slider_custom_post(){ | |
register_post_type( 'slider-items', | |
array( | |
'labels' => array( | |
'name' => __( 'Sliders' ), | |
'singular_name' => __( 'Slide' ), | |
'add_new' => __('Add New', 'Slide'), | |
'add_new_item' => __('Add New Slide'), |
This file contains hidden or 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
<form action="#" method="post"> | |
<div class="row"> | |
<div class="col-md-6"> | |
<div class="form-group"> | |
<label for="name">Name:</label> | |
<input type="text" class="form-control" name="name" placeholder="Jane Doe"> | |
</div> | |
</div> | |
<div class="col-md-6"> | |
<div class="form-group"> |
OlderNewer