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
//Bread crumbs created | |
function wordpress_breadcrumbs() { | |
$delimiter = '|'; | |
$currentBefore = '<span class="current">'; | |
$currentAfter = '</span>'; | |
if ( !is_home() && !is_front_page() || is_paged() ) { | |
echo '<div id="crumbs">'; | |
global $post; | |
if ( is_page() && !$post->post_parent ) { | |
echo $currentBefore; |
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_posts()) : while (have_posts()) : the_post(); ?> | |
<?php endwhile; else: ?> | |
<p>There are no posts or page here</p> | |
<?php endif; ?> |
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 get_header(); ?> | |
<?php if (have_posts() ) : while ( have_posts() ) : the_post(); ?> | |
<h3><?php the_title(); ?></h3> | |
<?php the_content( ); ?> | |
<hr> | |
<?php endwhile; else: ?> |
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
jQuery(document.ready(function($)) { | |
$('flexslider').flexslider(); | |
} |
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
function jqUpdateSize(){ | |
// Get the dimensions of the viewport | |
var width = jQuery(window).width(); | |
var height = jQuery(window).height(); | |
// jQuery('#jqWidth').html(width); // Display the width | |
jQuery('.bodywrapper').css('height',height-45); // Set the height | |
}; | |
jQuery(document).ready(jqUpdateSize); // When the page first loads | |
jQuery(window).resize(jqUpdateSize); // When the browser changes size |
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
//* Remove the header right widget area in functions.php | |
unregister_sidebar( 'header-right' ); | |
css: | |
.header-image .title-area, .header-image .site-title, .header-image .site-title a, .header-image .site-header .wrap .title-area { | |
float:none; | |
margin: 0 auto; | |
} |
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
add_action( 'wp_enqueue_scripts', 'enqueue_dev_style' ); | |
/** | |
* Enqueue development css file which will be in uploads > themes > dynamik/gen root folder. | |
*/ | |
function enqueue_dev_style() | |
{ | |
wp_enqueue_script( 'dev', dynamik_get_stylesheet_location( 'url' ) . 'dev.js', array( 'jquery' ), CHILD_THEME_VERSION, true ); | |
wp_enqueue_style( 'dev', dynamik_get_stylesheet_location( 'url' ) . 'dev.css', CHILD_THEME_VERSION, true ); | |
} |
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
.morph1 { | |
background: url(/wp-content/uploads/2014/01/but-webdesign-01.png); | |
-webkit-transition: all 0.5s ease; | |
-moz-transition: all 0.5s ease; | |
-o-transition: all 0.5s ease; | |
-ms-transition: all 0.5s ease; | |
transition: all 0.5s ease; | |
} | |
.morph1:hover { |
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
.sidebar .widget-title:before { | |
border-bottom: 15px solid #005D87; | |
border-left: 20px solid rgba(0, 0, 0, 0); | |
content: ""; | |
display: block; | |
height: 0; | |
left: 0; | |
position: absolute; | |
top: -15px; | |
width: 0; |
OlderNewer