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
FUNCTIONS.PHP | |
/*============================================= | |
= ACF OPTIONS PAGE CODE = | |
=============================================*/ | |
if( function_exists('acf_add_options_page') ) { | |
$option_page = acf_add_options_page(array( | |
'icon_url' => 'dashicons-chart-line', |
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
<section id="drasi-home-video-block" class="container-fluid"> | |
<main class="container"> | |
<figure class="col-sm-12 col-md-12 col-12"> | |
<div class="embed-responsive embed-responsive-16by9"> | |
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/oH_LfXnklRw?wmode=opaque&autoplay=1&loop=1&controls=1&showinfo=0&rel=0"></iframe> |
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
<article class="text-content"> | |
<?php | |
$cur_u_id = get_current_user_id(); | |
$usr_info = get_userdata( $cur_u_id ); | |
$user_name = $usr_info->display_name; | |
$join_date = $usr_info->user_registered; |
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 | |
$cur_u_id = get_current_user_id(); | |
echo "Current User ID: " . $cur_u_id; | |
// print_r(get_userdata( $cur_u_id )); | |
// echo get_avatar_url( $cur_u_id ); | |
?> | |
<figure class="col-md-push-9 col-lg-push-9"> |
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
<section id="Title-Container" class=""> | |
<div id="primary" class="container content-area col-sm-12 col-md-12 col-lg-12"> | |
<main id="main" class="site-main" role="main"> | |
<?php | |
while ( have_posts() ) : the_post(); | |
get_template_part( 'template-parts/content', 'contact' ); |
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
================ | |
HTML | |
================ | |
<section id="speaker-page-block-4"> | |
<div class="content-wrapper"> | |
<div class="container"> | |
<div class="col-md-12"> | |
<article class="right-text"> | |
<h2><span class="lovely">WHAT PEOPLE ARE SAYING ...</span></h2> | |
<article id="testimonial-slider"> |
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
<section id="block-2" class="block-2"> | |
<figure class="video-container"> | |
<video autoplay loop muted poster="img/second-section.jpg" id="second-section-video"> | |
<source src="/wp-content/uploads/2016/06/video-20.webm" type="video/webm"> | |
<source src="/wp-content/uploads/2016/06/video-20.mp4" type="video/mp4"> | |
</video> | |
<!-- <h3>Featured Poems</h3> --> | |
<div class="text-content text-center featured-poem-1"> | |
<p style="text-align: center;">You are in the right place <br> | |
if you’re ready to break through the blocks<br> |
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
/** | |
* | |
* Adding data attributes to Menu bar item ID menu-item-2912 | |
* Use only the number at the end. | |
* | |
*/ | |
add_filter( 'nav_menu_link_attributes', 'my_menu_atts', 10, 3 ); | |
function my_menu_atts( $atts, $item, $args ) | |
{ |
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 $page_header_image = get_field( 'page_header_image' ); ?> | |
<header id="front-pg-header"> | |
<?php if ( is_home() || is_single() || is_archive() || is_search() ) : ?> | |
<!-- <img class="img-responsive" src="http://tiana/wp-content/uploads/2016/01/tiana-header-img-1-noise-light-2.jpg" alt="tiana img"> --> | |
<!-- <img class="img-responsive" src="<?php echo $front_header_image; ?>" alt="tiana img"> --> | |
<?php //echo do_shortcode( '[layerslider id="1"]' ); ?> | |
<?php layerslider(2); ?> |
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
<section class="container-fluid"> | |
<div class="row"> | |
<article class="col-md-moose"> | |
<div id="grid-filter"> | |
<select class="form-control"> |