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
/* change class to theme name initials - slider. change color to primary or secondary? | |
*/ | |
.tf-slider { | |
display: flex; | |
align-items: center; | |
text-align: center; | |
&__circle-border { | |
border: 2px solid $primary; | |
border-radius: 46px; |
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 | |
/** | |
* Template part for displaying page content in page-top-level-listing.php | |
*/ | |
?> | |
<article id="post-<?php the_ID(); ?>" <?php post_class( '' ); ?> role="article" itemscope | |
itemtype="http://schema.org/WebPage"> | |
<?php get_template_part('parts/breadcrumbs'); ?> | |
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 | |
// just the listing part | |
$args = array( | |
'post_type' => 'case-study', | |
'posts_per_page' => - 1, | |
'order' => 'ASC', | |
'orderby' => 'menu_order' | |
); |
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
// Register testimonials | |
function custom_testimonials() { | |
$labels = array( | |
'name' => _x( 'Testimonials', 'Post Type General Name', 'text_domain' ), | |
'singular_name' => _x( 'Testimonial', 'Post Type Singular Name', 'text_domain' ), | |
'menu_name' => __( 'Testimonials', 'text_domain' ), | |
'name_admin_bar' => __( 'Testimonials', 'text_domain' ), | |
'archives' => __( 'Testimonial Archives', 'text_domain' ), |
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
// Register Custom Post Type | |
function custom_news_events() { | |
$labels = array( | |
'name' => _x( 'News & Events', 'Post Type General Name', 'news_events_text_domain' ), | |
'singular_name' => _x( 'News/Event', 'Post Type Singular Name', 'news_events_text_domain' ), | |
'menu_name' => __( 'News & Events', 'news_events_text_domain' ), | |
'name_admin_bar' => __( 'News & Events', 'news_events_text_domain' ), | |
'archives' => __( 'News & Event Archives', 'news_events_text_domain' ), |
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
// Register Custom Post Type | |
function news_detail() { | |
$labels = array( | |
'name' => _x( 'News & Events', 'Post Type General Name', 'text_domain' ), | |
'singular_name' => _x( 'News & Events', 'Post Type Singular Name', 'text_domain' ), | |
'menu_name' => __( 'News & Events', 'text_domain' ), | |
'name_admin_bar' => __( 'News & Events', 'text_domain' ), |
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
// Register Custom Post Type | |
function case_study() { | |
$labels = array( | |
'name' => _x( 'Case Studies', 'Post Type General Name', 'text_domain' ), | |
'singular_name' => _x( 'Case Study', 'Post Type Singular Name', 'text_domain' ), | |
'menu_name' => __( 'Case Studies', 'text_domain' ), | |
'name_admin_bar' => __( 'Case Study', 'text_domain' ), | |
'archives' => __( 'Case Studies', 'text_domain' ), | |
'attributes' => __( 'Item Attributes', 'text_domain' ), |
OlderNewer