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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<!-- Bootstrap CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> |
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 method="post" action="/" id="form" class="validate"> | |
<div class="form-field"> | |
<label for="full-name">Full Name</label> | |
<input type="text" name="full-name" id="full-name" placeholder="Joe Bloggs" required /> | |
</div> | |
<div class="form-field"> | |
<label for="email-input">Email</label> | |
<input type="email" name="email-input" id="email-input" placeholder="example@domain.com" required /> | |
</div> | |
<div class="form-field"> |
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"> |
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
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
<?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
<?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 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
// 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
<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"> |
NewerOlder