Version Description
(Released: July 05, 2018) = * Added: Default featured-image-size * Bug fixed: settings_page function found * Changed: function name changed to settings_page * Updated: Html structure
Download this release
Release Info
Developer | catchthemes |
Plugin | Essential Content Types |
Version | 1.3 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.3
- README.txt +8 -2
- admin/class-essential-content-types-admin.php +2 -2
- admin/class-featured-content.php +139 -134
- admin/class-food-menu.php +101 -51
- admin/class-portfolio.php +134 -129
- admin/class-service.php +137 -129
- admin/class-testimonial.php +276 -109
- admin/css/admin-dashboard.css +2 -1
- admin/css/essential-content-types-admin.css +0 -4
- admin/css/featured-content-shortcode.css +312 -92
- admin/css/food-menu-shortcode.css +103 -84
- admin/css/portfolio-shortcode.css +312 -92
- admin/css/service-shortcode.css +312 -92
- admin/css/testimonial-shortcode.css +221 -69
- admin/js/food-menu-shortcode.js +44 -0
- admin/js/jquery.cycle/jquery.cycle2.flip.min.js +2 -0
- admin/js/jquery.cycle/jquery.cycle2.js.map +1 -0
- admin/js/jquery.cycle/jquery.cycle2.min.js +16 -0
- admin/js/jquery.cycle/jquery.cycle2.scrollVert.min.js +2 -0
- admin/js/jquery.cycle/jquery.cycle2.shuffle.min.js +2 -0
- admin/js/jquery.cycle/jquery.cycle2.tile.min.js +2 -0
- admin/partials/dashboard-display.php +24 -21
- admin/partials/essential-content-types-admin-display.php +76 -8
- admin/partials/sidebar.php +2 -0
- ect-templates/content-featured-content.php +52 -0
- ect-templates/content-menu.php +26 -0
- ect-templates/content-portfolio.php +49 -0
- ect-templates/content-service.php +54 -0
- ect-templates/content-testimonial.php +33 -0
- ect-templates/ect-menu.php +107 -0
- essential-content-types.php +97 -1
- includes/class-essential-content-types-activator.php +7 -1
- includes/class-essential-content-types.php +1 -1
- languages/essential-content-types.pot +134 -102
README.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: catchplugins, catchthemes, sakinshrestha, pratikshrestha, maheshma
|
|
3 |
Donate link: https://catchplugins.com/plugins/essential-content-types-pro/
|
4 |
Tags: custom post types, CPT, CMS, post, types, post type, taxonomy, tax, custom, content types, post types, custom content types, testimonial, portfolio, featured content, service
|
5 |
Requires at least: 4.5
|
6 |
-
Tested up to: 4.9.
|
7 |
Stable tag: trunk
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -195,8 +195,14 @@ Not so easy way (via FTP) :
|
|
195 |
|
196 |
== Changelog ==
|
197 |
|
|
|
|
|
|
|
|
|
|
|
|
|
198 |
= 1.2 (Released: May 07, 2018) =
|
199 |
-
*
|
200 |
* Compatibility check up to version 4.9.5
|
201 |
|
202 |
= 1.1 =
|
3 |
Donate link: https://catchplugins.com/plugins/essential-content-types-pro/
|
4 |
Tags: custom post types, CPT, CMS, post, types, post type, taxonomy, tax, custom, content types, post types, custom content types, testimonial, portfolio, featured content, service
|
5 |
Requires at least: 4.5
|
6 |
+
Tested up to: 4.9.6
|
7 |
Stable tag: trunk
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
195 |
|
196 |
== Changelog ==
|
197 |
|
198 |
+
= 1.3 (Released: July 05, 2018) =
|
199 |
+
* Added: Default featured-image-size
|
200 |
+
* Bug fixed: settings_page function found
|
201 |
+
* Changed: function name changed to settings_page
|
202 |
+
* Updated: Html structure
|
203 |
+
|
204 |
= 1.2 (Released: May 07, 2018) =
|
205 |
+
* Updated: Moved domain from catchthemes.com to catchplugins.com
|
206 |
* Compatibility check up to version 4.9.5
|
207 |
|
208 |
= 1.1 =
|
admin/class-essential-content-types-admin.php
CHANGED
@@ -194,7 +194,7 @@ class Essential_Content_Types_Admin {
|
|
194 |
esc_html__( 'Essential Content Types', 'essential-content-types' ), //$menu_title
|
195 |
'manage_options', //$capability
|
196 |
'essential-content-types', //$menu_slug
|
197 |
-
array( $this, '
|
198 |
'dashicons-layout', //$icon_url
|
199 |
'99.01564' //$position
|
200 |
);
|
@@ -203,7 +203,7 @@ class Essential_Content_Types_Admin {
|
|
203 |
/**
|
204 |
* Dashboard Page include
|
205 |
*/
|
206 |
-
function
|
207 |
if ( !current_user_can( 'manage_options' ) ) {
|
208 |
wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
|
209 |
}
|
194 |
esc_html__( 'Essential Content Types', 'essential-content-types' ), //$menu_title
|
195 |
'manage_options', //$capability
|
196 |
'essential-content-types', //$menu_slug
|
197 |
+
array( $this, 'settings_page' ), //$function
|
198 |
'dashicons-layout', //$icon_url
|
199 |
'99.01564' //$position
|
200 |
);
|
203 |
/**
|
204 |
* Dashboard Page include
|
205 |
*/
|
206 |
+
function settings_page() {
|
207 |
if ( !current_user_can( 'manage_options' ) ) {
|
208 |
wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
|
209 |
}
|
admin/class-featured-content.php
CHANGED
@@ -390,7 +390,12 @@ class Essential_Content_Featured_Content {
|
|
390 |
$atts['include_tag'] = explode( ',', str_replace( ' ', '', $atts['include_tag'] ) );
|
391 |
}
|
392 |
|
393 |
-
|
|
|
|
|
|
|
|
|
|
|
394 |
|
395 |
$atts['showposts'] = intval( $atts['showposts'] );
|
396 |
|
@@ -476,7 +481,7 @@ class Essential_Content_Featured_Content {
|
|
476 |
return $query;
|
477 |
}
|
478 |
|
479 |
-
|
480 |
* The Featured Content shortcode loop.
|
481 |
*
|
482 |
* @todo add theme color styles
|
@@ -485,137 +490,58 @@ class Essential_Content_Featured_Content {
|
|
485 |
static function featured_content_shortcode_html( $atts ) {
|
486 |
|
487 |
$query = self::featured_content_query( $atts );
|
488 |
-
$featured_content_index_number = 0;
|
489 |
|
490 |
ob_start();
|
491 |
|
492 |
// If we have posts, create the html
|
493 |
-
// with
|
494 |
if ( $query->have_posts() ) {
|
495 |
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
// Construct the loop...
|
504 |
-
while ( $query->have_posts() ) {
|
505 |
-
$query->the_post();
|
506 |
-
$post_id = get_the_ID();
|
507 |
-
?>
|
508 |
-
<div class="featured-content-entry <?php echo esc_attr( self::get_content_class( $featured_content_index_number, $atts['columns'] ) ); ?>">
|
509 |
-
<header class="featured-content-entry-header">
|
510 |
-
<?php
|
511 |
-
// Featured image
|
512 |
-
if ( false != $atts['image'] ) {
|
513 |
-
echo self::get_featured_content_thumbnail_link( $post_id );
|
514 |
-
}
|
515 |
-
?>
|
516 |
-
|
517 |
-
<h2 class="featured-content-entry-title"><a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo esc_attr( the_title_attribute( ) ); ?>"><?php the_title(); ?></a></h2>
|
518 |
-
|
519 |
-
<div class="featured-content-entry-meta">
|
520 |
-
<?php
|
521 |
-
if ( false != $atts['display_types'] ) {
|
522 |
-
echo self::get_content_type( $post_id );
|
523 |
-
}
|
524 |
-
|
525 |
-
if ( false != $atts['display_tags'] ) {
|
526 |
-
echo self::get_content_tags( $post_id );
|
527 |
-
}
|
528 |
-
|
529 |
-
if ( false != $atts['display_author'] ) {
|
530 |
-
echo self::get_content_author( $post_id );
|
531 |
-
}
|
532 |
-
?>
|
533 |
-
</div>
|
534 |
-
|
535 |
-
</header>
|
536 |
-
|
537 |
-
<?php
|
538 |
-
// The content
|
539 |
-
if ( false !== $atts['display_content'] ) {
|
540 |
-
if ( 'full' === $atts['display_content'] ) {
|
541 |
-
?>
|
542 |
-
<div class="featured-content-entry-content"><?php the_content(); ?></div>
|
543 |
-
<?php
|
544 |
-
} else {
|
545 |
-
?>
|
546 |
-
<div class="featured-content-entry-content"><?php the_excerpt(); ?></div>
|
547 |
-
<?php
|
548 |
-
}
|
549 |
-
}
|
550 |
-
?>
|
551 |
-
</div><!-- close .featured-content-entry -->
|
552 |
-
<?php $featured_content_index_number++;
|
553 |
-
} // end of while loop
|
554 |
|
555 |
-
wp_reset_postdata();
|
556 |
?>
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
562 |
}
|
|
|
563 |
$html = ob_get_clean();
|
564 |
|
565 |
-
// If there is a [
|
566 |
-
if ( has_shortcode( $html, '
|
567 |
-
remove_shortcode( '
|
568 |
}
|
569 |
|
570 |
// Return the HTML block
|
571 |
return $html;
|
572 |
}
|
573 |
|
574 |
-
/**
|
575 |
-
* Individual content class
|
576 |
-
*
|
577 |
-
* @return string
|
578 |
-
*/
|
579 |
-
static function get_content_class( $featured_content_index_number, $columns ) {
|
580 |
-
$content_types = wp_get_object_terms( get_the_ID(), self::CUSTOM_TAXONOMY_TYPE, array( 'fields' => 'slugs' ) );
|
581 |
-
$class = array();
|
582 |
-
|
583 |
-
$class[] = 'featured-content-entry-column-'.$columns;
|
584 |
-
// add a type- class for each content type
|
585 |
-
foreach ( $content_types as $content_type ) {
|
586 |
-
$class[] = 'type-' . esc_html( $content_type );
|
587 |
-
}
|
588 |
-
if( $columns > 1) {
|
589 |
-
if ( ( $featured_content_index_number % 2 ) == 0 ) {
|
590 |
-
$class[] = 'featured-content-entry-mobile-first-item-row';
|
591 |
-
} else {
|
592 |
-
$class[] = 'featured-content-entry-mobile-last-item-row';
|
593 |
-
}
|
594 |
-
}
|
595 |
-
|
596 |
-
// add first and last classes to first and last items in a row
|
597 |
-
if ( ( $featured_content_index_number % $columns ) == 0 ) {
|
598 |
-
$class[] = 'featured-content-entry-first-item-row';
|
599 |
-
} elseif ( ( $featured_content_index_number % $columns ) == ( $columns - 1 ) ) {
|
600 |
-
$class[] = 'featured-content-entry-last-item-row';
|
601 |
-
}
|
602 |
-
|
603 |
-
|
604 |
-
/**
|
605 |
-
* Filter the class applied to content div in the featured_content
|
606 |
-
*
|
607 |
-
* @module custom-content-types
|
608 |
-
*
|
609 |
-
* @since 3.1.0
|
610 |
-
*
|
611 |
-
* @param string $class class name of the div.
|
612 |
-
* @param int $featured_content_index_number iterator count the number of columns up starting from 0.
|
613 |
-
* @param int $columns number of columns to display the content in.
|
614 |
-
*
|
615 |
-
*/
|
616 |
-
return apply_filters( 'featured-content-content-post-class', implode( " ", $class ) , $featured_content_index_number, $columns );
|
617 |
-
}
|
618 |
-
|
619 |
/**
|
620 |
* Displays the content type that a content belongs to.
|
621 |
*
|
@@ -694,25 +620,104 @@ class Essential_Content_Featured_Content {
|
|
694 |
|
695 |
return $html;
|
696 |
}
|
|
|
|
|
697 |
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
-
|
|
|
|
|
702 |
*/
|
703 |
-
|
704 |
-
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
-
|
713 |
-
|
714 |
-
|
715 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
716 |
}
|
717 |
}
|
718 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
390 |
$atts['include_tag'] = explode( ',', str_replace( ' ', '', $atts['include_tag'] ) );
|
391 |
}
|
392 |
|
393 |
+
// Check if column value is set to valid numbers or else set default value as 2
|
394 |
+
if( 1 <= $atts['columns'] && 6 >= $atts['columns'] ) {
|
395 |
+
$atts['columns'] = absint( $atts['columns'] );
|
396 |
+
} else {
|
397 |
+
$atts['columns'] = 2;
|
398 |
+
}
|
399 |
|
400 |
$atts['showposts'] = intval( $atts['showposts'] );
|
401 |
|
481 |
return $query;
|
482 |
}
|
483 |
|
484 |
+
/**
|
485 |
* The Featured Content shortcode loop.
|
486 |
*
|
487 |
* @todo add theme color styles
|
490 |
static function featured_content_shortcode_html( $atts ) {
|
491 |
|
492 |
$query = self::featured_content_query( $atts );
|
|
|
493 |
|
494 |
ob_start();
|
495 |
|
496 |
// If we have posts, create the html
|
497 |
+
// with featured-content markup
|
498 |
if ( $query->have_posts() ) {
|
499 |
|
500 |
+
/**
|
501 |
+
* Hook: ect_before_featured_content_loop.
|
502 |
+
*
|
503 |
+
* @hooked ect_featured_content_section_open
|
504 |
+
*/
|
505 |
+
$layout = ect_get_layout();
|
506 |
+
do_action( 'ect_before_featured_content_loop', $layout[$atts['columns']] );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
507 |
|
|
|
508 |
?>
|
509 |
+
<?php
|
510 |
+
while ( $query->have_posts() ) {
|
511 |
+
$query->the_post();
|
512 |
+
ect_get_template_part( 'content', 'featured-content', $atts );
|
513 |
+
}
|
514 |
+
wp_reset_postdata();
|
515 |
+
?>
|
516 |
+
<?php
|
517 |
+
|
518 |
+
/**
|
519 |
+
* Hook: ect_after_featured_content_loop.
|
520 |
+
*
|
521 |
+
* @hooked essential_content_pro_featured_content_section_close
|
522 |
+
*/
|
523 |
+
do_action( 'ect_after_featured_content_loop' );
|
524 |
+
|
525 |
+
} else {
|
526 |
+
/**
|
527 |
+
* Hook: ect_no_articles_found.
|
528 |
+
*
|
529 |
+
* @hooked ect_no_articles_found
|
530 |
+
*/
|
531 |
+
do_action( 'ect_no_featured_content_found' );
|
532 |
}
|
533 |
+
|
534 |
$html = ob_get_clean();
|
535 |
|
536 |
+
// If there is a [featured-content] within a [featured-content], remove the shortcode
|
537 |
+
if ( has_shortcode( $html, 'featured-content' ) ){
|
538 |
+
remove_shortcode( 'featured-content' );
|
539 |
}
|
540 |
|
541 |
// Return the HTML block
|
542 |
return $html;
|
543 |
}
|
544 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
545 |
/**
|
546 |
* Displays the content type that a content belongs to.
|
547 |
*
|
620 |
|
621 |
return $html;
|
622 |
}
|
623 |
+
}
|
624 |
+
add_action( 'init', array( 'Essential_Content_Featured_Content', 'init' ) );
|
625 |
|
626 |
+
/**
|
627 |
+
* Add Featured Content support
|
628 |
+
*/
|
629 |
+
function essential_content_featured_content_support() {
|
630 |
+
/*
|
631 |
+
* Adding theme support for Jetpack Featured Content CPT.
|
632 |
*/
|
633 |
+
add_image_size( 'ect-featured-content', 640, 640, true );
|
634 |
+
}
|
635 |
+
add_action( 'after_setup_theme', 'essential_content_featured_content_support' );
|
636 |
+
|
637 |
+
|
638 |
+
if( ! function_exists( 'essential_content_get_featured_content_thumbnail_link' ) ):
|
639 |
+
/**
|
640 |
+
* Display the featured image if it's available
|
641 |
+
*
|
642 |
+
* @return html
|
643 |
+
*/
|
644 |
+
function essential_content_get_featured_content_thumbnail_link( $post_id, $size ) {
|
645 |
+
if ( has_post_thumbnail( $post_id ) ) {
|
646 |
+
/**
|
647 |
+
* Change the Featured Content thumbnail size.
|
648 |
+
*
|
649 |
+
* @module custom-content-types
|
650 |
+
*
|
651 |
+
* @since 3.4.0
|
652 |
+
*
|
653 |
+
* @param string|array $var Either a registered size keyword or size array.
|
654 |
+
*/
|
655 |
+
return '<a class="featured-content-featured-image" href="' . esc_url( get_permalink( $post_id ) ) . '">' . get_the_post_thumbnail( $post_id, apply_filters( 'featured_content_thumbnail_size', $size ) ) . '</a>';
|
656 |
}
|
657 |
}
|
658 |
+
endif;
|
659 |
+
|
660 |
+
|
661 |
+
if( ! function_exists('essential_content_no_featured_content_found') ):
|
662 |
+
/**
|
663 |
+
* No items found text
|
664 |
+
*
|
665 |
+
* @return html
|
666 |
+
*/
|
667 |
+
function essential_content_no_featured_content_found(){
|
668 |
+
echo "<p><em>" . esc_html__( 'Your Featured Content Archive currently has no entries. You can start creating them on your dashboard.', 'essential-content-types-pro' ) . "</em></p>";
|
669 |
+
}
|
670 |
+
add_action( 'ect_no_featured_content_found', 'essential_content_no_featured_content_found', 10 );
|
671 |
+
endif;
|
672 |
+
|
673 |
+
|
674 |
+
if( ! function_exists( 'essential_content_featured_content_section_open' ) ):
|
675 |
+
/**
|
676 |
+
* Open section
|
677 |
+
*
|
678 |
+
* @return html
|
679 |
+
*/
|
680 |
+
function essential_content_featured_content_section_open( $layout ) {
|
681 |
+
echo '<div class="ect-featured-content ect-section ' . $layout . '">';
|
682 |
+
echo '<div class="ect-wrapper">';
|
683 |
+
}
|
684 |
+
endif;
|
685 |
+
add_action( 'ect_before_featured_content_loop', 'essential_content_featured_content_section_open', 10, 1 );
|
686 |
+
|
687 |
+
|
688 |
+
if( ! function_exists( 'essential_content_featured_content_loop_start' ) ):
|
689 |
+
/**
|
690 |
+
* open wrapper before loop
|
691 |
+
*
|
692 |
+
*/
|
693 |
+
function essential_content_featured_content_loop_start( $layout = null ){
|
694 |
+
echo '<div class="section-content-wrapper featured-content-wrapper ' . $layout . '">';
|
695 |
+
}
|
696 |
+
endif;
|
697 |
+
add_action( 'ect_before_featured_content_loop', 'essential_content_featured_content_loop_start', 30 );
|
698 |
+
|
699 |
+
|
700 |
+
if( ! function_exists( 'ect_featured_content_loop_end' ) ):
|
701 |
+
/**
|
702 |
+
* close wrapper after loop
|
703 |
+
*
|
704 |
+
*/
|
705 |
+
function essential_content_featured_content_loop_end(){
|
706 |
+
echo '</div><!-- .featured-content-wrapper -->';
|
707 |
+
}
|
708 |
+
endif;
|
709 |
+
add_action( 'ect_after_featured_content_loop', 'essential_content_featured_content_loop_end', 10 );
|
710 |
+
|
711 |
+
|
712 |
+
if( ! function_exists( 'ect_featured_content_section_close' ) ):
|
713 |
+
/**
|
714 |
+
* Close section
|
715 |
+
*
|
716 |
+
* @return html
|
717 |
+
*/
|
718 |
+
function essential_content_featured_content_section_close() {
|
719 |
+
echo '</div><!-- .ect-wrapper -->';
|
720 |
+
echo '</div><!-- .ect-section -->';
|
721 |
+
}
|
722 |
+
endif;
|
723 |
+
add_action( 'ect_after_featured_content_loop', 'essential_content_featured_content_section_close', 20 );
|
admin/class-food-menu.php
CHANGED
@@ -1315,6 +1315,7 @@ class Essential_Content_Food_Menu {
|
|
1315 |
|
1316 |
// enqueue shortcode styles when shortcode is used
|
1317 |
wp_enqueue_style( 'ect-food-menu-style', plugins_url( 'css/food-menu-shortcode.css', __FILE__ ), array(), '20140326' );
|
|
|
1318 |
|
1319 |
return self::ect_food_shortcode_html( $atts );
|
1320 |
}
|
@@ -1367,68 +1368,52 @@ class Essential_Content_Food_Menu {
|
|
1367 |
/**
|
1368 |
* The Food Menu shortcode loop.
|
1369 |
*
|
1370 |
-
* @todo add theme color styles
|
1371 |
* @return html
|
1372 |
*/
|
1373 |
static function ect_food_shortcode_html( $atts ) {
|
1374 |
|
1375 |
$query = self::ect_food_query( $atts );
|
1376 |
-
$ect_food_index_number = 0;
|
1377 |
-
|
1378 |
ob_start();
|
1379 |
|
1380 |
// If we have posts, create the html
|
1381 |
-
// with
|
1382 |
if ( $query->have_posts() ) {
|
1383 |
-
|
1384 |
-
|
1385 |
-
|
1386 |
-
|
1387 |
-
|
1388 |
-
|
1389 |
-
|
1390 |
-
|
1391 |
-
|
1392 |
-
// Construct the loop...
|
1393 |
-
while ( $query->have_posts() ) {
|
1394 |
-
$query->the_post();
|
1395 |
-
$post_id = get_the_ID(); ?>
|
1396 |
-
<!-- Menu display template -->
|
1397 |
-
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
1398 |
-
<div class="hentry-inner">
|
1399 |
-
<div class="entry-container">
|
1400 |
-
<div class="entry-description">
|
1401 |
-
<header class="entry-header">
|
1402 |
-
<?php the_title( '<h2 class="entry-title"><a href="' . esc_url( get_the_permalink() ) . '">', '</a></h2>' ); ?>
|
1403 |
-
</header>
|
1404 |
-
|
1405 |
-
<div class="entry-content">
|
1406 |
-
<?php the_excerpt(); ?>
|
1407 |
-
</div>
|
1408 |
-
</div>
|
1409 |
-
|
1410 |
-
<div class="entry-price">
|
1411 |
-
<p class="item-price"><?php echo esc_html( get_post_meta( get_the_ID(), 'ect_food_price', true ) ); ?></p>
|
1412 |
-
</div>
|
1413 |
-
</div>
|
1414 |
-
</div><!-- .hentry-inner -->
|
1415 |
-
</article><!-- .hentry -->
|
1416 |
-
|
1417 |
-
<?php } // end of while loop
|
1418 |
-
|
1419 |
-
wp_reset_postdata();
|
1420 |
-
|
1421 |
-
// If comments are open or we have at least one comment, load up the comment template
|
1422 |
-
if ( comments_open() || '0' != get_comments_number() ) {
|
1423 |
-
comments_template( '', true );
|
1424 |
-
}
|
1425 |
?>
|
1426 |
-
|
1427 |
-
|
1428 |
-
|
1429 |
-
|
1430 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1431 |
}
|
|
|
1432 |
$html = ob_get_clean();
|
1433 |
|
1434 |
// If there is a [food-menu] within a [food-menu], remove the shortcode
|
@@ -1454,3 +1439,68 @@ function essential_content_food_menu_support() {
|
|
1454 |
add_theme_support( 'ect_food_menu_item' );
|
1455 |
}
|
1456 |
add_action( 'after_setup_theme', 'essential_content_food_menu_support' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1315 |
|
1316 |
// enqueue shortcode styles when shortcode is used
|
1317 |
wp_enqueue_style( 'ect-food-menu-style', plugins_url( 'css/food-menu-shortcode.css', __FILE__ ), array(), '20140326' );
|
1318 |
+
wp_enqueue_script( 'ect-food-menu-script', plugins_url( 'js/food-menu-shortcode.js', __FILE__ ) , array( 'jquery' ), '20180530', false );
|
1319 |
|
1320 |
return self::ect_food_shortcode_html( $atts );
|
1321 |
}
|
1368 |
/**
|
1369 |
* The Food Menu shortcode loop.
|
1370 |
*
|
|
|
1371 |
* @return html
|
1372 |
*/
|
1373 |
static function ect_food_shortcode_html( $atts ) {
|
1374 |
|
1375 |
$query = self::ect_food_query( $atts );
|
|
|
|
|
1376 |
ob_start();
|
1377 |
|
1378 |
// If we have posts, create the html
|
1379 |
+
// with hect_food markup
|
1380 |
if ( $query->have_posts() ) {
|
1381 |
+
|
1382 |
+
/**
|
1383 |
+
* Hook: ect_before_food_menu_loop.
|
1384 |
+
*
|
1385 |
+
* @hooked ect_food_menu_section
|
1386 |
+
*/
|
1387 |
+
$layout = ect_get_layout();
|
1388 |
+
do_action( 'ect_before_food_menu_loop' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1389 |
?>
|
1390 |
+
<?php
|
1391 |
+
|
1392 |
+
ect_get_template_part( 'ect', 'menu', $atts );
|
1393 |
+
|
1394 |
+
// If comments are open or we have at least one comment, load up the comment template
|
1395 |
+
if ( comments_open() || '0' != get_comments_number() ) {
|
1396 |
+
comments_template( '', true );
|
1397 |
+
}
|
1398 |
+
?>
|
1399 |
+
<?php
|
1400 |
+
|
1401 |
+
/**
|
1402 |
+
* Hook: ect_after_food_menu_loop.
|
1403 |
+
*
|
1404 |
+
* @hooked
|
1405 |
+
*/
|
1406 |
+
do_action( 'ect_after_food_menu_loop' );
|
1407 |
+
|
1408 |
+
} else {
|
1409 |
+
/**
|
1410 |
+
* Hook: ect_no_food_menu_found.
|
1411 |
+
*
|
1412 |
+
* @hooked ect_no_food_menu_found
|
1413 |
+
*/
|
1414 |
+
do_action( 'ect_no_food_menu_found' );
|
1415 |
}
|
1416 |
+
|
1417 |
$html = ob_get_clean();
|
1418 |
|
1419 |
// If there is a [food-menu] within a [food-menu], remove the shortcode
|
1439 |
add_theme_support( 'ect_food_menu_item' );
|
1440 |
}
|
1441 |
add_action( 'after_setup_theme', 'essential_content_food_menu_support' );
|
1442 |
+
|
1443 |
+
|
1444 |
+
if( ! function_exists( 'essential_content_no_food_menu_found' ) ):
|
1445 |
+
/**
|
1446 |
+
* No items found text
|
1447 |
+
*
|
1448 |
+
* @return html
|
1449 |
+
*/
|
1450 |
+
function essential_content_no_food_menu_found() {
|
1451 |
+
echo "<p><em>" . esc_html__( 'Your Food Menu Archive currently has no entries. You can start creating them on your dashboard.', 'essential-content-types-pro' ) . "</em></p>";
|
1452 |
+
}
|
1453 |
+
endif;
|
1454 |
+
add_action( 'ect_no_food_menu_found', 'essential_content_no_food_menu_found', 10 );
|
1455 |
+
|
1456 |
+
|
1457 |
+
if( ! function_exists( 'essential_content_food_menu_section_open' ) ):
|
1458 |
+
/**
|
1459 |
+
* Open section
|
1460 |
+
*
|
1461 |
+
* @return html
|
1462 |
+
*/
|
1463 |
+
function essential_content_food_menu_section_open() {
|
1464 |
+
echo '<div class="ect-menu ect-section">';
|
1465 |
+
echo '<div class="ect-wrapper">';
|
1466 |
+
}
|
1467 |
+
endif;
|
1468 |
+
add_action( 'ect_before_food_menu_loop', 'essential_content_food_menu_section_open', 10, 1 );
|
1469 |
+
|
1470 |
+
|
1471 |
+
if( ! function_exists( 'essential_content_food_menu_loop_start' ) ):
|
1472 |
+
/**
|
1473 |
+
* open wrapper before loop
|
1474 |
+
*
|
1475 |
+
*/
|
1476 |
+
function essential_content_food_menu_loop_start(){
|
1477 |
+
echo '<div class="section-content-wrapper menu-content-wrapper">';
|
1478 |
+
}
|
1479 |
+
endif;
|
1480 |
+
add_action( 'ect_before_food_menu_loop', 'essential_content_food_menu_loop_start', 30 );
|
1481 |
+
|
1482 |
+
|
1483 |
+
if( ! function_exists( 'essential_content_food_menu_loop_end' ) ):
|
1484 |
+
/**
|
1485 |
+
* close wrapper after loop
|
1486 |
+
*
|
1487 |
+
*/
|
1488 |
+
function essential_content_food_menu_loop_end(){
|
1489 |
+
echo '</div><!-- .menu-content-wrapper -->';
|
1490 |
+
}
|
1491 |
+
endif;
|
1492 |
+
add_action( 'ect_after_food_menu_loop', 'essential_content_food_menu_loop_end', 10 );
|
1493 |
+
|
1494 |
+
|
1495 |
+
if( ! function_exists( 'essential_content_food_menu_section_close' ) ):
|
1496 |
+
/**
|
1497 |
+
* Close section
|
1498 |
+
*
|
1499 |
+
* @return html
|
1500 |
+
*/
|
1501 |
+
function essential_content_food_menu_section_close() {
|
1502 |
+
echo '</div><!-- .ect-wrapper -->';
|
1503 |
+
echo '</div><!-- .ect-section -->';
|
1504 |
+
}
|
1505 |
+
endif;
|
1506 |
+
add_action( 'ect_after_food_menu_loop', 'essential_content_food_menu_section_close', 20 );
|
admin/class-portfolio.php
CHANGED
@@ -527,7 +527,12 @@ class Essential_Content_Jetpack_Portfolio {
|
|
527 |
$atts['include_tag'] = explode( ',', str_replace( ' ', '', $atts['include_tag'] ) );
|
528 |
}
|
529 |
|
530 |
-
|
|
|
|
|
|
|
|
|
|
|
531 |
|
532 |
$atts['showposts'] = intval( $atts['showposts'] );
|
533 |
|
@@ -619,82 +624,58 @@ class Essential_Content_Jetpack_Portfolio {
|
|
619 |
* @todo add theme color styles
|
620 |
* @return html
|
621 |
*/
|
|
|
622 |
static function portfolio_shortcode_html( $atts ) {
|
623 |
|
624 |
$query = self::portfolio_query( $atts );
|
625 |
-
$portfolio_index_number = 0;
|
626 |
|
627 |
ob_start();
|
628 |
|
629 |
// If we have posts, create the html
|
630 |
// with hportfolio markup
|
631 |
if ( $query->have_posts() ) {
|
|
|
632 |
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
$
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
<h2 class="portfolio-entry-title"><a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo esc_attr( the_title_attribute( ) ); ?>"><?php the_title(); ?></a></h2>
|
653 |
-
|
654 |
-
<div class="portfolio-entry-meta">
|
655 |
-
<?php
|
656 |
-
if ( false != $atts['display_types'] ) {
|
657 |
-
echo self::get_project_type( $post_id );
|
658 |
-
}
|
659 |
-
|
660 |
-
if ( false != $atts['display_tags'] ) {
|
661 |
-
echo self::get_project_tags( $post_id );
|
662 |
-
}
|
663 |
-
|
664 |
-
if ( false != $atts['display_author'] ) {
|
665 |
-
echo self::get_project_author( $post_id );
|
666 |
-
}
|
667 |
-
?>
|
668 |
-
</div>
|
669 |
-
|
670 |
-
</header>
|
671 |
-
|
672 |
-
<?php
|
673 |
-
// The content
|
674 |
-
if ( false !== $atts['display_content'] ) {
|
675 |
-
if ( 'full' === $atts['display_content'] ) {
|
676 |
-
?>
|
677 |
-
<div class="portfolio-entry-content"><?php the_content(); ?></div>
|
678 |
-
<?php
|
679 |
-
} else {
|
680 |
-
?>
|
681 |
-
<div class="portfolio-entry-content"><?php the_excerpt(); ?></div>
|
682 |
-
<?php
|
683 |
}
|
684 |
-
|
685 |
-
|
686 |
-
|
687 |
-
|
688 |
-
} // end of while loop
|
689 |
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
|
695 |
-
|
696 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
697 |
}
|
|
|
698 |
$html = ob_get_clean();
|
699 |
|
700 |
// If there is a [portfolio] within a [portfolio], remove the shortcode
|
@@ -706,51 +687,6 @@ class Essential_Content_Jetpack_Portfolio {
|
|
706 |
return $html;
|
707 |
}
|
708 |
|
709 |
-
/**
|
710 |
-
* Individual project class
|
711 |
-
*
|
712 |
-
* @return string
|
713 |
-
*/
|
714 |
-
static function get_project_class( $portfolio_index_number, $columns ) {
|
715 |
-
$project_types = wp_get_object_terms( get_the_ID(), self::CUSTOM_TAXONOMY_TYPE, array( 'fields' => 'slugs' ) );
|
716 |
-
$class = array();
|
717 |
-
|
718 |
-
$class[] = 'portfolio-entry-column-'.$columns;
|
719 |
-
// add a type- class for each project type
|
720 |
-
foreach ( $project_types as $project_type ) {
|
721 |
-
$class[] = 'type-' . esc_html( $project_type );
|
722 |
-
}
|
723 |
-
if( $columns > 1) {
|
724 |
-
if ( ( $portfolio_index_number % 2 ) == 0 ) {
|
725 |
-
$class[] = 'portfolio-entry-mobile-first-item-row';
|
726 |
-
} else {
|
727 |
-
$class[] = 'portfolio-entry-mobile-last-item-row';
|
728 |
-
}
|
729 |
-
}
|
730 |
-
|
731 |
-
// add first and last classes to first and last items in a row
|
732 |
-
if ( ( $portfolio_index_number % $columns ) == 0 ) {
|
733 |
-
$class[] = 'portfolio-entry-first-item-row';
|
734 |
-
} elseif ( ( $portfolio_index_number % $columns ) == ( $columns - 1 ) ) {
|
735 |
-
$class[] = 'portfolio-entry-last-item-row';
|
736 |
-
}
|
737 |
-
|
738 |
-
|
739 |
-
/**
|
740 |
-
* Filter the class applied to project div in the portfolio
|
741 |
-
*
|
742 |
-
* @module custom-content-types
|
743 |
-
*
|
744 |
-
* @since 3.1.0
|
745 |
-
*
|
746 |
-
* @param string $class class name of the div.
|
747 |
-
* @param int $portfolio_index_number iterator count the number of columns up starting from 0.
|
748 |
-
* @param int $columns number of columns to display the content in.
|
749 |
-
*
|
750 |
-
*/
|
751 |
-
return apply_filters( 'portfolio-project-post-class', implode( " ", $class ) , $portfolio_index_number, $columns );
|
752 |
-
}
|
753 |
-
|
754 |
/**
|
755 |
* Displays the project type that a project belongs to.
|
756 |
*
|
@@ -829,26 +765,6 @@ class Essential_Content_Jetpack_Portfolio {
|
|
829 |
|
830 |
return $html;
|
831 |
}
|
832 |
-
|
833 |
-
/**
|
834 |
-
* Display the featured image if it's available
|
835 |
-
*
|
836 |
-
* @return html
|
837 |
-
*/
|
838 |
-
static function get_portfolio_thumbnail_link( $post_id ) {
|
839 |
-
if ( has_post_thumbnail( $post_id ) ) {
|
840 |
-
/**
|
841 |
-
* Change the Portfolio thumbnail size.
|
842 |
-
*
|
843 |
-
* @module custom-content-types
|
844 |
-
*
|
845 |
-
* @since 3.4.0
|
846 |
-
*
|
847 |
-
* @param string|array $var Either a registered size keyword or size array.
|
848 |
-
*/
|
849 |
-
return '<a class="portfolio-featured-image" href="' . esc_url( get_permalink( $post_id ) ) . '">' . get_the_post_thumbnail( $post_id, apply_filters( 'jetpack_portfolio_thumbnail_size', 'large' ) ) . '</a>';
|
850 |
-
}
|
851 |
-
}
|
852 |
}
|
853 |
add_action( 'init', array( 'Essential_Content_Jetpack_Portfolio', 'init' ) );
|
854 |
|
@@ -864,5 +780,94 @@ function essential_content_portfolio_support() {
|
|
864 |
'content' => true,
|
865 |
'featured-image' => true,
|
866 |
) );
|
|
|
867 |
}
|
868 |
add_action( 'after_setup_theme', 'essential_content_portfolio_support' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
527 |
$atts['include_tag'] = explode( ',', str_replace( ' ', '', $atts['include_tag'] ) );
|
528 |
}
|
529 |
|
530 |
+
// Check if column value is set to valid numbers or else set default value as 2
|
531 |
+
if( 1 <= $atts['columns'] && 6 >= $atts['columns'] ) {
|
532 |
+
$atts['columns'] = absint( $atts['columns'] );
|
533 |
+
} else {
|
534 |
+
$atts['columns'] = 2;
|
535 |
+
}
|
536 |
|
537 |
$atts['showposts'] = intval( $atts['showposts'] );
|
538 |
|
624 |
* @todo add theme color styles
|
625 |
* @return html
|
626 |
*/
|
627 |
+
|
628 |
static function portfolio_shortcode_html( $atts ) {
|
629 |
|
630 |
$query = self::portfolio_query( $atts );
|
|
|
631 |
|
632 |
ob_start();
|
633 |
|
634 |
// If we have posts, create the html
|
635 |
// with hportfolio markup
|
636 |
if ( $query->have_posts() ) {
|
637 |
+
|
638 |
|
639 |
+
/**
|
640 |
+
* Hook: ect_before_portfolio_loop.
|
641 |
+
*
|
642 |
+
* @hooked ect_portfolio_section
|
643 |
+
*/
|
644 |
+
$layout = ect_get_layout();
|
645 |
+
do_action( 'ect_before_portfolio_loop', $layout[$atts['columns']] );
|
646 |
+
?>
|
647 |
+
<?php
|
648 |
+
//ect_portfolio_loop_start( $layout[$atts['columns']] );
|
649 |
+
while ( $query->have_posts() ) {
|
650 |
+
$query->the_post();
|
651 |
+
ect_get_template_part( 'content', 'portfolio', $atts );
|
652 |
+
/**
|
653 |
+
* Hook: ect_portfolio_loop.
|
654 |
+
*
|
655 |
+
* @hooked
|
656 |
+
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
657 |
}
|
658 |
+
wp_reset_postdata();
|
659 |
+
//ect_portfolio_loop_end();
|
660 |
+
?>
|
661 |
+
<?php
|
|
|
662 |
|
663 |
+
/**
|
664 |
+
* Hook: ect_after_portfolio_loop.
|
665 |
+
*
|
666 |
+
* @hooked
|
667 |
+
*/
|
668 |
+
do_action( 'ect_after_portfolio_loop' );
|
669 |
+
|
670 |
+
} else {
|
671 |
+
/**
|
672 |
+
* Hook: ect_no_portfolio_found.
|
673 |
+
*
|
674 |
+
* @hooked ect_no_portfolio_found
|
675 |
+
*/
|
676 |
+
do_action( 'ect_no_portfolio_found' );
|
677 |
}
|
678 |
+
|
679 |
$html = ob_get_clean();
|
680 |
|
681 |
// If there is a [portfolio] within a [portfolio], remove the shortcode
|
687 |
return $html;
|
688 |
}
|
689 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
690 |
/**
|
691 |
* Displays the project type that a project belongs to.
|
692 |
*
|
765 |
|
766 |
return $html;
|
767 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
768 |
}
|
769 |
add_action( 'init', array( 'Essential_Content_Jetpack_Portfolio', 'init' ) );
|
770 |
|
780 |
'content' => true,
|
781 |
'featured-image' => true,
|
782 |
) );
|
783 |
+
add_image_size( 'ect-jetpack-portfolio-featured', 640, 640, true );
|
784 |
}
|
785 |
add_action( 'after_setup_theme', 'essential_content_portfolio_support' );
|
786 |
+
|
787 |
+
|
788 |
+
if( ! function_exists( 'essential_content_get_portfolio_thumbnail_link' ) ):
|
789 |
+
/**
|
790 |
+
* Display the featured image if it's available
|
791 |
+
*
|
792 |
+
* @return html
|
793 |
+
*/
|
794 |
+
function essential_content_get_portfolio_thumbnail_link( $post_id ) {
|
795 |
+
if ( has_post_thumbnail( $post_id ) ) {
|
796 |
+
/**
|
797 |
+
* Change the Portfolio thumbnail size.
|
798 |
+
*
|
799 |
+
* @module custom-content-types
|
800 |
+
*
|
801 |
+
* @since 3.4.0
|
802 |
+
*
|
803 |
+
* @param string|array $var Either a registered size keyword or size array.
|
804 |
+
*/
|
805 |
+
return '<a class="portfolio-featured-image" href="' . esc_url( get_permalink( $post_id ) ) . '">' . get_the_post_thumbnail( $post_id, apply_filters( 'jetpack_portfolio_thumbnail_size', 'ect-jetpack-portfolio-featured' ) ) . '</a>';
|
806 |
+
}
|
807 |
+
}
|
808 |
+
endif;
|
809 |
+
|
810 |
+
|
811 |
+
if( ! function_exists( 'essential_content_no_portfolio_found' ) ):
|
812 |
+
/**
|
813 |
+
* No items found text
|
814 |
+
*
|
815 |
+
* @return html
|
816 |
+
*/
|
817 |
+
function essential_content_no_portfolio_found() {
|
818 |
+
echo "<p><em>" . esc_html__( 'Your Portfolio Archive currently has no entries. You can start creating them on your dashboard.', 'essential-content-types-pro' ) . "</em></p>";
|
819 |
+
}
|
820 |
+
endif;
|
821 |
+
add_action( 'ect_no_portfolio_found', 'essential_content_no_portfolio_found', 10 );
|
822 |
+
|
823 |
+
|
824 |
+
if( ! function_exists( 'essential_content_portfolio_section_open' ) ):
|
825 |
+
/**
|
826 |
+
* Open section
|
827 |
+
*
|
828 |
+
* @return html
|
829 |
+
*/
|
830 |
+
function essential_content_portfolio_section_open( $layout ) {
|
831 |
+
echo '<div class="ect-portfolio ect-section">';
|
832 |
+
echo '<div class="ect-wrapper">';
|
833 |
+
}
|
834 |
+
endif;
|
835 |
+
add_action( 'ect_before_portfolio_loop', 'essential_content_portfolio_section_open', 10, 1 );
|
836 |
+
|
837 |
+
|
838 |
+
if( ! function_exists( 'essential_content_portfolio_loop_start' ) ):
|
839 |
+
/**
|
840 |
+
* open wrapper before loop
|
841 |
+
*
|
842 |
+
*/
|
843 |
+
function essential_content_portfolio_loop_start( $layout = null ){
|
844 |
+
echo '<div class="section-content-wrapper portfolio-content-wrapper ' . $layout . '">';
|
845 |
+
}
|
846 |
+
endif;
|
847 |
+
add_action( 'ect_before_portfolio_loop', 'essential_content_portfolio_loop_start', 30 );
|
848 |
+
|
849 |
+
|
850 |
+
if( ! function_exists( 'essential_content_portfolio_loop_end' ) ):
|
851 |
+
/**
|
852 |
+
* close wrapper after loop
|
853 |
+
*
|
854 |
+
*/
|
855 |
+
function essential_content_portfolio_loop_end(){
|
856 |
+
echo '</div><!-- .portfolio-content-wrapper -->';
|
857 |
+
}
|
858 |
+
endif;
|
859 |
+
add_action( 'ect_after_portfolio_loop', 'essential_content_portfolio_loop_end', 10 );
|
860 |
+
|
861 |
+
|
862 |
+
if( ! function_exists( 'essential_content_portfolio_section_close' ) ):
|
863 |
+
/**
|
864 |
+
* Close section
|
865 |
+
*
|
866 |
+
* @return html
|
867 |
+
*/
|
868 |
+
function essential_content_portfolio_section_close() {
|
869 |
+
echo '</div><!-- .ect-wrapper -->';
|
870 |
+
echo '</div><!-- .ect-section -->';
|
871 |
+
}
|
872 |
+
endif;
|
873 |
+
add_action( 'ect_after_portfolio_loop', 'essential_content_portfolio_section_close', 20 );
|
admin/class-service.php
CHANGED
@@ -391,7 +391,12 @@ class Essential_Content_Service {
|
|
391 |
$atts['include_tag'] = explode( ',', str_replace( ' ', '', $atts['include_tag'] ) );
|
392 |
}
|
393 |
|
394 |
-
|
|
|
|
|
|
|
|
|
|
|
395 |
|
396 |
$atts['showposts'] = intval( $atts['showposts'] );
|
397 |
|
@@ -483,84 +488,57 @@ class Essential_Content_Service {
|
|
483 |
* @todo add theme color styles
|
484 |
* @return html
|
485 |
*/
|
|
|
486 |
static function service_shortcode_html( $atts ) {
|
487 |
|
488 |
$query = self::service_query( $atts );
|
489 |
-
$service_index_number = 0;
|
490 |
|
491 |
ob_start();
|
492 |
|
493 |
// If we have posts, create the html
|
494 |
// with service markup
|
495 |
if ( $query->have_posts() ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
496 |
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
$post_id = get_the_ID();
|
508 |
-
?>
|
509 |
-
<div class="service-entry <?php echo esc_attr( self::get_content_class( $service_index_number, $atts['columns'] ) ); ?>">
|
510 |
-
<header class="featured-content-entry-header">
|
511 |
-
<?php
|
512 |
-
// Featured image
|
513 |
-
if ( false != $atts['image'] ) {
|
514 |
-
echo self::get_service_thumbnail_link( $post_id );
|
515 |
-
}
|
516 |
-
?>
|
517 |
-
|
518 |
-
<h2 class="service-entry-title"><a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo esc_attr( the_title_attribute( ) ); ?>"><?php the_title(); ?></a></h2>
|
519 |
-
|
520 |
-
<div class="service-entry-meta">
|
521 |
-
<?php
|
522 |
-
if ( false != $atts['display_types'] ) {
|
523 |
-
echo self::get_content_type( $post_id );
|
524 |
-
}
|
525 |
-
|
526 |
-
if ( false != $atts['display_tags'] ) {
|
527 |
-
echo self::get_content_tags( $post_id );
|
528 |
-
}
|
529 |
-
|
530 |
-
if ( false != $atts['display_author'] ) {
|
531 |
-
echo self::get_content_author( $post_id );
|
532 |
-
}
|
533 |
-
?>
|
534 |
-
</div>
|
535 |
-
|
536 |
-
</header>
|
537 |
-
|
538 |
-
<?php
|
539 |
-
// The content
|
540 |
-
if ( false !== $atts['display_content'] ) {
|
541 |
-
if ( 'full' === $atts['display_content'] ) {
|
542 |
-
?>
|
543 |
-
<div class="service-entry-content"><?php the_content(); ?></div>
|
544 |
-
<?php
|
545 |
-
} else {
|
546 |
-
?>
|
547 |
-
<div class="service-entry-content"><?php the_excerpt(); ?></div>
|
548 |
-
<?php
|
549 |
-
}
|
550 |
}
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
} // end of while loop
|
555 |
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
563 |
}
|
|
|
564 |
$html = ob_get_clean();
|
565 |
|
566 |
// If there is a [services] within a [services], remove the shortcode
|
@@ -572,51 +550,6 @@ class Essential_Content_Service {
|
|
572 |
return $html;
|
573 |
}
|
574 |
|
575 |
-
/**
|
576 |
-
* Individual content class
|
577 |
-
*
|
578 |
-
* @return string
|
579 |
-
*/
|
580 |
-
static function get_content_class( $service_index_number, $columns ) {
|
581 |
-
$content_types = wp_get_object_terms( get_the_ID(), self::CUSTOM_TAXONOMY_TYPE, array( 'fields' => 'slugs' ) );
|
582 |
-
$class = array();
|
583 |
-
|
584 |
-
$class[] = 'service-entry-column-'.$columns;
|
585 |
-
// add a type- class for each content type
|
586 |
-
foreach ( $content_types as $content_type ) {
|
587 |
-
$class[] = 'type-' . esc_html( $content_type );
|
588 |
-
}
|
589 |
-
if( $columns > 1) {
|
590 |
-
if ( ( $service_index_number % 2 ) == 0 ) {
|
591 |
-
$class[] = 'service-entry-mobile-first-item-row';
|
592 |
-
} else {
|
593 |
-
$class[] = 'service-entry-mobile-last-item-row';
|
594 |
-
}
|
595 |
-
}
|
596 |
-
|
597 |
-
// add first and last classes to first and last items in a row
|
598 |
-
if ( ( $service_index_number % $columns ) == 0 ) {
|
599 |
-
$class[] = 'service-entry-first-item-row';
|
600 |
-
} elseif ( ( $service_index_number % $columns ) == ( $columns - 1 ) ) {
|
601 |
-
$class[] = 'service-entry-last-item-row';
|
602 |
-
}
|
603 |
-
|
604 |
-
|
605 |
-
/**
|
606 |
-
* Filter the class applied to content div in the service
|
607 |
-
*
|
608 |
-
* @module custom-content-types
|
609 |
-
*
|
610 |
-
* @since 3.1.0
|
611 |
-
*
|
612 |
-
* @param string $class class name of the div.
|
613 |
-
* @param int $service_index_number iterator count the number of columns up starting from 0.
|
614 |
-
* @param int $columns number of columns to display the content in.
|
615 |
-
*
|
616 |
-
*/
|
617 |
-
return apply_filters( 'service-content-post-class', implode( " ", $class ) , $service_index_number, $columns );
|
618 |
-
}
|
619 |
-
|
620 |
/**
|
621 |
* Displays the content type that a content belongs to.
|
622 |
*
|
@@ -695,25 +628,100 @@ class Essential_Content_Service {
|
|
695 |
|
696 |
return $html;
|
697 |
}
|
|
|
|
|
698 |
|
699 |
-
|
700 |
-
|
701 |
-
|
702 |
-
|
|
|
|
|
|
|
703 |
*/
|
704 |
-
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
-
|
713 |
-
|
714 |
-
|
715 |
-
|
716 |
-
|
|
|
|
|
|
|
|
|
|
|
717 |
}
|
718 |
}
|
719 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
391 |
$atts['include_tag'] = explode( ',', str_replace( ' ', '', $atts['include_tag'] ) );
|
392 |
}
|
393 |
|
394 |
+
// Check if column value is set to valid numbers or else set default value as 2
|
395 |
+
if( 1 <= $atts['columns'] && 6 >= $atts['columns'] ) {
|
396 |
+
$atts['columns'] = absint( $atts['columns'] );
|
397 |
+
} else {
|
398 |
+
$atts['columns'] = 2;
|
399 |
+
}
|
400 |
|
401 |
$atts['showposts'] = intval( $atts['showposts'] );
|
402 |
|
488 |
* @todo add theme color styles
|
489 |
* @return html
|
490 |
*/
|
491 |
+
|
492 |
static function service_shortcode_html( $atts ) {
|
493 |
|
494 |
$query = self::service_query( $atts );
|
495 |
+
$atts['service_index_number'] = 0;
|
496 |
|
497 |
ob_start();
|
498 |
|
499 |
// If we have posts, create the html
|
500 |
// with service markup
|
501 |
if ( $query->have_posts() ) {
|
502 |
+
|
503 |
+
/**
|
504 |
+
* Hook: ect_before_service_loop.
|
505 |
+
*
|
506 |
+
* @hooked
|
507 |
+
*/
|
508 |
+
$layout = ect_get_layout();
|
509 |
+
do_action( 'ect_before_service_loop', $layout[$atts['columns']] );
|
510 |
|
511 |
+
?>
|
512 |
+
<?php
|
513 |
+
while ( $query->have_posts() ) {
|
514 |
+
$query->the_post();
|
515 |
+
ect_get_template_part( 'content', 'service', $atts );
|
516 |
+
/**
|
517 |
+
* Hook: ect_service_loop.
|
518 |
+
*
|
519 |
+
* @hooked
|
520 |
+
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
521 |
}
|
522 |
+
wp_reset_postdata();
|
523 |
+
?>
|
524 |
+
<?php
|
|
|
525 |
|
526 |
+
/**
|
527 |
+
* Hook: ect_after_service_loop.
|
528 |
+
*
|
529 |
+
* @hooked
|
530 |
+
*/
|
531 |
+
do_action( 'ect_after_service_loop' );
|
532 |
+
|
533 |
+
} else {
|
534 |
+
/**
|
535 |
+
* Hook: ect_no_service_found.
|
536 |
+
*
|
537 |
+
* @hooked ect_no_service_found
|
538 |
+
*/
|
539 |
+
do_action( 'ect_no_service_found' );
|
540 |
}
|
541 |
+
|
542 |
$html = ob_get_clean();
|
543 |
|
544 |
// If there is a [services] within a [services], remove the shortcode
|
550 |
return $html;
|
551 |
}
|
552 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
553 |
/**
|
554 |
* Displays the content type that a content belongs to.
|
555 |
*
|
628 |
|
629 |
return $html;
|
630 |
}
|
631 |
+
}
|
632 |
+
add_action( 'init', array( 'Essential_Content_Service', 'init' ) );
|
633 |
|
634 |
+
|
635 |
+
/**
|
636 |
+
* Add Service support
|
637 |
+
*/
|
638 |
+
function essential_content_service_support() {
|
639 |
+
/*
|
640 |
+
* Adding theme support for Jetpack Service CPT.
|
641 |
*/
|
642 |
+
add_image_size( 'ect-service', 640, 640, true );
|
643 |
+
}
|
644 |
+
add_action( 'after_setup_theme', 'essential_content_service_support' );
|
645 |
+
|
646 |
+
|
647 |
+
if( ! function_exists( 'essential_content_get_service_thumbnail_link' ) ):
|
648 |
+
function essential_content_get_service_thumbnail_link( $post_id, $size ) {
|
649 |
+
if ( has_post_thumbnail( $post_id ) ) {
|
650 |
+
/**
|
651 |
+
* Change the Service thumbnail size.
|
652 |
+
*
|
653 |
+
* @module custom-content-types
|
654 |
+
*
|
655 |
+
* @since 3.4.0
|
656 |
+
*
|
657 |
+
* @param string|array $var Either a registered size keyword or size array.
|
658 |
+
*/
|
659 |
+
return '<a class="service-featured-image" href="' . esc_url( get_permalink( $post_id ) ) . '">' . get_the_post_thumbnail( $post_id, apply_filters( 'service_thumbnail_size', $size ) ) . '</a>';
|
660 |
}
|
661 |
}
|
662 |
+
endif;
|
663 |
+
|
664 |
+
|
665 |
+
if( ! function_exists( 'essential_content_no_service_found' ) ):
|
666 |
+
/**
|
667 |
+
* No items found text
|
668 |
+
*
|
669 |
+
* @return html
|
670 |
+
*/
|
671 |
+
function essential_content_no_service_found() {
|
672 |
+
echo "<p><em>" . esc_html__( 'Your Service Archive currently has no entries. You can start creating them on your dashboard.', 'essential-content-types-pro' ) . "</em></p>";
|
673 |
+
}
|
674 |
+
add_action( 'ect_no_service_found', 'essential_content_no_service_found', 10 );
|
675 |
+
endif;
|
676 |
+
|
677 |
+
|
678 |
+
if( ! function_exists( 'essential_content_service_section_open' ) ):
|
679 |
+
/**
|
680 |
+
* Open section
|
681 |
+
*
|
682 |
+
* @return html
|
683 |
+
*/
|
684 |
+
function essential_content_service_section_open( $layout ) {
|
685 |
+
echo '<div class="ect-service ect-section">';
|
686 |
+
echo '<div class="ect-wrapper">';
|
687 |
+
}
|
688 |
+
endif;
|
689 |
+
add_action( 'ect_before_service_loop', 'essential_content_service_section_open', 10, 1 );
|
690 |
+
|
691 |
+
|
692 |
+
if( ! function_exists( 'essential_content_service_loop_start' ) ):
|
693 |
+
/**
|
694 |
+
* open wrapper before loop
|
695 |
+
*
|
696 |
+
*/
|
697 |
+
function essential_content_service_loop_start( $layout = null ){
|
698 |
+
echo '<div class="section-content-wrapper service-content-wrapper ' . $layout . '">';
|
699 |
+
}
|
700 |
+
endif;
|
701 |
+
add_action( 'ect_before_service_loop', 'essential_content_service_loop_start', 30 );
|
702 |
+
|
703 |
+
|
704 |
+
if( ! function_exists( 'essential_content_service_loop_end' ) ):
|
705 |
+
/**
|
706 |
+
* close wrapper after loop
|
707 |
+
*
|
708 |
+
*/
|
709 |
+
function essential_content_service_loop_end(){
|
710 |
+
echo '</div><!-- .service-content-wrapper -->';
|
711 |
+
}
|
712 |
+
endif;
|
713 |
+
add_action( 'ect_after_service_loop', 'essential_content_service_loop_end', 10 );
|
714 |
+
|
715 |
+
|
716 |
+
if( ! function_exists( 'essential_content_service_section_close' ) ):
|
717 |
+
/**
|
718 |
+
* Close section
|
719 |
+
*
|
720 |
+
* @return html
|
721 |
+
*/
|
722 |
+
function essential_content_service_section_close() {
|
723 |
+
echo '</div><!-- .ect-wrapper -->';
|
724 |
+
echo '</div><!-- .ect-section -->';
|
725 |
+
}
|
726 |
+
endif;
|
727 |
+
add_action( 'ect_after_service_loop', 'essential_content_service_section_close', 20 );
|
admin/class-testimonial.php
CHANGED
@@ -517,7 +517,12 @@ class Essential_Content_Jetpack_Testimonial {
|
|
517 |
$atts['image'] = false;
|
518 |
}
|
519 |
|
520 |
-
|
|
|
|
|
|
|
|
|
|
|
521 |
|
522 |
$atts['showposts'] = intval( $atts['showposts'] );
|
523 |
|
@@ -558,9 +563,12 @@ class Essential_Content_Jetpack_Testimonial {
|
|
558 |
/**
|
559 |
* The Testimonial shortcode loop.
|
560 |
*
|
|
|
561 |
* @return html
|
562 |
*/
|
|
|
563 |
static function jetpack_testimonial_shortcode_html( $atts ) {
|
|
|
564 |
// Default query arguments
|
565 |
$defaults = array(
|
566 |
'order' => $atts['order'],
|
@@ -568,131 +576,61 @@ class Essential_Content_Jetpack_Testimonial {
|
|
568 |
'posts_per_page' => $atts['showposts'],
|
569 |
);
|
570 |
|
571 |
-
$args
|
572 |
$args['post_type'] = self::CUSTOM_POST_TYPE; // Force this post type
|
573 |
-
$query
|
574 |
-
|
575 |
-
$testimonial_index_number = 0;
|
576 |
|
577 |
ob_start();
|
578 |
|
579 |
-
// If we have
|
|
|
580 |
if ( $query->have_posts() ) {
|
|
|
581 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
582 |
?>
|
583 |
-
|
584 |
-
<?php // open .jetpack-testimonial-shortcode
|
585 |
-
|
586 |
-
// Construct the loop...
|
587 |
while ( $query->have_posts() ) {
|
|
|
588 |
$query->the_post();
|
589 |
-
$
|
590 |
-
|
591 |
-
|
592 |
-
<?php
|
593 |
-
// The content
|
594 |
-
if ( false !== $atts['display_content'] ) {
|
595 |
-
if ( 'full' === $atts['display_content'] ) {
|
596 |
-
?>
|
597 |
-
<div class="testimonial-entry-content"><?php the_content(); ?></div>
|
598 |
-
<?php
|
599 |
-
} else {
|
600 |
-
?>
|
601 |
-
<div class="testimonial-entry-content"><?php the_excerpt(); ?></div>
|
602 |
-
<?php
|
603 |
-
}
|
604 |
-
}
|
605 |
-
?>
|
606 |
-
<span class="testimonial-entry-title">― <a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo esc_attr( the_title_attribute( ) ); ?>"><?php the_title(); ?></a></span>
|
607 |
-
<?php
|
608 |
-
// Featured image
|
609 |
-
if ( false !== $atts['image'] ) :
|
610 |
-
echo self::get_testimonial_thumbnail_link( $post_id );
|
611 |
-
endif;
|
612 |
-
?>
|
613 |
-
</div><!-- close .testimonial-entry -->
|
614 |
-
<?php
|
615 |
-
$testimonial_index_number++;
|
616 |
-
} // end of while loop
|
617 |
-
|
618 |
wp_reset_postdata();
|
619 |
-
|
620 |
-
|
621 |
-
<?php
|
622 |
-
} else { ?>
|
623 |
-
<p><em><?php esc_html_e( 'Your Testimonial Archive currently has no entries. You can start creating them on your dashboard.', 'essential-content-types' ); ?></p></em>
|
624 |
-
<?php
|
625 |
-
}
|
626 |
-
$html = ob_get_clean();
|
627 |
-
|
628 |
-
// Return the HTML block
|
629 |
-
return $html;
|
630 |
-
}
|
631 |
-
|
632 |
-
/**
|
633 |
-
* Individual testimonial class
|
634 |
-
*
|
635 |
-
* @return string
|
636 |
-
*/
|
637 |
-
static function get_testimonial_class( $testimonial_index_number, $columns, $image ) {
|
638 |
-
$class = array();
|
639 |
|
640 |
-
|
|
|
|
|
|
|
|
|
|
|
641 |
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
|
|
648 |
}
|
649 |
|
650 |
-
|
651 |
-
if ( ( $testimonial_index_number % $columns ) == 0 ) {
|
652 |
-
$class[] = 'testimonial-entry-first-item-row';
|
653 |
-
} elseif ( ( $testimonial_index_number % $columns ) == ( $columns - 1 ) ) {
|
654 |
-
$class[] = 'testimonial-entry-last-item-row';
|
655 |
-
}
|
656 |
|
657 |
-
//
|
658 |
-
if (
|
659 |
-
|
660 |
}
|
661 |
|
662 |
-
|
663 |
-
|
664 |
-
*
|
665 |
-
* @module custom-content-types
|
666 |
-
*
|
667 |
-
* @since 3.4.0
|
668 |
-
*
|
669 |
-
* @param string $class class name of the div.
|
670 |
-
* @param int $testimonial_index_number iterator count the number of columns up starting from 0.
|
671 |
-
* @param int $columns number of columns to display the content in.
|
672 |
-
* @param boolean $image has a thumbnail or not.
|
673 |
-
*
|
674 |
-
*/
|
675 |
-
return apply_filters( 'testimonial-entry-post-class', implode( " ", $class ) , $testimonial_index_number, $columns, $image );
|
676 |
-
}
|
677 |
-
|
678 |
-
/**
|
679 |
-
* Display the featured image if it's available
|
680 |
-
*
|
681 |
-
* @return html
|
682 |
-
*/
|
683 |
-
static function get_testimonial_thumbnail_link( $post_id ) {
|
684 |
-
if ( has_post_thumbnail( $post_id ) ) {
|
685 |
-
/**
|
686 |
-
* Change the thumbnail size for the Testimonial CPT.
|
687 |
-
*
|
688 |
-
* @module custom-content-types
|
689 |
-
*
|
690 |
-
* @since 3.4.0
|
691 |
-
*
|
692 |
-
* @param string|array $var Either a registered size keyword or size array.
|
693 |
-
*/
|
694 |
-
return '<a class="testimonial-featured-image" href="' . esc_url( get_permalink( $post_id ) ) . '">' . get_the_post_thumbnail( $post_id, apply_filters( 'jetpack_testimonial_thumbnail_size', 'thumbnail' ) ) . '</a>';
|
695 |
-
}
|
696 |
}
|
697 |
}
|
698 |
add_action( 'init', array( 'Essential_Content_Jetpack_Testimonial', 'init' ) );
|
@@ -854,3 +792,232 @@ $ect_metabox = new Essential_Content_Jetpack_Testimonial_Metabox(
|
|
854 |
esc_html__( 'Testmonial Options', 'essential-content-types' ), //metabox title
|
855 |
array( 'jetpack-testimonial' ) //metabox post types
|
856 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
517 |
$atts['image'] = false;
|
518 |
}
|
519 |
|
520 |
+
// Check if column value is set to valid numbers or else set default value as 1
|
521 |
+
if( 1 == $atts['columns'] || 2 == $atts['columns'] ) {
|
522 |
+
$atts['columns'] = absint( $atts['columns'] );
|
523 |
+
} else {
|
524 |
+
$atts['columns'] = 1;
|
525 |
+
}
|
526 |
|
527 |
$atts['showposts'] = intval( $atts['showposts'] );
|
528 |
|
563 |
/**
|
564 |
* The Testimonial shortcode loop.
|
565 |
*
|
566 |
+
* @todo add theme color styles
|
567 |
* @return html
|
568 |
*/
|
569 |
+
|
570 |
static function jetpack_testimonial_shortcode_html( $atts ) {
|
571 |
+
|
572 |
// Default query arguments
|
573 |
$defaults = array(
|
574 |
'order' => $atts['order'],
|
576 |
'posts_per_page' => $atts['showposts'],
|
577 |
);
|
578 |
|
579 |
+
$args = wp_parse_args( $atts, $defaults );
|
580 |
$args['post_type'] = self::CUSTOM_POST_TYPE; // Force this post type
|
581 |
+
$query = new WP_Query( $args );
|
|
|
|
|
582 |
|
583 |
ob_start();
|
584 |
|
585 |
+
// If we have posts, create the html
|
586 |
+
// with testimonial markup
|
587 |
if ( $query->have_posts() ) {
|
588 |
+
|
589 |
|
590 |
+
/**
|
591 |
+
* Hook: ect_before_testimonial_loop.
|
592 |
+
*
|
593 |
+
* @hooked
|
594 |
+
*/
|
595 |
+
$layout = ect_get_layout();
|
596 |
+
do_action( 'ect_before_testimonial_loop', $layout[$atts['columns']] );
|
597 |
?>
|
598 |
+
<?php
|
|
|
|
|
|
|
599 |
while ( $query->have_posts() ) {
|
600 |
+
|
601 |
$query->the_post();
|
602 |
+
ect_get_template_part( 'content', 'testimonial', $atts );
|
603 |
+
|
604 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
605 |
wp_reset_postdata();
|
606 |
+
?>
|
607 |
+
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
608 |
|
609 |
+
/**
|
610 |
+
* Hook: ect_after_testimonial_loop.
|
611 |
+
*
|
612 |
+
* @hooked
|
613 |
+
*/
|
614 |
+
do_action( 'ect_after_testimonial_loop' );
|
615 |
|
616 |
+
} else {
|
617 |
+
/**
|
618 |
+
* Hook: ect_no_testimonial_found.
|
619 |
+
*
|
620 |
+
* @hooked ect_no_testimonial_found
|
621 |
+
*/
|
622 |
+
do_action( 'ect_no_testimonial_found' );
|
623 |
}
|
624 |
|
625 |
+
$html = ob_get_clean();
|
|
|
|
|
|
|
|
|
|
|
626 |
|
627 |
+
// If there is a [testimonials] within a [testimonials], remove the shortcode
|
628 |
+
if ( has_shortcode( $html, 'testimonials' ) ){
|
629 |
+
remove_shortcode( 'testimonials' );
|
630 |
}
|
631 |
|
632 |
+
// Return the HTML block
|
633 |
+
return $html;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
634 |
}
|
635 |
}
|
636 |
add_action( 'init', array( 'Essential_Content_Jetpack_Testimonial', 'init' ) );
|
792 |
esc_html__( 'Testmonial Options', 'essential-content-types' ), //metabox title
|
793 |
array( 'jetpack-testimonial' ) //metabox post types
|
794 |
);
|
795 |
+
|
796 |
+
|
797 |
+
if( ! function_exists( 'essential_content_get_testimonial_thumbnail_link' ) ):
|
798 |
+
/**
|
799 |
+
* Display the featured image if it's available
|
800 |
+
*
|
801 |
+
* @return html
|
802 |
+
*/
|
803 |
+
function essential_content_get_testimonial_thumbnail_link( $post_id, $size ) {
|
804 |
+
if ( has_post_thumbnail( $post_id ) ) {
|
805 |
+
/**
|
806 |
+
* Change the Testimonial thumbnail size.
|
807 |
+
*
|
808 |
+
* @module custom-content-types
|
809 |
+
*
|
810 |
+
* @since 3.4.0
|
811 |
+
*
|
812 |
+
* @param string|array $var Either a registered size keyword or size array.
|
813 |
+
*/
|
814 |
+
//return '<a class="testimonial-featured-image testimonial-thumbnail post-thumbnail" href="' . esc_url( get_permalink( $post_id ) ) . '">' . get_the_post_thumbnail( $post_id, apply_filters( 'testimonial_thumbnail_size', $size ) ) . '</a>';
|
815 |
+
return '<div class="testimonial-featured-image testimonial-thumbnail post-thumbnail">' . get_the_post_thumbnail( $post_id, apply_filters( 'testimonial_thumbnail_size', $size ) ) . '</div>';
|
816 |
+
}
|
817 |
+
}
|
818 |
+
endif;
|
819 |
+
|
820 |
+
|
821 |
+
if( ! function_exists( 'essential_content_no_testimonial_found' ) ):
|
822 |
+
/**
|
823 |
+
* No items found text
|
824 |
+
*
|
825 |
+
* @return html
|
826 |
+
*/
|
827 |
+
function essential_content_no_testimonial_found() {
|
828 |
+
echo "<p><em>" . esc_html__( 'Your Testimonial Archive currently has no entries. You can start creating them on your dashboard.', 'essential-content-types-pro' ) . "</em></p>";
|
829 |
+
}
|
830 |
+
add_action( 'ect_no_testimonial_found', 'essential_content_no_testimonial_found', 10 );
|
831 |
+
endif;
|
832 |
+
|
833 |
+
|
834 |
+
if( ! function_exists( 'essential_content_testimonial_section_open' ) ):
|
835 |
+
/**
|
836 |
+
* Open section
|
837 |
+
*
|
838 |
+
* @return html
|
839 |
+
*/
|
840 |
+
function essential_content_testimonial_section_open( $layout = null ) {
|
841 |
+
echo '<div class="ect-testimonial-content-section ect-section ' . $layout . '">';
|
842 |
+
echo '<div class="ect-wrapper">';
|
843 |
+
}
|
844 |
+
endif;
|
845 |
+
add_action( 'ect_before_testimonial_loop', 'essential_content_testimonial_section_open', 10, 1 );
|
846 |
+
|
847 |
+
|
848 |
+
if( ! function_exists( 'essential_content_testimonial_loop_start' ) ):
|
849 |
+
/**
|
850 |
+
* open wrapper before loop
|
851 |
+
*
|
852 |
+
*/
|
853 |
+
function essential_content_testimonial_loop_start( $layout = null ){
|
854 |
+
echo '<div class="section-content-wrapper testimonial-content-wrapper">';
|
855 |
+
}
|
856 |
+
endif;
|
857 |
+
add_action( 'ect_before_testimonial_loop', 'essential_content_testimonial_loop_start', 30 );
|
858 |
+
|
859 |
+
|
860 |
+
if( ! function_exists( 'essential_content_testimonial_slider_open' ) ):
|
861 |
+
function essential_content_testimonial_slider_open() { ?>
|
862 |
+
<div class="cycle-slideshow"
|
863 |
+
data-cycle-log="false"
|
864 |
+
data-cycle-pause-on-hover="true"
|
865 |
+
data-cycle-swipe="true"
|
866 |
+
data-cycle-auto-height=container
|
867 |
+
data-cycle-loader=false
|
868 |
+
data-cycle-slides=".testimonial_slider_wrap"
|
869 |
+
data-cycle-pager=".testimonial-slider-pager"
|
870 |
+
data-cycle-prev=".testimonial-slider-prev"
|
871 |
+
data-cycle-next=".testimonial-slider-next"
|
872 |
+
>
|
873 |
+
|
874 |
+
<div class="controller">
|
875 |
+
<!-- prev/next links -->
|
876 |
+
<button class="cycle-prev testimonial-slider-prev" aria-label="Previous">
|
877 |
+
<span class="screen-reader-text"><?php esc_html_e( 'Previous Slide', 'essential-content-types-pro' ); ?></span><?php echo essential_content_get_svg( array( 'icon' => 'angle-down' ) ); ?>
|
878 |
+
</button>
|
879 |
+
|
880 |
+
<!-- empty element for pager links -->
|
881 |
+
<div class="cycle-pager testimonial-slider-pager"></div>
|
882 |
+
|
883 |
+
<button class="cycle-next testimonial-slider-next" aria-label="Next">
|
884 |
+
<span class="screen-reader-text"><?php esc_html_e( 'Next Slide', 'essential-content-types-pro' ); ?></span><?php echo essential_content_get_svg( array( 'icon' => 'angle-down' ) ); ?>
|
885 |
+
</button>
|
886 |
+
</div><!-- .controller -->
|
887 |
+
|
888 |
+
<div class="testimonial_slider_wrap">
|
889 |
+
|
890 |
+
<?php }
|
891 |
+
endif;
|
892 |
+
//add_action( 'ect_before_testimonial_loop', 'essential_content_testimonial_slider_open', 40 );
|
893 |
+
|
894 |
+
|
895 |
+
if( ! function_exists( 'essential_content_testimonial_slider_close' ) ):
|
896 |
+
function essential_content_testimonial_slider_close() {
|
897 |
+
echo '</div><!-- .testimonial_slider_wrap -->';
|
898 |
+
echo '</div><!-- .cycle-slideshow -->';
|
899 |
+
}
|
900 |
+
endif;
|
901 |
+
//add_action( 'ect_after_testimonial_loop', 'essential_content_testimonial_slider_close', 10 );
|
902 |
+
|
903 |
+
|
904 |
+
if( ! function_exists( 'essential_content_testimonial_loop_end' ) ):
|
905 |
+
/**
|
906 |
+
* close wrapper after loop
|
907 |
+
*
|
908 |
+
*/
|
909 |
+
function essential_content_testimonial_loop_end(){
|
910 |
+
echo '</div><!-- .testimonial-content-wrapper -->';
|
911 |
+
}
|
912 |
+
endif;
|
913 |
+
add_action( 'ect_after_testimonial_loop', 'essential_content_testimonial_loop_end', 20 );
|
914 |
+
|
915 |
+
|
916 |
+
if( ! function_exists( 'essential_content_testimonial_section_close' ) ):
|
917 |
+
/**
|
918 |
+
* Close section
|
919 |
+
*
|
920 |
+
* @return html
|
921 |
+
*/
|
922 |
+
function essential_content_testimonial_section_close() {
|
923 |
+
echo '</div><!-- .ect-wrapper -->';
|
924 |
+
echo '</div><!-- .ect-section -->';
|
925 |
+
}
|
926 |
+
endif;
|
927 |
+
add_action( 'ect_after_testimonial_loop', 'essential_content_testimonial_section_close', 30 );
|
928 |
+
|
929 |
+
|
930 |
+
if( ! function_exists( 'essential_content_get_svg' ) ):
|
931 |
+
/**
|
932 |
+
* Return SVG markup.
|
933 |
+
*
|
934 |
+
* @param array $args {
|
935 |
+
* Parameters needed to display an SVG.
|
936 |
+
*
|
937 |
+
* @type string $icon Required SVG icon filename.
|
938 |
+
* @type string $title Optional SVG title.
|
939 |
+
* @type string $desc Optional SVG description.
|
940 |
+
* }
|
941 |
+
* @return string SVG markup.
|
942 |
+
*/
|
943 |
+
function essential_content_get_svg( $args = array() ) {
|
944 |
+
// Make sure $args are an array.
|
945 |
+
if ( empty( $args ) ) {
|
946 |
+
return __( 'Please define default parameters in the form of an array.', 'starter-pro' );
|
947 |
+
}
|
948 |
+
|
949 |
+
// Define an icon.
|
950 |
+
if ( false === array_key_exists( 'icon', $args ) ) {
|
951 |
+
return __( 'Please define an SVG icon filename.', 'starter-pro' );
|
952 |
+
}
|
953 |
+
|
954 |
+
// Set defaults.
|
955 |
+
$defaults = array(
|
956 |
+
'icon' => '',
|
957 |
+
'title' => '',
|
958 |
+
'desc' => '',
|
959 |
+
'fallback' => false,
|
960 |
+
);
|
961 |
+
|
962 |
+
// Parse args.
|
963 |
+
$args = wp_parse_args( $args, $defaults );
|
964 |
+
|
965 |
+
// Set aria hidden.
|
966 |
+
$aria_hidden = ' aria-hidden="true"';
|
967 |
+
|
968 |
+
// Set ARIA.
|
969 |
+
$aria_labelledby = '';
|
970 |
+
|
971 |
+
/*
|
972 |
+
* Starter doesn't use the SVG title or description attributes; non-decorative icons are described with .screen-reader-text.
|
973 |
+
*
|
974 |
+
* However, child themes can use the title and description to add information to non-decorative SVG icons to improve accessibility.
|
975 |
+
*
|
976 |
+
* Example 1 with title: <?php echo starter_get_svg( array( 'icon' => 'arrow-right', 'title' => __( 'This is the title', 'textdomain' ) ) ); ?>
|
977 |
+
*
|
978 |
+
* Example 2 with title and description: <?php echo starter_get_svg( array( 'icon' => 'arrow-right', 'title' => __( 'This is the title', 'textdomain' ), 'desc' => __( 'This is the description', 'textdomain' ) ) ); ?>
|
979 |
+
*
|
980 |
+
* See https://www.paciellogroup.com/blog/2013/12/using-aria-enhance-svg-accessibility/.
|
981 |
+
*/
|
982 |
+
if ( $args['title'] ) {
|
983 |
+
$aria_hidden = '';
|
984 |
+
$unique_id = uniqid();
|
985 |
+
$aria_labelledby = ' aria-labelledby="title-' . $unique_id . '"';
|
986 |
+
|
987 |
+
if ( $args['desc'] ) {
|
988 |
+
$aria_labelledby = ' aria-labelledby="title-' . $unique_id . ' desc-' . $unique_id . '"';
|
989 |
+
}
|
990 |
+
}
|
991 |
+
|
992 |
+
// Begin SVG markup.
|
993 |
+
$svg = '<svg class="icon icon-' . esc_attr( $args['icon'] ) . '"' . $aria_hidden . $aria_labelledby . ' role="img">';
|
994 |
+
|
995 |
+
// Display the title.
|
996 |
+
if ( $args['title'] ) {
|
997 |
+
$svg .= '<title id="title-' . $unique_id . '">' . esc_html( $args['title'] ) . '</title>';
|
998 |
+
|
999 |
+
// Display the desc only if the title is already set.
|
1000 |
+
if ( $args['desc'] ) {
|
1001 |
+
$svg .= '<desc id="desc-' . $unique_id . '">' . esc_html( $args['desc'] ) . '</desc>';
|
1002 |
+
}
|
1003 |
+
}
|
1004 |
+
|
1005 |
+
/*
|
1006 |
+
* Display the icon.
|
1007 |
+
*
|
1008 |
+
* The whitespace around `<use>` is intentional - it is a work around to a keyboard navigation bug in Safari 10.
|
1009 |
+
*
|
1010 |
+
* See https://core.trac.wordpress.org/ticket/38387.
|
1011 |
+
*/
|
1012 |
+
$svg .= ' <use href="#icon-' . esc_html( $args['icon'] ) . '" xlink:href="#icon-' . esc_html( $args['icon'] ) . '"></use> ';
|
1013 |
+
|
1014 |
+
// Add some markup to use as a fallback for browsers that do not support SVGs.
|
1015 |
+
if ( $args['fallback'] ) {
|
1016 |
+
$svg .= '<span class="svg-fallback icon-' . esc_attr( $args['icon'] ) . '"></span>';
|
1017 |
+
}
|
1018 |
+
|
1019 |
+
$svg .= '</svg>';
|
1020 |
+
|
1021 |
+
return $svg;
|
1022 |
+
}
|
1023 |
+
endif;
|
admin/css/admin-dashboard.css
CHANGED
@@ -174,6 +174,7 @@ table td strong {
|
|
174 |
.content-wrapper {
|
175 |
background-color: #fff;
|
176 |
position: relative;
|
|
|
177 |
}
|
178 |
|
179 |
.content-wrapper .content {
|
@@ -667,7 +668,7 @@ li {
|
|
667 |
|
668 |
.catchp-widget-sidebar {
|
669 |
width: 245px;
|
670 |
-
padding: 0 0 0
|
671 |
}
|
672 |
|
673 |
#sidebar {
|
174 |
.content-wrapper {
|
175 |
background-color: #fff;
|
176 |
position: relative;
|
177 |
+
max-width: 1280px;
|
178 |
}
|
179 |
|
180 |
.content-wrapper .content {
|
668 |
|
669 |
.catchp-widget-sidebar {
|
670 |
width: 245px;
|
671 |
+
padding: 0 0 0 50px;
|
672 |
}
|
673 |
|
674 |
#sidebar {
|
admin/css/essential-content-types-admin.css
CHANGED
@@ -35,10 +35,6 @@
|
|
35 |
box-sizing: inherit;
|
36 |
}
|
37 |
|
38 |
-
.ect-main {
|
39 |
-
background-color: #fff;
|
40 |
-
}
|
41 |
-
|
42 |
/*--------------------------------------------------------------
|
43 |
# Clearing
|
44 |
--------------------------------------------------------------*/
|
35 |
box-sizing: inherit;
|
36 |
}
|
37 |
|
|
|
|
|
|
|
|
|
38 |
/*--------------------------------------------------------------
|
39 |
# Clearing
|
40 |
--------------------------------------------------------------*/
|
admin/css/featured-content-shortcode.css
CHANGED
@@ -1,131 +1,351 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
|
|
|
|
|
|
|
|
|
|
6 |
}
|
7 |
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
|
|
|
|
13 |
}
|
|
|
14 |
|
15 |
-
|
16 |
-
|
17 |
-
|
|
|
|
|
|
|
18 |
}
|
19 |
|
20 |
-
.
|
21 |
-
margin
|
22 |
-
width: 48%;
|
23 |
}
|
24 |
|
25 |
-
.featured-content-
|
26 |
-
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
}
|
29 |
|
30 |
-
.featured-content-
|
31 |
-
|
32 |
-
|
|
|
33 |
}
|
34 |
|
35 |
-
.featured-content-
|
36 |
-
|
37 |
-
|
|
|
38 |
}
|
39 |
|
40 |
-
|
41 |
-
|
42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
}
|
44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
clear: both;
|
46 |
}
|
47 |
-
.featured-content-entry-last-item-row {
|
48 |
-
margin-right: 0;
|
49 |
-
}
|
50 |
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
width: 48%;
|
55 |
-
clear:both;
|
56 |
-
}
|
57 |
-
.featured-content-entry-first-item-row {
|
58 |
-
clear:none;
|
59 |
-
}
|
60 |
-
.featured-content-entry-mobile-last-item-row{
|
61 |
-
width: 48%;
|
62 |
-
margin-right: 0;
|
63 |
-
}
|
64 |
-
}
|
65 |
-
/* Entry Header */
|
66 |
-
.featured-content-entry-header {
|
67 |
-
border: 0;
|
68 |
-
margin: 0;
|
69 |
-
padding: 0;
|
70 |
-
}
|
71 |
|
72 |
-
.featured-content-
|
73 |
-
|
74 |
-
|
|
|
|
|
|
|
75 |
}
|
76 |
|
77 |
-
.
|
78 |
-
|
79 |
-
|
80 |
-
max-width: 100%;
|
81 |
-
vertical-align: middle;
|
82 |
}
|
83 |
|
84 |
-
.
|
85 |
-
|
86 |
-
margin: 0;
|
87 |
-
padding: 0;
|
88 |
}
|
89 |
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
|
94 |
-
.
|
95 |
-
|
96 |
-
|
|
|
|
|
|
|
97 |
}
|
98 |
|
99 |
-
|
100 |
-
|
101 |
-
margin: 0;
|
102 |
-
padding: 0;
|
103 |
}
|
104 |
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
|
109 |
-
.featured-content-
|
110 |
-
|
|
|
111 |
}
|
112 |
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
117 |
}
|
118 |
|
119 |
-
|
120 |
-
|
121 |
-
text-decoration: none;
|
122 |
}
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
}
|
128 |
|
129 |
-
|
130 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
}
|
1 |
+
/*--------------------------------------------------------------
|
2 |
+
# Portfolio
|
3 |
+
--------------------------------------------------------------*/
|
4 |
+
/*--------------------------------------------------------------
|
5 |
+
# Element
|
6 |
+
--------------------------------------------------------------*/
|
7 |
+
html {
|
8 |
+
-webkit-box-sizing: border-box;
|
9 |
+
-moz-box-sizing: border-box;
|
10 |
+
box-sizing: border-box;
|
11 |
}
|
12 |
|
13 |
+
*,
|
14 |
+
*:before,
|
15 |
+
*:after {
|
16 |
+
/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
|
17 |
+
-webkit-box-sizing: inherit;
|
18 |
+
-moz-box-sizing: inherit;
|
19 |
+
box-sizing: inherit;
|
20 |
}
|
21 |
+
|
22 |
|
23 |
+
/*--------------------------------------------------------------
|
24 |
+
# Padding/Margin
|
25 |
+
--------------------------------------------------------------*/
|
26 |
+
|
27 |
+
.section-heading-wrapper {
|
28 |
+
padding: 42px 30px;
|
29 |
}
|
30 |
|
31 |
+
.section-title-wrapper {
|
32 |
+
margin: 0;
|
|
|
33 |
}
|
34 |
|
35 |
+
.featured-content-wrapper .page-title,
|
36 |
+
.featured-content-wrapper .entry-title,
|
37 |
+
.featured-content-wrapper .entry-meta,
|
38 |
+
.featured-content-wrapper .entry-summary,
|
39 |
+
.featured-content-wrapper .entry-content,
|
40 |
+
.portfolio-content-wrapper .page-title,
|
41 |
+
.portfolio-content-wrapper .entry-title,
|
42 |
+
.portfolio-content-wrapper .entry-meta,
|
43 |
+
.portfolio-content-wrapper .entry-summary,
|
44 |
+
.portfolio-content-wrapper .entry-content,
|
45 |
+
.service-content-wrapper .page-title,
|
46 |
+
.service-content-wrapper .entry-title,
|
47 |
+
.service-content-wrapper .entry-meta,
|
48 |
+
.service-content-wrapper .entry-summary,
|
49 |
+
.service-content-wrapper .entry-content {
|
50 |
+
margin: 21px 0;
|
51 |
}
|
52 |
|
53 |
+
.featured-content-wrapper .hentry,
|
54 |
+
.portfolio-content-wrapper .hentry,
|
55 |
+
.service-content-wrapper .hentry {
|
56 |
+
margin-bottom: 30px;
|
57 |
}
|
58 |
|
59 |
+
.featured-content-wrapper,
|
60 |
+
.portfolio-content-wrapper,
|
61 |
+
.service-content-wrapper {
|
62 |
+
padding: 0 30px;
|
63 |
}
|
64 |
|
65 |
+
|
66 |
+
/*--------------------------------------------------------------
|
67 |
+
# Clearings
|
68 |
+
--------------------------------------------------------------*/
|
69 |
+
|
70 |
+
.featured-content-wrapper:before,
|
71 |
+
.featured-content-wrapper:after,
|
72 |
+
.portfolio-content-wrapper:before,
|
73 |
+
.portfolio-content-wrapper:after,
|
74 |
+
.service-content-wrapper:before,
|
75 |
+
.service-content-wrapper:after,
|
76 |
+
.entry-content:before,
|
77 |
+
.entry-content:after,
|
78 |
+
.entry-summary:before,
|
79 |
+
.entry-summary:after {
|
80 |
+
content: "";
|
81 |
+
display: table;
|
82 |
}
|
83 |
+
|
84 |
+
.featured-content-wrapper:before,
|
85 |
+
.featured-content-wrapper:after,
|
86 |
+
.portfolio-content-wrapper:before,
|
87 |
+
.portfolio-content-wrapper:after,
|
88 |
+
.service-content-wrapper:before,
|
89 |
+
.service-content-wrapper:after,
|
90 |
+
.entry-content:after,
|
91 |
+
.entry-summary:after {
|
92 |
clear: both;
|
93 |
}
|
|
|
|
|
|
|
94 |
|
95 |
+
/*--------------------------------------------------------------
|
96 |
+
# Posts and pages
|
97 |
+
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
|
99 |
+
.featured-content-wrapper .hentry,
|
100 |
+
.portfolio-content-wrapper .hentry,
|
101 |
+
.service-content-wrapper .hentry {
|
102 |
+
float: left;
|
103 |
+
position: relative;
|
104 |
+
width: 100%;
|
105 |
}
|
106 |
|
107 |
+
.post-thumbnail img {
|
108 |
+
display: block;
|
109 |
+
margin: 0 auto;
|
|
|
|
|
110 |
}
|
111 |
|
112 |
+
.service-content-wrapper .post-thumbnail img {
|
113 |
+
margin: 0 auto;
|
|
|
|
|
114 |
}
|
115 |
|
116 |
+
/*--------------------------------------------------------------
|
117 |
+
# Modules
|
118 |
+
--------------------------------------------------------------*/
|
119 |
|
120 |
+
.section {
|
121 |
+
clear: both;
|
122 |
+
display: block;
|
123 |
+
position: relative;
|
124 |
+
width: 100%;
|
125 |
+
overflow: hidden;
|
126 |
}
|
127 |
|
128 |
+
.section-heading-wrapper {
|
129 |
+
display: block;
|
|
|
|
|
130 |
}
|
131 |
|
132 |
+
/*--------------------------------------------------------------
|
133 |
+
# Featured Content & Portfolio
|
134 |
+
--------------------------------------------------------------*/
|
135 |
|
136 |
+
.featured-content-wrapper .post-thumbnail,
|
137 |
+
.portfolio-content-wrapper .post-thumbnail {
|
138 |
+
width: 100%;
|
139 |
}
|
140 |
|
141 |
+
/*--------------------------------------------------------------
|
142 |
+
# Media Queries
|
143 |
+
--------------------------------------------------------------*/
|
144 |
+
|
145 |
+
/**
|
146 |
+
* Does the same thing as <meta name="viewport" content="width=device-width">,
|
147 |
+
* but in the future W3C standard way. -ms- prefix is required for IE10+ to
|
148 |
+
* render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
|
149 |
+
* the meta tag. See https://core.trac.wordpress.org/ticket/25888.
|
150 |
+
*/
|
151 |
+
@-ms-viewport {
|
152 |
+
width: device-width;
|
153 |
}
|
154 |
|
155 |
+
@viewport {
|
156 |
+
width: device-width;
|
|
|
157 |
}
|
158 |
+
|
159 |
+
/*--------------------------------------------------------------
|
160 |
+
# >= 667px
|
161 |
+
--------------------------------------------------------------*/
|
162 |
+
|
163 |
+
@media screen and (min-width: 41.6875em) {
|
164 |
+
.featured-content-wrapper.layout-four,
|
165 |
+
.portfolio-content-wrapper.layout-four,
|
166 |
+
.service-content-wrapper.layout-four,
|
167 |
+
.featured-content-wrapper.layout-two,
|
168 |
+
.portfolio-content-wrapper.layout-two,
|
169 |
+
.service-content-wrapper.layout-two {
|
170 |
+
margin-left: -15px;
|
171 |
+
margin-right: -15px;
|
172 |
+
}
|
173 |
+
|
174 |
+
.featured-content-wrapper.layout-four .hentry,
|
175 |
+
.portfolio-content-wrapper.layout-four .hentry,
|
176 |
+
.service-content-wrapper.layout-four .hentry,
|
177 |
+
.featured-content-wrapper.layout-two .hentry,
|
178 |
+
.portfolio-content-wrapper.layout-two .hentry,
|
179 |
+
.service-content-wrapper.layout-two .hentry {
|
180 |
+
width: 50%;
|
181 |
+
}
|
182 |
+
|
183 |
+
.featured-content-wrapper.layout-four .hentry,
|
184 |
+
.portfolio-content-wrapper.layout-four .hentry,
|
185 |
+
.service-content-wrapper.layout-four .hentry,
|
186 |
+
.featured-content-wrapper.layout-two .hentry,
|
187 |
+
.portfolio-content-wrapper.layout-two .hentry,
|
188 |
+
.service-content-wrapper.layout-two .hentry {
|
189 |
+
padding: 0 15px;
|
190 |
+
}
|
191 |
+
|
192 |
+
.featured-content-wrapper.layout-two .hentry:nth-child(2n+1),
|
193 |
+
.featured-content-wrapper.layout-four .hentry:nth-child(2n+1),
|
194 |
+
.portfolio-content-wrapper.layout-two .hentry:nth-child(2n+1),
|
195 |
+
.portfolio-content-wrapper.layout-four .hentry:nth-child(2n+1),
|
196 |
+
.service-content-wrapper.layout-two .hentry:nth-child(2n+1),
|
197 |
+
.service-content-wrapper.layout-four .hentry:nth-child(2n+1) {
|
198 |
+
clear: both;
|
199 |
+
}
|
200 |
+
|
201 |
+
#testimonial-content-section.layout-two .hentry {
|
202 |
+
width: 50%;
|
203 |
+
}
|
204 |
+
|
205 |
+
#testimonial-content-section.layout-two .hentry:nth-child(2n+1) {
|
206 |
+
clear: both;
|
207 |
+
}
|
208 |
+
|
209 |
+
.featured-content-wrapper.layout-six,
|
210 |
+
.portfolio-content-wrapper.layout-six,
|
211 |
+
.service-content-wrapper.layout-six,
|
212 |
+
.featured-content-wrapper.layout-three,
|
213 |
+
.portfolio-content-wrapper.layout-three,
|
214 |
+
.service-content-wrapper.layout-three {
|
215 |
+
margin-left: -15px;
|
216 |
+
margin-right: -15px;
|
217 |
+
}
|
218 |
+
|
219 |
+
.featured-content-wrapper.layout-six .hentry,
|
220 |
+
.portfolio-content-wrapper.layout-six .hentry,
|
221 |
+
.service-content-wrapper.layout-six .hentry,
|
222 |
+
.featured-content-wrapper.layout-three .hentry,
|
223 |
+
.portfolio-content-wrapper.layout-three .hentry,
|
224 |
+
.service-content-wrapper.layout-three .hentry {
|
225 |
+
width: 33.33%;
|
226 |
+
}
|
227 |
+
|
228 |
+
.featured-content-wrapper.layout-six .hentry,
|
229 |
+
.portfolio-content-wrapper.layout-six .hentry,
|
230 |
+
.service-content-wrapper.layout-six .hentry,
|
231 |
+
.featured-content-wrapper.layout-three .hentry,
|
232 |
+
.portfolio-content-wrapper.layout-three .hentry,
|
233 |
+
.service-content-wrapper.layout-three .hentry {
|
234 |
+
padding: 0 15px;
|
235 |
+
}
|
236 |
+
|
237 |
+
.featured-content-wrapper.layout-three .hentry-inner .post-thumbnail,
|
238 |
+
.portfolio-content-wrapper.layout-three .hentry-inner .post-thumbnail,
|
239 |
+
.service-content-wrapper.layout-three .hentry-inner .post-thumbnail,
|
240 |
+
.featured-content-wrapper.layout-three .hentry-inner .entry-container,
|
241 |
+
.portfolio-content-wrapper.layout-three .hentry-inner .entry-container,
|
242 |
+
.service-content-wrapper.layout-three .hentry-inner .entry-container {
|
243 |
+
display: block;
|
244 |
+
width: 100%;
|
245 |
+
}
|
246 |
+
|
247 |
+
.featured-content-wrapper.layout-six .hentry:nth-child(3n+1),
|
248 |
+
.portfolio-content-wrapper.layout-six .hentry:nth-child(3n+1),
|
249 |
+
.service-content-wrapper.layout-six .hentry:nth-child(3n+1),
|
250 |
+
.featured-content-wrapper.layout-three .hentry:nth-child(3n+1),
|
251 |
+
.portfolio-content-wrapper.layout-three .hentry:nth-child(3n+1),
|
252 |
+
.service-content-wrapper.layout-three .hentry:nth-child(3n+1) {
|
253 |
+
clear: both;
|
254 |
+
}
|
255 |
}
|
256 |
|
257 |
+
|
258 |
+
/*--------------------------------------------------------------
|
259 |
+
# >= 1024px
|
260 |
+
--------------------------------------------------------------*/
|
261 |
+
|
262 |
+
@media screen and (min-width: 64em) {
|
263 |
+
.featured-content-wrapper,
|
264 |
+
.portfolio-content-wrapper,
|
265 |
+
.service-content-wrapper {
|
266 |
+
padding: 0 25px;
|
267 |
+
}
|
268 |
+
|
269 |
+
.featured-content-wrapper.layout-four .hentry,
|
270 |
+
.portfolio-content-wrapper.layout-four .hentry,
|
271 |
+
.service-content-wrapper.layout-four .hentry,
|
272 |
+
.featured-content-wrapper.layout-three .hentry,
|
273 |
+
.portfolio-content-wrapper.layout-three .hentry,
|
274 |
+
.service-content-wrapper.layout-three .hentry,
|
275 |
+
.featured-content-wrapper.layout-two .hentry,
|
276 |
+
.portfolio-content-wrapper.layout-two .hentry,
|
277 |
+
.service-content-wrapper.layout-two .hentry {
|
278 |
+
padding: 0 25px;
|
279 |
+
}
|
280 |
+
|
281 |
+
.featured-content-wrapper.layout-six,
|
282 |
+
.portfolio-content-wrapper.layout-six,
|
283 |
+
.service-content-wrapper.layout-six,
|
284 |
+
.featured-content-wrapper.layout-four,
|
285 |
+
.portfolio-content-wrapper.layout-four,
|
286 |
+
.service-content-wrapper.layout-four,
|
287 |
+
.featured-content-wrapper.layout-three,
|
288 |
+
.portfolio-content-wrapper.layout-three,
|
289 |
+
.service-content-wrapper.layout-three
|
290 |
+
.featured-content-wrapper.layout-two,
|
291 |
+
.portfolio-content-wrapper.layout-two,
|
292 |
+
.service-content-wrapper.layout-two {
|
293 |
+
margin-left: 0;
|
294 |
+
margin-right: 0;
|
295 |
+
}
|
296 |
+
|
297 |
+
.featured-content-wrapper.layout-four .hentry:nth-child(2n+1),
|
298 |
+
.portfolio-content-wrapper.layout-four .hentry:nth-child(2n+1),
|
299 |
+
.service-content-wrapper.layout-four .hentry:nth-child(2n+1) {
|
300 |
+
clear: none;
|
301 |
+
}
|
302 |
+
|
303 |
+
.featured-content-wrapper.layout-four .hentry:nth-child(4n+1),
|
304 |
+
.portfolio-content-wrapper.layout-four .hentry:nth-child(4n+1),
|
305 |
+
.service-content-wrapper.layout-four .hentry:nth-child(4n+1) {
|
306 |
+
clear: both;
|
307 |
+
}
|
308 |
+
|
309 |
+
.featured-content-wrapper.layout-six .hentry:nth-child(3n+1),
|
310 |
+
.portfolio-content-wrapper.layout-six .hentry:nth-child(3n+1),
|
311 |
+
.service-content-wrapper.layout-six .hentry:nth-child(3n+1) {
|
312 |
+
clear: none;
|
313 |
+
}
|
314 |
+
|
315 |
+
.featured-content-wrapper.layout-five .hentry:nth-child(5n+1),
|
316 |
+
.portfolio-content-wrapper.layout-five .hentry:nth-child(5n+1),
|
317 |
+
.service-content-wrapper.layout-five .hentry:nth-child(5n+1) {
|
318 |
+
clear: both;
|
319 |
+
}
|
320 |
+
|
321 |
+
.featured-content-wrapper.layout-six .hentry:nth-child(6n+1),
|
322 |
+
.portfolio-content-wrapper.layout-six .hentry:nth-child(6n+1),
|
323 |
+
.service-content-wrapper.layout-six .hentry:nth-child(6n+1) {
|
324 |
+
clear: both;
|
325 |
+
}
|
326 |
+
|
327 |
+
.featured-content-wrapper.layout-four .hentry,
|
328 |
+
.portfolio-content-wrapper.layout-four .hentry,
|
329 |
+
.service-content-wrapper.layout-four .hentry {
|
330 |
+
width: 25%;
|
331 |
+
padding: 0 15px;
|
332 |
+
}
|
333 |
+
|
334 |
+
.featured-content-wrapper.layout-five .hentry,
|
335 |
+
.portfolio-content-wrapper.layout-five .hentry,
|
336 |
+
.service-content-wrapper.layout-five .hentry {
|
337 |
+
width: 20%;
|
338 |
+
padding: 0 15px;
|
339 |
+
}
|
340 |
+
|
341 |
+
.featured-content-wrapper.layout-six .hentry,
|
342 |
+
.portfolio-content-wrapper.layout-six .hentry,
|
343 |
+
.service-content-wrapper.layout-six .hentry {
|
344 |
+
width: 16.66666666666667%;
|
345 |
+
padding: 0 15px;
|
346 |
+
}
|
347 |
+
|
348 |
+
#testimonial-content-section .hentry {
|
349 |
+
padding: 0 25px 56px;
|
350 |
+
}
|
351 |
}
|
admin/css/food-menu-shortcode.css
CHANGED
@@ -1,137 +1,156 @@
|
|
|
|
|
|
|
|
1 |
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
4 |
}
|
5 |
|
6 |
-
|
7 |
-
|
|
|
|
|
|
|
|
|
|
|
8 |
}
|
9 |
|
10 |
-
.
|
11 |
-
|
12 |
-
|
13 |
}
|
14 |
|
15 |
-
.
|
16 |
-
|
|
|
17 |
}
|
18 |
|
19 |
-
|
20 |
-
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
22 |
}
|
23 |
|
24 |
-
.
|
25 |
-
|
26 |
-
|
27 |
-
table-layout: fixed;
|
28 |
-
width: 100%;
|
29 |
}
|
30 |
|
31 |
-
.
|
32 |
-
|
33 |
}
|
34 |
|
35 |
-
.
|
36 |
-
margin-
|
37 |
}
|
38 |
|
39 |
-
.
|
40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
}
|
42 |
|
43 |
-
.
|
44 |
-
.page-template-menu-page .entry-price {
|
45 |
display: table-cell;
|
46 |
vertical-align: top;
|
47 |
}
|
48 |
|
|
|
|
|
|
|
49 |
|
|
|
|
|
|
|
|
|
|
|
50 |
|
51 |
-
.
|
52 |
-
|
53 |
}
|
54 |
|
55 |
-
|
|
|
|
|
56 |
|
57 |
-
|
58 |
-
font-size: 21px;
|
59 |
-
font-size: 1.3125rem;
|
60 |
-
}
|
61 |
|
62 |
-
|
63 |
-
|
|
|
|
|
64 |
}
|
65 |
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
}
|
71 |
-
}
|
72 |
-
|
73 |
-
@media screen and (min-width: 50.75em) {
|
74 |
|
75 |
-
.
|
76 |
-
|
|
|
77 |
}
|
78 |
-
}
|
79 |
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
font-size: 1.5rem;
|
84 |
}
|
85 |
|
86 |
-
.
|
87 |
-
|
88 |
}
|
89 |
|
90 |
-
.
|
91 |
-
padding-
|
92 |
-
padding-right: 0;
|
93 |
}
|
94 |
-
}
|
95 |
-
|
96 |
-
.page-template-menu-page .ect-food-menu-shortcode .menu-items .hentry-inner {
|
97 |
-
border-color: #f2f2f2;
|
98 |
-
}
|
99 |
-
|
100 |
-
|
101 |
-
.page-template-menu-page .ect-food-menu-shortcode {
|
102 |
-
padding-top: 0px;
|
103 |
-
}
|
104 |
|
105 |
-
.
|
106 |
-
|
107 |
-
|
|
|
108 |
}
|
109 |
|
110 |
-
.
|
111 |
text-decoration: none;
|
112 |
}
|
113 |
|
114 |
-
|
115 |
-
.
|
116 |
-
|
117 |
-
|
118 |
-
table-layout: fixed;
|
119 |
-
width: 100%;
|
120 |
}
|
121 |
|
122 |
-
.
|
123 |
-
margin-bottom:
|
124 |
}
|
125 |
|
126 |
-
.
|
127 |
-
|
128 |
-
|
|
|
129 |
|
130 |
-
.
|
131 |
-
|
132 |
}
|
133 |
|
134 |
-
.
|
135 |
-
|
136 |
-
|
137 |
-
|
|
1 |
+
/*--------------------------------------------------------------
|
2 |
+
# Food Menu
|
3 |
+
--------------------------------------------------------------*/
|
4 |
|
5 |
+
/*--------------------------------------------------------------
|
6 |
+
# Element
|
7 |
+
--------------------------------------------------------------*/
|
8 |
+
html {
|
9 |
+
-webkit-box-sizing: border-box;
|
10 |
+
-moz-box-sizing: border-box;
|
11 |
+
box-sizing: border-box;
|
12 |
}
|
13 |
|
14 |
+
*,
|
15 |
+
*:before,
|
16 |
+
*:after {
|
17 |
+
/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
|
18 |
+
-webkit-box-sizing: inherit;
|
19 |
+
-moz-box-sizing: inherit;
|
20 |
+
box-sizing: inherit;
|
21 |
}
|
22 |
|
23 |
+
.menu-content-wrapper {
|
24 |
+
max-width: 1080px;
|
25 |
+
margin: 0 auto;
|
26 |
}
|
27 |
|
28 |
+
.menu-content-wrapper .ui-nav-collapse {
|
29 |
+
margin: 0;
|
30 |
+
margin-bottom: 21px;
|
31 |
}
|
32 |
|
33 |
+
|
34 |
+
.menu-content-wrapper .ui-nav-collapse,
|
35 |
+
.menu-content-wrapper .ui-tabs-anchor {
|
36 |
+
display: block;
|
37 |
+
font-size: 20px;
|
38 |
+
font-size: 1.25rem;
|
39 |
+
font-weight: 500;
|
40 |
+
text-transform: capitalize;
|
41 |
}
|
42 |
|
43 |
+
.menu-content-wrapper .tabs-nav,
|
44 |
+
.menu-content-wrapper .ui-tabs-panel {
|
45 |
+
display: none;
|
|
|
|
|
46 |
}
|
47 |
|
48 |
+
.menu-content-wrapper .ui-tabs-panel.active-tab {
|
49 |
+
display: block;
|
50 |
}
|
51 |
|
52 |
+
.menu-content-wrapper .hentry {
|
53 |
+
margin-bottom: 21px;
|
54 |
}
|
55 |
|
56 |
+
.menu-content-wrapper .hentry-inner {
|
57 |
+
border-bottom: 3px solid #eee;
|
58 |
+
padding-bottom: 21px;
|
59 |
+
}
|
60 |
+
|
61 |
+
.menu-content-wrapper .entry-container {
|
62 |
+
display: table;
|
63 |
+
position: relative;
|
64 |
+
table-layout: fixed;
|
65 |
+
width: 100%;
|
66 |
}
|
67 |
|
68 |
+
.menu-content-wrapper .entry-description, .entry-price {
|
|
|
69 |
display: table-cell;
|
70 |
vertical-align: top;
|
71 |
}
|
72 |
|
73 |
+
.menu-content-wrapper .entry-description {
|
74 |
+
width: 70%;
|
75 |
+
}
|
76 |
|
77 |
+
.entry-price {
|
78 |
+
padding-top: 4px;
|
79 |
+
width: 30%;
|
80 |
+
text-align: right;
|
81 |
+
}
|
82 |
|
83 |
+
.menu-group-header {
|
84 |
+
display: none;
|
85 |
}
|
86 |
|
87 |
+
/*--------------------------------------------------------------
|
88 |
+
# >= 667px
|
89 |
+
--------------------------------------------------------------*/
|
90 |
|
91 |
+
@media screen and (min-width: 41.6875em) {
|
|
|
|
|
|
|
92 |
|
93 |
+
/*menu-content-wrapper*/
|
94 |
+
.menu-content-wrapper .tabs-nav {
|
95 |
+
display: block;
|
96 |
+
margin-bottom: 35px;
|
97 |
}
|
98 |
|
99 |
+
.menu-content-wrapper .ui-tabs-nav {
|
100 |
+
margin: 0;
|
101 |
+
padding: 0;
|
102 |
+
text-align: center;
|
103 |
}
|
|
|
|
|
|
|
104 |
|
105 |
+
.menu-content-wrapper .ui-tabs-nav li {
|
106 |
+
display: inline-block;
|
107 |
+
list-style: none;
|
108 |
}
|
|
|
109 |
|
110 |
+
.menu-content-wrapper .ui-tabs-anchor {
|
111 |
+
display: inline-block;
|
112 |
+
padding: 14px 25px;
|
|
|
113 |
}
|
114 |
|
115 |
+
.menu-content-wrapper .ui-nav-collapse {
|
116 |
+
display: none;
|
117 |
}
|
118 |
|
119 |
+
.menu-content-wrapper .hentry-inner {
|
120 |
+
padding-bottom: 28px;
|
|
|
121 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
|
123 |
+
.entry-price {
|
124 |
+
font-size: 18px;
|
125 |
+
font-size: 1.125rem;
|
126 |
+
}
|
127 |
}
|
128 |
|
129 |
+
.menu-content-wrapper a {
|
130 |
text-decoration: none;
|
131 |
}
|
132 |
|
133 |
+
.menu-content-wrapper .entry-title,
|
134 |
+
.menu-content-wrapper .entry-header {
|
135 |
+
margin-bottom: 0;
|
136 |
+
padding: 0;
|
|
|
|
|
137 |
}
|
138 |
|
139 |
+
.menu-content-wrapper .entry-title {
|
140 |
+
margin-bottom: 7px;
|
141 |
}
|
142 |
|
143 |
+
body.ect-post .content-area .singular-content-wrap .menu-content-wrapper .entry-content {
|
144 |
+
padding-top: 0;
|
145 |
+
margin-top: 21px;
|
146 |
+
}
|
147 |
|
148 |
+
.ect-post .menu-content-wrapper .more-button {
|
149 |
+
text-align: left;
|
150 |
}
|
151 |
|
152 |
+
.ect-post .singular-content-wrap .entry-content .entry-header,
|
153 |
+
.ect-post .entry-content,
|
154 |
+
.ect-post .ect-menu .menu-content-wrapper .entry-header {
|
155 |
+
text-align: left;
|
156 |
+
}
|
admin/css/portfolio-shortcode.css
CHANGED
@@ -1,131 +1,351 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
|
|
|
|
|
|
|
|
|
|
6 |
}
|
7 |
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
|
|
|
|
13 |
}
|
|
|
14 |
|
15 |
-
|
16 |
-
|
17 |
-
|
|
|
|
|
|
|
18 |
}
|
19 |
|
20 |
-
.
|
21 |
-
margin
|
22 |
-
width: 48%;
|
23 |
}
|
24 |
|
25 |
-
.
|
26 |
-
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
}
|
29 |
|
30 |
-
.
|
31 |
-
|
32 |
-
|
|
|
33 |
}
|
34 |
|
35 |
-
.
|
36 |
-
|
37 |
-
|
|
|
38 |
}
|
39 |
|
40 |
-
|
41 |
-
|
42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
}
|
44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
clear: both;
|
46 |
}
|
47 |
-
.portfolio-entry-last-item-row {
|
48 |
-
margin-right: 0;
|
49 |
-
}
|
50 |
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
width: 48%;
|
55 |
-
clear:both;
|
56 |
-
}
|
57 |
-
.portfolio-entry-first-item-row {
|
58 |
-
clear:none;
|
59 |
-
}
|
60 |
-
.portfolio-entry-mobile-last-item-row{
|
61 |
-
width: 48%;
|
62 |
-
margin-right: 0;
|
63 |
-
}
|
64 |
-
}
|
65 |
-
/* Entry Header */
|
66 |
-
.portfolio-entry-header {
|
67 |
-
border: 0;
|
68 |
-
margin: 0;
|
69 |
-
padding: 0;
|
70 |
-
}
|
71 |
|
72 |
-
.
|
73 |
-
|
74 |
-
|
|
|
|
|
|
|
75 |
}
|
76 |
|
77 |
-
.
|
78 |
-
|
79 |
-
|
80 |
-
max-width: 100%;
|
81 |
-
vertical-align: middle;
|
82 |
}
|
83 |
|
84 |
-
.
|
85 |
-
|
86 |
-
margin: 0;
|
87 |
-
padding: 0;
|
88 |
}
|
89 |
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
|
94 |
-
.
|
95 |
-
|
96 |
-
|
|
|
|
|
|
|
97 |
}
|
98 |
|
99 |
-
|
100 |
-
|
101 |
-
margin: 0;
|
102 |
-
padding: 0;
|
103 |
}
|
104 |
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
|
109 |
-
.
|
110 |
-
|
|
|
111 |
}
|
112 |
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
117 |
}
|
118 |
|
119 |
-
|
120 |
-
|
121 |
-
text-decoration: none;
|
122 |
}
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
}
|
128 |
|
129 |
-
|
130 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
}
|
1 |
+
/*--------------------------------------------------------------
|
2 |
+
# Portfolio
|
3 |
+
--------------------------------------------------------------*/
|
4 |
+
/*--------------------------------------------------------------
|
5 |
+
# Element
|
6 |
+
--------------------------------------------------------------*/
|
7 |
+
html {
|
8 |
+
-webkit-box-sizing: border-box;
|
9 |
+
-moz-box-sizing: border-box;
|
10 |
+
box-sizing: border-box;
|
11 |
}
|
12 |
|
13 |
+
*,
|
14 |
+
*:before,
|
15 |
+
*:after {
|
16 |
+
/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
|
17 |
+
-webkit-box-sizing: inherit;
|
18 |
+
-moz-box-sizing: inherit;
|
19 |
+
box-sizing: inherit;
|
20 |
}
|
21 |
+
|
22 |
|
23 |
+
/*--------------------------------------------------------------
|
24 |
+
# Padding/Margin
|
25 |
+
--------------------------------------------------------------*/
|
26 |
+
|
27 |
+
.section-heading-wrapper {
|
28 |
+
padding: 42px 30px;
|
29 |
}
|
30 |
|
31 |
+
.section-title-wrapper {
|
32 |
+
margin: 0;
|
|
|
33 |
}
|
34 |
|
35 |
+
.featured-content-wrapper .page-title,
|
36 |
+
.featured-content-wrapper .entry-title,
|
37 |
+
.featured-content-wrapper .entry-meta,
|
38 |
+
.featured-content-wrapper .entry-summary,
|
39 |
+
.featured-content-wrapper .entry-content,
|
40 |
+
.portfolio-content-wrapper .page-title,
|
41 |
+
.portfolio-content-wrapper .entry-title,
|
42 |
+
.portfolio-content-wrapper .entry-meta,
|
43 |
+
.portfolio-content-wrapper .entry-summary,
|
44 |
+
.portfolio-content-wrapper .entry-content,
|
45 |
+
.service-content-wrapper .page-title,
|
46 |
+
.service-content-wrapper .entry-title,
|
47 |
+
.service-content-wrapper .entry-meta,
|
48 |
+
.service-content-wrapper .entry-summary,
|
49 |
+
.service-content-wrapper .entry-content {
|
50 |
+
margin: 21px 0;
|
51 |
}
|
52 |
|
53 |
+
.featured-content-wrapper .hentry,
|
54 |
+
.portfolio-content-wrapper .hentry,
|
55 |
+
.service-content-wrapper .hentry {
|
56 |
+
margin-bottom: 30px;
|
57 |
}
|
58 |
|
59 |
+
.featured-content-wrapper,
|
60 |
+
.portfolio-content-wrapper,
|
61 |
+
.service-content-wrapper {
|
62 |
+
padding: 0 30px;
|
63 |
}
|
64 |
|
65 |
+
|
66 |
+
/*--------------------------------------------------------------
|
67 |
+
# Clearings
|
68 |
+
--------------------------------------------------------------*/
|
69 |
+
|
70 |
+
.featured-content-wrapper:before,
|
71 |
+
.featured-content-wrapper:after,
|
72 |
+
.portfolio-content-wrapper:before,
|
73 |
+
.portfolio-content-wrapper:after,
|
74 |
+
.service-content-wrapper:before,
|
75 |
+
.service-content-wrapper:after,
|
76 |
+
.entry-content:before,
|
77 |
+
.entry-content:after,
|
78 |
+
.entry-summary:before,
|
79 |
+
.entry-summary:after {
|
80 |
+
content: "";
|
81 |
+
display: table;
|
82 |
}
|
83 |
+
|
84 |
+
.featured-content-wrapper:before,
|
85 |
+
.featured-content-wrapper:after,
|
86 |
+
.portfolio-content-wrapper:before,
|
87 |
+
.portfolio-content-wrapper:after,
|
88 |
+
.service-content-wrapper:before,
|
89 |
+
.service-content-wrapper:after,
|
90 |
+
.entry-content:after,
|
91 |
+
.entry-summary:after {
|
92 |
clear: both;
|
93 |
}
|
|
|
|
|
|
|
94 |
|
95 |
+
/*--------------------------------------------------------------
|
96 |
+
# Posts and pages
|
97 |
+
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
|
99 |
+
.featured-content-wrapper .hentry,
|
100 |
+
.portfolio-content-wrapper .hentry,
|
101 |
+
.service-content-wrapper .hentry {
|
102 |
+
float: left;
|
103 |
+
position: relative;
|
104 |
+
width: 100%;
|
105 |
}
|
106 |
|
107 |
+
.post-thumbnail img {
|
108 |
+
display: block;
|
109 |
+
margin: 0 auto;
|
|
|
|
|
110 |
}
|
111 |
|
112 |
+
.service-content-wrapper .post-thumbnail img {
|
113 |
+
margin: 0 auto;
|
|
|
|
|
114 |
}
|
115 |
|
116 |
+
/*--------------------------------------------------------------
|
117 |
+
# Modules
|
118 |
+
--------------------------------------------------------------*/
|
119 |
|
120 |
+
.section {
|
121 |
+
clear: both;
|
122 |
+
display: block;
|
123 |
+
position: relative;
|
124 |
+
width: 100%;
|
125 |
+
overflow: hidden;
|
126 |
}
|
127 |
|
128 |
+
.section-heading-wrapper {
|
129 |
+
display: block;
|
|
|
|
|
130 |
}
|
131 |
|
132 |
+
/*--------------------------------------------------------------
|
133 |
+
# Featured Content & Portfolio
|
134 |
+
--------------------------------------------------------------*/
|
135 |
|
136 |
+
.featured-content-wrapper .post-thumbnail,
|
137 |
+
.portfolio-content-wrapper .post-thumbnail {
|
138 |
+
width: 100%;
|
139 |
}
|
140 |
|
141 |
+
/*--------------------------------------------------------------
|
142 |
+
# Media Queries
|
143 |
+
--------------------------------------------------------------*/
|
144 |
+
|
145 |
+
/**
|
146 |
+
* Does the same thing as <meta name="viewport" content="width=device-width">,
|
147 |
+
* but in the future W3C standard way. -ms- prefix is required for IE10+ to
|
148 |
+
* render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
|
149 |
+
* the meta tag. See https://core.trac.wordpress.org/ticket/25888.
|
150 |
+
*/
|
151 |
+
@-ms-viewport {
|
152 |
+
width: device-width;
|
153 |
}
|
154 |
|
155 |
+
@viewport {
|
156 |
+
width: device-width;
|
|
|
157 |
}
|
158 |
+
|
159 |
+
/*--------------------------------------------------------------
|
160 |
+
# >= 667px
|
161 |
+
--------------------------------------------------------------*/
|
162 |
+
|
163 |
+
@media screen and (min-width: 41.6875em) {
|
164 |
+
.featured-content-wrapper.layout-four,
|
165 |
+
.portfolio-content-wrapper.layout-four,
|
166 |
+
.service-content-wrapper.layout-four,
|
167 |
+
.featured-content-wrapper.layout-two,
|
168 |
+
.portfolio-content-wrapper.layout-two,
|
169 |
+
.service-content-wrapper.layout-two {
|
170 |
+
margin-left: -15px;
|
171 |
+
margin-right: -15px;
|
172 |
+
}
|
173 |
+
|
174 |
+
.featured-content-wrapper.layout-four .hentry,
|
175 |
+
.portfolio-content-wrapper.layout-four .hentry,
|
176 |
+
.service-content-wrapper.layout-four .hentry,
|
177 |
+
.featured-content-wrapper.layout-two .hentry,
|
178 |
+
.portfolio-content-wrapper.layout-two .hentry,
|
179 |
+
.service-content-wrapper.layout-two .hentry {
|
180 |
+
width: 50%;
|
181 |
+
}
|
182 |
+
|
183 |
+
.featured-content-wrapper.layout-four .hentry,
|
184 |
+
.portfolio-content-wrapper.layout-four .hentry,
|
185 |
+
.service-content-wrapper.layout-four .hentry,
|
186 |
+
.featured-content-wrapper.layout-two .hentry,
|
187 |
+
.portfolio-content-wrapper.layout-two .hentry,
|
188 |
+
.service-content-wrapper.layout-two .hentry {
|
189 |
+
padding: 0 15px;
|
190 |
+
}
|
191 |
+
|
192 |
+
.featured-content-wrapper.layout-two .hentry:nth-child(2n+1),
|
193 |
+
.featured-content-wrapper.layout-four .hentry:nth-child(2n+1),
|
194 |
+
.portfolio-content-wrapper.layout-two .hentry:nth-child(2n+1),
|
195 |
+
.portfolio-content-wrapper.layout-four .hentry:nth-child(2n+1),
|
196 |
+
.service-content-wrapper.layout-two .hentry:nth-child(2n+1),
|
197 |
+
.service-content-wrapper.layout-four .hentry:nth-child(2n+1) {
|
198 |
+
clear: both;
|
199 |
+
}
|
200 |
+
|
201 |
+
#testimonial-content-section.layout-two .hentry {
|
202 |
+
width: 50%;
|
203 |
+
}
|
204 |
+
|
205 |
+
#testimonial-content-section.layout-two .hentry:nth-child(2n+1) {
|
206 |
+
clear: both;
|
207 |
+
}
|
208 |
+
|
209 |
+
.featured-content-wrapper.layout-six,
|
210 |
+
.portfolio-content-wrapper.layout-six,
|
211 |
+
.service-content-wrapper.layout-six,
|
212 |
+
.featured-content-wrapper.layout-three,
|
213 |
+
.portfolio-content-wrapper.layout-three,
|
214 |
+
.service-content-wrapper.layout-three {
|
215 |
+
margin-left: -15px;
|
216 |
+
margin-right: -15px;
|
217 |
+
}
|
218 |
+
|
219 |
+
.featured-content-wrapper.layout-six .hentry,
|
220 |
+
.portfolio-content-wrapper.layout-six .hentry,
|
221 |
+
.service-content-wrapper.layout-six .hentry,
|
222 |
+
.featured-content-wrapper.layout-three .hentry,
|
223 |
+
.portfolio-content-wrapper.layout-three .hentry,
|
224 |
+
.service-content-wrapper.layout-three .hentry {
|
225 |
+
width: 33.33%;
|
226 |
+
}
|
227 |
+
|
228 |
+
.featured-content-wrapper.layout-six .hentry,
|
229 |
+
.portfolio-content-wrapper.layout-six .hentry,
|
230 |
+
.service-content-wrapper.layout-six .hentry,
|
231 |
+
.featured-content-wrapper.layout-three .hentry,
|
232 |
+
.portfolio-content-wrapper.layout-three .hentry,
|
233 |
+
.service-content-wrapper.layout-three .hentry {
|
234 |
+
padding: 0 15px;
|
235 |
+
}
|
236 |
+
|
237 |
+
.featured-content-wrapper.layout-three .hentry-inner .post-thumbnail,
|
238 |
+
.portfolio-content-wrapper.layout-three .hentry-inner .post-thumbnail,
|
239 |
+
.service-content-wrapper.layout-three .hentry-inner .post-thumbnail,
|
240 |
+
.featured-content-wrapper.layout-three .hentry-inner .entry-container,
|
241 |
+
.portfolio-content-wrapper.layout-three .hentry-inner .entry-container,
|
242 |
+
.service-content-wrapper.layout-three .hentry-inner .entry-container {
|
243 |
+
display: block;
|
244 |
+
width: 100%;
|
245 |
+
}
|
246 |
+
|
247 |
+
.featured-content-wrapper.layout-six .hentry:nth-child(3n+1),
|
248 |
+
.portfolio-content-wrapper.layout-six .hentry:nth-child(3n+1),
|
249 |
+
.service-content-wrapper.layout-six .hentry:nth-child(3n+1),
|
250 |
+
.featured-content-wrapper.layout-three .hentry:nth-child(3n+1),
|
251 |
+
.portfolio-content-wrapper.layout-three .hentry:nth-child(3n+1),
|
252 |
+
.service-content-wrapper.layout-three .hentry:nth-child(3n+1) {
|
253 |
+
clear: both;
|
254 |
+
}
|
255 |
}
|
256 |
|
257 |
+
|
258 |
+
/*--------------------------------------------------------------
|
259 |
+
# >= 1024px
|
260 |
+
--------------------------------------------------------------*/
|
261 |
+
|
262 |
+
@media screen and (min-width: 64em) {
|
263 |
+
.featured-content-wrapper,
|
264 |
+
.portfolio-content-wrapper,
|
265 |
+
.service-content-wrapper {
|
266 |
+
padding: 0 25px;
|
267 |
+
}
|
268 |
+
|
269 |
+
.featured-content-wrapper.layout-four .hentry,
|
270 |
+
.portfolio-content-wrapper.layout-four .hentry,
|
271 |
+
.service-content-wrapper.layout-four .hentry,
|
272 |
+
.featured-content-wrapper.layout-three .hentry,
|
273 |
+
.portfolio-content-wrapper.layout-three .hentry,
|
274 |
+
.service-content-wrapper.layout-three .hentry,
|
275 |
+
.featured-content-wrapper.layout-two .hentry,
|
276 |
+
.portfolio-content-wrapper.layout-two .hentry,
|
277 |
+
.service-content-wrapper.layout-two .hentry {
|
278 |
+
padding: 0 25px;
|
279 |
+
}
|
280 |
+
|
281 |
+
.featured-content-wrapper.layout-six,
|
282 |
+
.portfolio-content-wrapper.layout-six,
|
283 |
+
.service-content-wrapper.layout-six,
|
284 |
+
.featured-content-wrapper.layout-four,
|
285 |
+
.portfolio-content-wrapper.layout-four,
|
286 |
+
.service-content-wrapper.layout-four,
|
287 |
+
.featured-content-wrapper.layout-three,
|
288 |
+
.portfolio-content-wrapper.layout-three,
|
289 |
+
.service-content-wrapper.layout-three
|
290 |
+
.featured-content-wrapper.layout-two,
|
291 |
+
.portfolio-content-wrapper.layout-two,
|
292 |
+
.service-content-wrapper.layout-two {
|
293 |
+
margin-left: 0;
|
294 |
+
margin-right: 0;
|
295 |
+
}
|
296 |
+
|
297 |
+
.featured-content-wrapper.layout-four .hentry:nth-child(2n+1),
|
298 |
+
.portfolio-content-wrapper.layout-four .hentry:nth-child(2n+1),
|
299 |
+
.service-content-wrapper.layout-four .hentry:nth-child(2n+1) {
|
300 |
+
clear: none;
|
301 |
+
}
|
302 |
+
|
303 |
+
.featured-content-wrapper.layout-four .hentry:nth-child(4n+1),
|
304 |
+
.portfolio-content-wrapper.layout-four .hentry:nth-child(4n+1),
|
305 |
+
.service-content-wrapper.layout-four .hentry:nth-child(4n+1) {
|
306 |
+
clear: both;
|
307 |
+
}
|
308 |
+
|
309 |
+
.featured-content-wrapper.layout-six .hentry:nth-child(3n+1),
|
310 |
+
.portfolio-content-wrapper.layout-six .hentry:nth-child(3n+1),
|
311 |
+
.service-content-wrapper.layout-six .hentry:nth-child(3n+1) {
|
312 |
+
clear: none;
|
313 |
+
}
|
314 |
+
|
315 |
+
.featured-content-wrapper.layout-five .hentry:nth-child(5n+1),
|
316 |
+
.portfolio-content-wrapper.layout-five .hentry:nth-child(5n+1),
|
317 |
+
.service-content-wrapper.layout-five .hentry:nth-child(5n+1) {
|
318 |
+
clear: both;
|
319 |
+
}
|
320 |
+
|
321 |
+
.featured-content-wrapper.layout-six .hentry:nth-child(6n+1),
|
322 |
+
.portfolio-content-wrapper.layout-six .hentry:nth-child(6n+1),
|
323 |
+
.service-content-wrapper.layout-six .hentry:nth-child(6n+1) {
|
324 |
+
clear: both;
|
325 |
+
}
|
326 |
+
|
327 |
+
.featured-content-wrapper.layout-four .hentry,
|
328 |
+
.portfolio-content-wrapper.layout-four .hentry,
|
329 |
+
.service-content-wrapper.layout-four .hentry {
|
330 |
+
width: 25%;
|
331 |
+
padding: 0 15px;
|
332 |
+
}
|
333 |
+
|
334 |
+
.featured-content-wrapper.layout-five .hentry,
|
335 |
+
.portfolio-content-wrapper.layout-five .hentry,
|
336 |
+
.service-content-wrapper.layout-five .hentry {
|
337 |
+
width: 20%;
|
338 |
+
padding: 0 15px;
|
339 |
+
}
|
340 |
+
|
341 |
+
.featured-content-wrapper.layout-six .hentry,
|
342 |
+
.portfolio-content-wrapper.layout-six .hentry,
|
343 |
+
.service-content-wrapper.layout-six .hentry {
|
344 |
+
width: 16.66666666666667%;
|
345 |
+
padding: 0 15px;
|
346 |
+
}
|
347 |
+
|
348 |
+
#testimonial-content-section .hentry {
|
349 |
+
padding: 0 25px 56px;
|
350 |
+
}
|
351 |
}
|
admin/css/service-shortcode.css
CHANGED
@@ -1,131 +1,351 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
|
|
|
|
|
|
|
|
|
|
6 |
}
|
7 |
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
|
|
|
|
13 |
}
|
|
|
14 |
|
15 |
-
|
16 |
-
|
17 |
-
|
|
|
|
|
|
|
18 |
}
|
19 |
|
20 |
-
.
|
21 |
-
margin
|
22 |
-
width: 48%;
|
23 |
}
|
24 |
|
25 |
-
.
|
26 |
-
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
}
|
29 |
|
30 |
-
.
|
31 |
-
|
32 |
-
|
|
|
33 |
}
|
34 |
|
35 |
-
.
|
36 |
-
|
37 |
-
|
|
|
38 |
}
|
39 |
|
40 |
-
|
41 |
-
|
42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
}
|
44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
clear: both;
|
46 |
}
|
47 |
-
.service-entry-last-item-row {
|
48 |
-
margin-right: 0;
|
49 |
-
}
|
50 |
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
width: 48%;
|
55 |
-
clear:both;
|
56 |
-
}
|
57 |
-
.service-entry-first-item-row {
|
58 |
-
clear:none;
|
59 |
-
}
|
60 |
-
.service-entry-mobile-last-item-row{
|
61 |
-
width: 48%;
|
62 |
-
margin-right: 0;
|
63 |
-
}
|
64 |
-
}
|
65 |
-
/* Entry Header */
|
66 |
-
.service-entry-header {
|
67 |
-
border: 0;
|
68 |
-
margin: 0;
|
69 |
-
padding: 0;
|
70 |
-
}
|
71 |
|
72 |
-
.
|
73 |
-
|
74 |
-
|
|
|
|
|
|
|
75 |
}
|
76 |
|
77 |
-
.
|
78 |
-
|
79 |
-
|
80 |
-
max-width: 100%;
|
81 |
-
vertical-align: middle;
|
82 |
}
|
83 |
|
84 |
-
.service-
|
85 |
-
|
86 |
-
margin: 0;
|
87 |
-
padding: 0;
|
88 |
}
|
89 |
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
|
94 |
-
.
|
95 |
-
|
96 |
-
|
|
|
|
|
|
|
97 |
}
|
98 |
|
99 |
-
|
100 |
-
|
101 |
-
margin: 0;
|
102 |
-
padding: 0;
|
103 |
}
|
104 |
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
|
109 |
-
.
|
110 |
-
|
|
|
111 |
}
|
112 |
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
117 |
}
|
118 |
|
119 |
-
|
120 |
-
|
121 |
-
text-decoration: none;
|
122 |
}
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
}
|
128 |
|
129 |
-
|
130 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
}
|
1 |
+
/*--------------------------------------------------------------
|
2 |
+
# Portfolio
|
3 |
+
--------------------------------------------------------------*/
|
4 |
+
/*--------------------------------------------------------------
|
5 |
+
# Element
|
6 |
+
--------------------------------------------------------------*/
|
7 |
+
html {
|
8 |
+
-webkit-box-sizing: border-box;
|
9 |
+
-moz-box-sizing: border-box;
|
10 |
+
box-sizing: border-box;
|
11 |
}
|
12 |
|
13 |
+
*,
|
14 |
+
*:before,
|
15 |
+
*:after {
|
16 |
+
/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
|
17 |
+
-webkit-box-sizing: inherit;
|
18 |
+
-moz-box-sizing: inherit;
|
19 |
+
box-sizing: inherit;
|
20 |
}
|
21 |
+
|
22 |
|
23 |
+
/*--------------------------------------------------------------
|
24 |
+
# Padding/Margin
|
25 |
+
--------------------------------------------------------------*/
|
26 |
+
|
27 |
+
.section-heading-wrapper {
|
28 |
+
padding: 42px 30px;
|
29 |
}
|
30 |
|
31 |
+
.section-title-wrapper {
|
32 |
+
margin: 0;
|
|
|
33 |
}
|
34 |
|
35 |
+
.featured-content-wrapper .page-title,
|
36 |
+
.featured-content-wrapper .entry-title,
|
37 |
+
.featured-content-wrapper .entry-meta,
|
38 |
+
.featured-content-wrapper .entry-summary,
|
39 |
+
.featured-content-wrapper .entry-content,
|
40 |
+
.portfolio-content-wrapper .page-title,
|
41 |
+
.portfolio-content-wrapper .entry-title,
|
42 |
+
.portfolio-content-wrapper .entry-meta,
|
43 |
+
.portfolio-content-wrapper .entry-summary,
|
44 |
+
.portfolio-content-wrapper .entry-content,
|
45 |
+
.service-content-wrapper .page-title,
|
46 |
+
.service-content-wrapper .entry-title,
|
47 |
+
.service-content-wrapper .entry-meta,
|
48 |
+
.service-content-wrapper .entry-summary,
|
49 |
+
.service-content-wrapper .entry-content {
|
50 |
+
margin: 21px 0;
|
51 |
}
|
52 |
|
53 |
+
.featured-content-wrapper .hentry,
|
54 |
+
.portfolio-content-wrapper .hentry,
|
55 |
+
.service-content-wrapper .hentry {
|
56 |
+
margin-bottom: 30px;
|
57 |
}
|
58 |
|
59 |
+
.featured-content-wrapper,
|
60 |
+
.portfolio-content-wrapper,
|
61 |
+
.service-content-wrapper {
|
62 |
+
padding: 0 30px;
|
63 |
}
|
64 |
|
65 |
+
|
66 |
+
/*--------------------------------------------------------------
|
67 |
+
# Clearings
|
68 |
+
--------------------------------------------------------------*/
|
69 |
+
|
70 |
+
.featured-content-wrapper:before,
|
71 |
+
.featured-content-wrapper:after,
|
72 |
+
.portfolio-content-wrapper:before,
|
73 |
+
.portfolio-content-wrapper:after,
|
74 |
+
.service-content-wrapper:before,
|
75 |
+
.service-content-wrapper:after,
|
76 |
+
.entry-content:before,
|
77 |
+
.entry-content:after,
|
78 |
+
.entry-summary:before,
|
79 |
+
.entry-summary:after {
|
80 |
+
content: "";
|
81 |
+
display: table;
|
82 |
}
|
83 |
+
|
84 |
+
.featured-content-wrapper:before,
|
85 |
+
.featured-content-wrapper:after,
|
86 |
+
.portfolio-content-wrapper:before,
|
87 |
+
.portfolio-content-wrapper:after,
|
88 |
+
.service-content-wrapper:before,
|
89 |
+
.service-content-wrapper:after,
|
90 |
+
.entry-content:after,
|
91 |
+
.entry-summary:after {
|
92 |
clear: both;
|
93 |
}
|
|
|
|
|
|
|
94 |
|
95 |
+
/*--------------------------------------------------------------
|
96 |
+
# Posts and pages
|
97 |
+
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
|
99 |
+
.featured-content-wrapper .hentry,
|
100 |
+
.portfolio-content-wrapper .hentry,
|
101 |
+
.service-content-wrapper .hentry {
|
102 |
+
float: left;
|
103 |
+
position: relative;
|
104 |
+
width: 100%;
|
105 |
}
|
106 |
|
107 |
+
.post-thumbnail img {
|
108 |
+
display: block;
|
109 |
+
margin: 0 auto;
|
|
|
|
|
110 |
}
|
111 |
|
112 |
+
.service-content-wrapper .post-thumbnail img {
|
113 |
+
margin: 0 auto;
|
|
|
|
|
114 |
}
|
115 |
|
116 |
+
/*--------------------------------------------------------------
|
117 |
+
# Modules
|
118 |
+
--------------------------------------------------------------*/
|
119 |
|
120 |
+
.section {
|
121 |
+
clear: both;
|
122 |
+
display: block;
|
123 |
+
position: relative;
|
124 |
+
width: 100%;
|
125 |
+
overflow: hidden;
|
126 |
}
|
127 |
|
128 |
+
.section-heading-wrapper {
|
129 |
+
display: block;
|
|
|
|
|
130 |
}
|
131 |
|
132 |
+
/*--------------------------------------------------------------
|
133 |
+
# Featured Content & Portfolio
|
134 |
+
--------------------------------------------------------------*/
|
135 |
|
136 |
+
.featured-content-wrapper .post-thumbnail,
|
137 |
+
.portfolio-content-wrapper .post-thumbnail {
|
138 |
+
width: 100%;
|
139 |
}
|
140 |
|
141 |
+
/*--------------------------------------------------------------
|
142 |
+
# Media Queries
|
143 |
+
--------------------------------------------------------------*/
|
144 |
+
|
145 |
+
/**
|
146 |
+
* Does the same thing as <meta name="viewport" content="width=device-width">,
|
147 |
+
* but in the future W3C standard way. -ms- prefix is required for IE10+ to
|
148 |
+
* render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
|
149 |
+
* the meta tag. See https://core.trac.wordpress.org/ticket/25888.
|
150 |
+
*/
|
151 |
+
@-ms-viewport {
|
152 |
+
width: device-width;
|
153 |
}
|
154 |
|
155 |
+
@viewport {
|
156 |
+
width: device-width;
|
|
|
157 |
}
|
158 |
+
|
159 |
+
/*--------------------------------------------------------------
|
160 |
+
# >= 667px
|
161 |
+
--------------------------------------------------------------*/
|
162 |
+
|
163 |
+
@media screen and (min-width: 41.6875em) {
|
164 |
+
.featured-content-wrapper.layout-four,
|
165 |
+
.portfolio-content-wrapper.layout-four,
|
166 |
+
.service-content-wrapper.layout-four,
|
167 |
+
.featured-content-wrapper.layout-two,
|
168 |
+
.portfolio-content-wrapper.layout-two,
|
169 |
+
.service-content-wrapper.layout-two {
|
170 |
+
margin-left: -15px;
|
171 |
+
margin-right: -15px;
|
172 |
+
}
|
173 |
+
|
174 |
+
.featured-content-wrapper.layout-four .hentry,
|
175 |
+
.portfolio-content-wrapper.layout-four .hentry,
|
176 |
+
.service-content-wrapper.layout-four .hentry,
|
177 |
+
.featured-content-wrapper.layout-two .hentry,
|
178 |
+
.portfolio-content-wrapper.layout-two .hentry,
|
179 |
+
.service-content-wrapper.layout-two .hentry {
|
180 |
+
width: 50%;
|
181 |
+
}
|
182 |
+
|
183 |
+
.featured-content-wrapper.layout-four .hentry,
|
184 |
+
.portfolio-content-wrapper.layout-four .hentry,
|
185 |
+
.service-content-wrapper.layout-four .hentry,
|
186 |
+
.featured-content-wrapper.layout-two .hentry,
|
187 |
+
.portfolio-content-wrapper.layout-two .hentry,
|
188 |
+
.service-content-wrapper.layout-two .hentry {
|
189 |
+
padding: 0 15px;
|
190 |
+
}
|
191 |
+
|
192 |
+
.featured-content-wrapper.layout-two .hentry:nth-child(2n+1),
|
193 |
+
.featured-content-wrapper.layout-four .hentry:nth-child(2n+1),
|
194 |
+
.portfolio-content-wrapper.layout-two .hentry:nth-child(2n+1),
|
195 |
+
.portfolio-content-wrapper.layout-four .hentry:nth-child(2n+1),
|
196 |
+
.service-content-wrapper.layout-two .hentry:nth-child(2n+1),
|
197 |
+
.service-content-wrapper.layout-four .hentry:nth-child(2n+1) {
|
198 |
+
clear: both;
|
199 |
+
}
|
200 |
+
|
201 |
+
#testimonial-content-section.layout-two .hentry {
|
202 |
+
width: 50%;
|
203 |
+
}
|
204 |
+
|
205 |
+
#testimonial-content-section.layout-two .hentry:nth-child(2n+1) {
|
206 |
+
clear: both;
|
207 |
+
}
|
208 |
+
|
209 |
+
.featured-content-wrapper.layout-six,
|
210 |
+
.portfolio-content-wrapper.layout-six,
|
211 |
+
.service-content-wrapper.layout-six,
|
212 |
+
.featured-content-wrapper.layout-three,
|
213 |
+
.portfolio-content-wrapper.layout-three,
|
214 |
+
.service-content-wrapper.layout-three {
|
215 |
+
margin-left: -15px;
|
216 |
+
margin-right: -15px;
|
217 |
+
}
|
218 |
+
|
219 |
+
.featured-content-wrapper.layout-six .hentry,
|
220 |
+
.portfolio-content-wrapper.layout-six .hentry,
|
221 |
+
.service-content-wrapper.layout-six .hentry,
|
222 |
+
.featured-content-wrapper.layout-three .hentry,
|
223 |
+
.portfolio-content-wrapper.layout-three .hentry,
|
224 |
+
.service-content-wrapper.layout-three .hentry {
|
225 |
+
width: 33.33%;
|
226 |
+
}
|
227 |
+
|
228 |
+
.featured-content-wrapper.layout-six .hentry,
|
229 |
+
.portfolio-content-wrapper.layout-six .hentry,
|
230 |
+
.service-content-wrapper.layout-six .hentry,
|
231 |
+
.featured-content-wrapper.layout-three .hentry,
|
232 |
+
.portfolio-content-wrapper.layout-three .hentry,
|
233 |
+
.service-content-wrapper.layout-three .hentry {
|
234 |
+
padding: 0 15px;
|
235 |
+
}
|
236 |
+
|
237 |
+
.featured-content-wrapper.layout-three .hentry-inner .post-thumbnail,
|
238 |
+
.portfolio-content-wrapper.layout-three .hentry-inner .post-thumbnail,
|
239 |
+
.service-content-wrapper.layout-three .hentry-inner .post-thumbnail,
|
240 |
+
.featured-content-wrapper.layout-three .hentry-inner .entry-container,
|
241 |
+
.portfolio-content-wrapper.layout-three .hentry-inner .entry-container,
|
242 |
+
.service-content-wrapper.layout-three .hentry-inner .entry-container {
|
243 |
+
display: block;
|
244 |
+
width: 100%;
|
245 |
+
}
|
246 |
+
|
247 |
+
.featured-content-wrapper.layout-six .hentry:nth-child(3n+1),
|
248 |
+
.portfolio-content-wrapper.layout-six .hentry:nth-child(3n+1),
|
249 |
+
.service-content-wrapper.layout-six .hentry:nth-child(3n+1),
|
250 |
+
.featured-content-wrapper.layout-three .hentry:nth-child(3n+1),
|
251 |
+
.portfolio-content-wrapper.layout-three .hentry:nth-child(3n+1),
|
252 |
+
.service-content-wrapper.layout-three .hentry:nth-child(3n+1) {
|
253 |
+
clear: both;
|
254 |
+
}
|
255 |
}
|
256 |
|
257 |
+
|
258 |
+
/*--------------------------------------------------------------
|
259 |
+
# >= 1024px
|
260 |
+
--------------------------------------------------------------*/
|
261 |
+
|
262 |
+
@media screen and (min-width: 64em) {
|
263 |
+
.featured-content-wrapper,
|
264 |
+
.portfolio-content-wrapper,
|
265 |
+
.service-content-wrapper {
|
266 |
+
padding: 0 25px;
|
267 |
+
}
|
268 |
+
|
269 |
+
.featured-content-wrapper.layout-four .hentry,
|
270 |
+
.portfolio-content-wrapper.layout-four .hentry,
|
271 |
+
.service-content-wrapper.layout-four .hentry,
|
272 |
+
.featured-content-wrapper.layout-three .hentry,
|
273 |
+
.portfolio-content-wrapper.layout-three .hentry,
|
274 |
+
.service-content-wrapper.layout-three .hentry,
|
275 |
+
.featured-content-wrapper.layout-two .hentry,
|
276 |
+
.portfolio-content-wrapper.layout-two .hentry,
|
277 |
+
.service-content-wrapper.layout-two .hentry {
|
278 |
+
padding: 0 25px;
|
279 |
+
}
|
280 |
+
|
281 |
+
.featured-content-wrapper.layout-six,
|
282 |
+
.portfolio-content-wrapper.layout-six,
|
283 |
+
.service-content-wrapper.layout-six,
|
284 |
+
.featured-content-wrapper.layout-four,
|
285 |
+
.portfolio-content-wrapper.layout-four,
|
286 |
+
.service-content-wrapper.layout-four,
|
287 |
+
.featured-content-wrapper.layout-three,
|
288 |
+
.portfolio-content-wrapper.layout-three,
|
289 |
+
.service-content-wrapper.layout-three
|
290 |
+
.featured-content-wrapper.layout-two,
|
291 |
+
.portfolio-content-wrapper.layout-two,
|
292 |
+
.service-content-wrapper.layout-two {
|
293 |
+
margin-left: 0;
|
294 |
+
margin-right: 0;
|
295 |
+
}
|
296 |
+
|
297 |
+
.featured-content-wrapper.layout-four .hentry:nth-child(2n+1),
|
298 |
+
.portfolio-content-wrapper.layout-four .hentry:nth-child(2n+1),
|
299 |
+
.service-content-wrapper.layout-four .hentry:nth-child(2n+1) {
|
300 |
+
clear: none;
|
301 |
+
}
|
302 |
+
|
303 |
+
.featured-content-wrapper.layout-four .hentry:nth-child(4n+1),
|
304 |
+
.portfolio-content-wrapper.layout-four .hentry:nth-child(4n+1),
|
305 |
+
.service-content-wrapper.layout-four .hentry:nth-child(4n+1) {
|
306 |
+
clear: both;
|
307 |
+
}
|
308 |
+
|
309 |
+
.featured-content-wrapper.layout-six .hentry:nth-child(3n+1),
|
310 |
+
.portfolio-content-wrapper.layout-six .hentry:nth-child(3n+1),
|
311 |
+
.service-content-wrapper.layout-six .hentry:nth-child(3n+1) {
|
312 |
+
clear: none;
|
313 |
+
}
|
314 |
+
|
315 |
+
.featured-content-wrapper.layout-five .hentry:nth-child(5n+1),
|
316 |
+
.portfolio-content-wrapper.layout-five .hentry:nth-child(5n+1),
|
317 |
+
.service-content-wrapper.layout-five .hentry:nth-child(5n+1) {
|
318 |
+
clear: both;
|
319 |
+
}
|
320 |
+
|
321 |
+
.featured-content-wrapper.layout-six .hentry:nth-child(6n+1),
|
322 |
+
.portfolio-content-wrapper.layout-six .hentry:nth-child(6n+1),
|
323 |
+
.service-content-wrapper.layout-six .hentry:nth-child(6n+1) {
|
324 |
+
clear: both;
|
325 |
+
}
|
326 |
+
|
327 |
+
.featured-content-wrapper.layout-four .hentry,
|
328 |
+
.portfolio-content-wrapper.layout-four .hentry,
|
329 |
+
.service-content-wrapper.layout-four .hentry {
|
330 |
+
width: 25%;
|
331 |
+
padding: 0 15px;
|
332 |
+
}
|
333 |
+
|
334 |
+
.featured-content-wrapper.layout-five .hentry,
|
335 |
+
.portfolio-content-wrapper.layout-five .hentry,
|
336 |
+
.service-content-wrapper.layout-five .hentry {
|
337 |
+
width: 20%;
|
338 |
+
padding: 0 15px;
|
339 |
+
}
|
340 |
+
|
341 |
+
.featured-content-wrapper.layout-six .hentry,
|
342 |
+
.portfolio-content-wrapper.layout-six .hentry,
|
343 |
+
.service-content-wrapper.layout-six .hentry {
|
344 |
+
width: 16.66666666666667%;
|
345 |
+
padding: 0 15px;
|
346 |
+
}
|
347 |
+
|
348 |
+
#testimonial-content-section .hentry {
|
349 |
+
padding: 0 25px 56px;
|
350 |
+
}
|
351 |
}
|
admin/css/testimonial-shortcode.css
CHANGED
@@ -1,102 +1,254 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
}
|
7 |
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
13 |
}
|
14 |
|
15 |
-
|
16 |
-
|
17 |
-
width: 100%;
|
18 |
}
|
19 |
|
20 |
-
.testimonial-
|
21 |
-
|
22 |
-
width: 48%;
|
23 |
}
|
24 |
|
25 |
-
.testimonial-
|
26 |
-
|
27 |
-
|
|
|
|
|
28 |
}
|
29 |
|
30 |
-
.testimonial-
|
31 |
-
|
32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
}
|
34 |
|
35 |
-
.testimonial-
|
36 |
-
|
37 |
-
|
|
|
|
|
38 |
}
|
39 |
|
40 |
-
.testimonial-
|
41 |
-
|
42 |
-
|
|
|
|
|
43 |
}
|
44 |
-
|
45 |
-
|
|
|
|
|
|
|
46 |
}
|
47 |
-
|
48 |
-
|
|
|
|
|
|
|
49 |
}
|
50 |
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
width: 48%;
|
55 |
-
clear:both;
|
56 |
-
}
|
57 |
-
.testimonial-entry-first-item-row {
|
58 |
-
clear:none;
|
59 |
-
}
|
60 |
-
.testimonial-entry-mobile-last-item-row{
|
61 |
-
width: 48%;
|
62 |
-
margin-right: 0;
|
63 |
-
}
|
64 |
}
|
65 |
|
66 |
-
.testimonial-
|
67 |
-
|
68 |
-
|
|
|
|
|
69 |
}
|
70 |
|
71 |
-
.testimonial-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
|
|
76 |
}
|
77 |
|
78 |
-
.testimonial-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
|
|
|
|
|
|
83 |
}
|
84 |
|
85 |
-
.testimonial-
|
86 |
-
|
87 |
}
|
88 |
|
89 |
-
.testimonial-entry-title
|
90 |
-
|
91 |
-
|
92 |
}
|
93 |
|
94 |
-
|
95 |
-
|
96 |
-
margin: 0.75em 0;
|
97 |
-
padding: 0;
|
98 |
}
|
99 |
|
100 |
-
.testimonial-
|
101 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
}
|
1 |
+
/*--------------------------------------------------------------
|
2 |
+
# Testimonials
|
3 |
+
--------------------------------------------------------------*/
|
4 |
+
|
5 |
+
/*--------------------------------------------------------------
|
6 |
+
# Element
|
7 |
+
--------------------------------------------------------------*/
|
8 |
+
html {
|
9 |
+
-webkit-box-sizing: border-box;
|
10 |
+
-moz-box-sizing: border-box;
|
11 |
+
box-sizing: border-box;
|
12 |
+
}
|
13 |
+
|
14 |
+
*,
|
15 |
+
*:before,
|
16 |
+
*:after {
|
17 |
+
/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
|
18 |
+
-webkit-box-sizing: inherit;
|
19 |
+
-moz-box-sizing: inherit;
|
20 |
+
box-sizing: inherit;
|
21 |
+
}
|
22 |
+
|
23 |
+
/*--------------------------------------------------------------
|
24 |
+
# Padding/Margin
|
25 |
+
--------------------------------------------------------------*/
|
26 |
+
|
27 |
+
.ect-testimonial-content-section .section-content-wrapper {
|
28 |
+
padding-bottom: 35px;
|
29 |
+
}
|
30 |
+
|
31 |
+
.ect-testimonial-content-section .hentry {
|
32 |
+
padding: 0 30px 35px;
|
33 |
+
}
|
34 |
+
|
35 |
+
|
36 |
+
/*--------------------------------------------------------------
|
37 |
+
# Clearings
|
38 |
+
--------------------------------------------------------------*/
|
39 |
+
|
40 |
+
.entry-content:before,
|
41 |
+
.entry-content:after,
|
42 |
+
.entry-summary:before,
|
43 |
+
.entry-summary:after {
|
44 |
+
content: "";
|
45 |
+
display: table;
|
46 |
+
}
|
47 |
+
|
48 |
+
.entry-content:after,
|
49 |
+
.entry-summary:after {
|
50 |
+
clear: both;
|
51 |
+
}
|
52 |
+
|
53 |
+
/*--------------------------------------------------------------
|
54 |
+
# Posts and pages
|
55 |
+
--------------------------------------------------------------*/
|
56 |
+
|
57 |
+
.ect-testimonial-content-section .hentry {
|
58 |
+
float: left;
|
59 |
+
position: relative;
|
60 |
+
width: 100%;
|
61 |
+
}
|
62 |
+
|
63 |
+
/*--------------------------------------------------------------
|
64 |
+
# Modules
|
65 |
+
--------------------------------------------------------------*/
|
66 |
+
|
67 |
+
.section {
|
68 |
+
clear: both;
|
69 |
+
display: block;
|
70 |
+
position: relative;
|
71 |
+
width: 100%;
|
72 |
+
overflow: hidden;
|
73 |
+
}
|
74 |
+
|
75 |
+
.section-heading-wrapper {
|
76 |
+
display: block;
|
77 |
+
}
|
78 |
+
|
79 |
+
.section-heading-wrapper,
|
80 |
+
.ect-testimonial-content-section .section-content-wrapper {
|
81 |
+
margin: 0 auto;
|
82 |
+
text-align: center;
|
83 |
+
width: 100%;
|
84 |
+
max-width: 1025px;
|
85 |
}
|
86 |
|
87 |
+
/*--------------------------------------------------------------
|
88 |
+
# Testimonials
|
89 |
+
--------------------------------------------------------------*/
|
90 |
+
|
91 |
+
.ect-testimonial-content-section .section-content-wrapper {
|
92 |
+
display: block;
|
93 |
+
position: relative;
|
94 |
+
text-align: center;
|
95 |
+
margin: 0 auto;
|
96 |
+
max-width: 1040px;
|
97 |
}
|
98 |
|
99 |
+
.ect-testimonial-content-section .testimonial_slider_wrap {
|
100 |
+
width: 100%;
|
|
|
101 |
}
|
102 |
|
103 |
+
.ect-testimonial-content-section.layout-two .section-content-wrapper {
|
104 |
+
max-width: 1560px;
|
|
|
105 |
}
|
106 |
|
107 |
+
.ect-testimonial-content-section .post-thumbnail img {
|
108 |
+
border-radius: 50%;
|
109 |
+
margin: 0 auto;
|
110 |
+
width: 100px;
|
111 |
+
height: 100px;
|
112 |
}
|
113 |
|
114 |
+
.ect-testimonial-content-section .cycle-prev,
|
115 |
+
.ect-testimonial-content-section .cycle-next {
|
116 |
+
background-color: transparent;
|
117 |
+
border: none;
|
118 |
+
cursor: pointer;
|
119 |
+
outline: none;
|
120 |
+
padding: 0;
|
121 |
+
text-decoration: none;
|
122 |
+
-moz-transition: all 0.2s ease-in-out;
|
123 |
+
-webkit-transition: all 0.2s ease-in-out;
|
124 |
+
transition: all 0.2s ease-in-out;
|
125 |
+
z-index: 199;
|
126 |
}
|
127 |
|
128 |
+
.ect-testimonial-content-section .cycle-prev:hover,
|
129 |
+
.ect-testimonial-content-section .cycle-prev:focus,
|
130 |
+
.ect-testimonial-content-section .cycle-next:hover,
|
131 |
+
.ect-testimonial-content-section .cycle-next:focus {
|
132 |
+
background-color: transparent;
|
133 |
}
|
134 |
|
135 |
+
.ect-testimonial-content-section .icon {
|
136 |
+
top: -14px;
|
137 |
+
font-size: 32px;
|
138 |
+
font-size: 2rem;
|
139 |
+
width: 18px;
|
140 |
}
|
141 |
+
|
142 |
+
.ect-testimonial-content-section .cycle-prev .icon {
|
143 |
+
-webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
|
144 |
+
-ms-transform: rotate(90deg); /* IE 9 */
|
145 |
+
transform: rotate(90deg);
|
146 |
}
|
147 |
+
|
148 |
+
.ect-testimonial-content-section .cycle-next .icon {
|
149 |
+
-webkit-transform: rotate(270deg); /* Chrome, Safari, Opera */
|
150 |
+
-ms-transform: rotate(270deg); /* IE 9 */
|
151 |
+
transform: rotate(270deg);
|
152 |
}
|
153 |
|
154 |
+
.ect-testimonial-content-section .entry-title,
|
155 |
+
.ect-testimonial-content-section .entry-meta {
|
156 |
+
display: block;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
}
|
158 |
|
159 |
+
.ect-testimonial-content-section .cycle-pager {
|
160 |
+
display: inline-block;
|
161 |
+
font-family: arial;
|
162 |
+
font-size: 54px;
|
163 |
+
line-height: 0;
|
164 |
}
|
165 |
|
166 |
+
.ect-testimonial-content-section .controller {
|
167 |
+
bottom: -21px;
|
168 |
+
display: block;
|
169 |
+
position: absolute;
|
170 |
+
width: 100%;
|
171 |
+
z-index: 101;
|
172 |
}
|
173 |
|
174 |
+
.ect-testimonial-content-section .cycle-pager span {
|
175 |
+
clear: both;
|
176 |
+
cursor: pointer;
|
177 |
+
display: inline-block;
|
178 |
+
height: 16px;
|
179 |
+
line-height: 16px;
|
180 |
+
margin: 0 7px;
|
181 |
+
width: 16px;
|
182 |
}
|
183 |
|
184 |
+
.ect-testimonial-content-section .cycle-pager > * {
|
185 |
+
cursor: pointer;
|
186 |
}
|
187 |
|
188 |
+
.ect-testimonial-content-section .entry-title {
|
189 |
+
margin: 21px 0 7px;
|
190 |
+
line-height: 1.647058823529412;
|
191 |
}
|
192 |
|
193 |
+
.ect-testimonial-content-section .more-link {
|
194 |
+
display: none;
|
|
|
|
|
195 |
}
|
196 |
|
197 |
+
.testimonial-slider-prev,
|
198 |
+
.testimonial-slider-next,
|
199 |
+
.testimonial-slider-prev:hover,
|
200 |
+
.testimonial-slider-prev:focus,
|
201 |
+
.testimonial-slider-next:hover,
|
202 |
+
.testimonial-slider-next:focus {
|
203 |
+
color: #000;
|
204 |
+
}
|
205 |
+
|
206 |
+
.testimonial-slider-prev:hover,
|
207 |
+
.testimonial-slider-prev:focus,
|
208 |
+
.testimonial-slider-next:hover,
|
209 |
+
.testimonial-slider-next:focus {
|
210 |
+
opacity: 0.5;
|
211 |
+
}
|
212 |
+
|
213 |
+
/*--------------------------------------------------------------
|
214 |
+
# Media Queries
|
215 |
+
--------------------------------------------------------------*/
|
216 |
+
|
217 |
+
/**
|
218 |
+
* Does the same thing as <meta name="viewport" content="width=device-width">,
|
219 |
+
* but in the future W3C standard way. -ms- prefix is required for IE10+ to
|
220 |
+
* render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
|
221 |
+
* the meta tag. See https://core.trac.wordpress.org/ticket/25888.
|
222 |
+
*/
|
223 |
+
@-ms-viewport {
|
224 |
+
width: device-width;
|
225 |
+
}
|
226 |
+
|
227 |
+
@viewport {
|
228 |
+
width: device-width;
|
229 |
+
}
|
230 |
+
|
231 |
+
/*--------------------------------------------------------------
|
232 |
+
# >= 667px
|
233 |
+
--------------------------------------------------------------*/
|
234 |
+
|
235 |
+
@media screen and (min-width: 41.6875em) {
|
236 |
+
.ect-testimonial-content-section.layout-two .hentry {
|
237 |
+
width: 50%;
|
238 |
+
}
|
239 |
+
|
240 |
+
.ect-testimonial-content-section.layout-two .hentry:nth-child(2n+1) {
|
241 |
+
clear: both;
|
242 |
+
}
|
243 |
+
}
|
244 |
+
|
245 |
+
|
246 |
+
/*--------------------------------------------------------------
|
247 |
+
# >= 1024px
|
248 |
+
--------------------------------------------------------------*/
|
249 |
+
|
250 |
+
@media screen and (min-width: 64em) {
|
251 |
+
.ect-testimonial-content-section .hentry {
|
252 |
+
padding: 0 25px 56px;
|
253 |
+
}
|
254 |
}
|
admin/js/food-menu-shortcode.js
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(function($){
|
2 |
+
//$('.ect-post').parent().siblings('.entry-header').remove();
|
3 |
+
|
4 |
+
/*Our Menu Script for mobile */
|
5 |
+
$('.menu-content-wrapper .menu-nav-collapse .ui-tabs-anchor').on('click', function(event){
|
6 |
+
|
7 |
+
event.preventDefault();
|
8 |
+
|
9 |
+
if( ! $(this).parent().hasClass('ui-state-active') ){
|
10 |
+
|
11 |
+
$('.menu-tabs-panel').removeClass('active-tab').fadeOut(0);
|
12 |
+
$('.menu-nav-collapse').removeClass('ui-state-active');
|
13 |
+
$(this).parent().addClass('ui-state-active');
|
14 |
+
|
15 |
+
var getID = $(this).attr('href');
|
16 |
+
|
17 |
+
$(getID).addClass('active-tab').fadeOut(0).fadeIn(500);
|
18 |
+
|
19 |
+
var anchoID = $(this).offset().top;
|
20 |
+
|
21 |
+
$("html, body").animate({ scrollTop: anchoID - 15}, "slow");
|
22 |
+
}
|
23 |
+
|
24 |
+
});
|
25 |
+
|
26 |
+
|
27 |
+
/*Our Menu Script for pc */
|
28 |
+
$('.menu-content-wrapper .menu-tabs-tab .ui-tabs-anchor').on('click', function(event){
|
29 |
+
event.preventDefault();
|
30 |
+
|
31 |
+
if( !$(this).parent().hasClass('ui-state-active') ){
|
32 |
+
$('.menu-tabs-tab').removeClass('ui-state-active');
|
33 |
+
$('.menu-tabs-panel').removeClass('active-tab').fadeOut(0);
|
34 |
+
|
35 |
+
$(this).parent().addClass('ui-state-active');;
|
36 |
+
|
37 |
+
|
38 |
+
var anchorAttr = $(this).attr('href');
|
39 |
+
|
40 |
+
$(anchorAttr).addClass('active-tab').fadeOut(0).fadeIn(500);
|
41 |
+
}
|
42 |
+
|
43 |
+
});
|
44 |
+
});
|
admin/js/jquery.cycle/jquery.cycle2.flip.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140128 */
|
2 |
+
(function(e){"use strict";function i(i){return{preInit:function(e){e.slides.css(n)},transition:function(t,n,s,o,r){var l=t,c=e(n),a=e(s),d=l.speed/2;i.call(a,-90),a.css({display:"block",visibility:"visible","background-position":"-90px",opacity:1}),c.css("background-position","0px"),c.animate({backgroundPosition:90},{step:i,duration:d,easing:l.easeOut||l.easing,complete:function(){t.API.updateView(!1,!0),a.animate({backgroundPosition:0},{step:i,duration:d,easing:l.easeIn||l.easing,complete:r})}})}}}function t(i){return function(t){var n=e(this);n.css({"-webkit-transform":"rotate"+i+"("+t+"deg)","-moz-transform":"rotate"+i+"("+t+"deg)","-ms-transform":"rotate"+i+"("+t+"deg)","-o-transform":"rotate"+i+"("+t+"deg)",transform:"rotate"+i+"("+t+"deg)"})}}var n,s=document.createElement("div").style,o=e.fn.cycle.transitions,r=void 0!==s.transform||void 0!==s.MozTransform||void 0!==s.webkitTransform||void 0!==s.oTransform||void 0!==s.msTransform;r&&void 0!==s.msTransform&&(s.msTransform="rotateY(0deg)",s.msTransform||(r=!1)),r?(o.flipHorz=i(t("Y")),o.flipVert=i(t("X")),n={"-webkit-backface-visibility":"hidden","-moz-backface-visibility":"hidden","-o-backface-visibility":"hidden","backface-visibility":"hidden"}):(o.flipHorz=o.scrollHorz,o.flipVert=o.scrollVert||o.scrollHorz)})(jQuery);
|
admin/js/jquery.cycle/jquery.cycle2.js.map
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
{"version":3,"file":"build/jquery.cycle2.min.js","sources":["build/jquery.cycle2.js"],"names":["$","lowerCase","s","toLowerCase","version","fn","cycle","options","o","this","length","isReady","each","data","opts","shortName","val","container","log","noop","p","hasOwnProperty","test","match","replace","extend","defaults","timeoutId","paused","_maxZ","maxZ","API","_container","trigger","eventName","args","addInitialSlides","preInitSlideshow","slides","initSlideshow","selector","c","context","slideCount","jquery","find","random","sort","Math","add","tx","transitions","fx","isFunction","preInit","_preInitialized","postInitSlideshow","postInit","slideOpts","pauseObj","calcFirstSlide","css","currSlide","opacity","display","visibility","stackSlides","nextSlide","reverse","pauseOnHover","hover","pause","resume","timeout","getSlideOpts","queueTransition","delay","_initialized","updateView","alreadyPaused","hoverPaused","addClass","clearTimeout","_remainingTimeout","now","_lastQueue","isNaN","undefined","alreadyResumed","removeClass","filter","prepend","len","oldSlideCount","startSlideshow","type","trim","slide","append","buildSlideOpts","initSlide","firstSlideIndex","parseInt","startingSlide","calcNextSlide","roll","calcTx","manual","_tempFx","manualFx","fade","prepareTx","fwd","after","curr","next","busy","manualTrump","stopTransition","_tx","manualSpeed","speed","before","transition","doTransition","currEl","nextEl","callback","animate","animIn","easeIn","easing","cssBefore","animOut","easeOut","cssAfter","sync","specificTimeout","loop","setTimeout","continueAuto","stop","advanceSlide","slideNum","e","index","suggestedZindex","slideCss","speeds","_default","slideClass","isAfter","isDuring","slideActiveClass","eq","hideNonActive","getComponent","name","i","z","getSlideIndex","el","window","console","Array","prototype","join","call","arguments","custom","none","fadeout","scrollHorz","w","width","left","top","zIndex","allowWrap","autoSelector","position","document","ready","jQuery","initAutoHeight","clone","height","sentinelIndex","autoHeight","outerHeight","_autoHeightRatio","calcSentinelIndex","_sentinelIndex","_sentinel","remove","cloneNode","removeAttr","prependTo","max","h","onBefore","outgoing","incoming","autoHeightSpeed","autoHeightEasing","onDestroy","_autoHeightOnResize","off","on","onResize","ratio","t","resizeThrottle","caption","captionTemplate","overlay","overlayTemplate","captionModule","template","html","tmpl","show","hide","empty","c2","cmd","cmdFn","makeArray","cmdArgs","shift","apply","count","prev","destroy","clean","_data","removeData","retainStylesOnDestroy","jump","num","reinit","slideToRemove","push","preventDefault","command","onHashChange","setStartingSlide","hash","_hashFence","location","substring","_onHashChange","loader","addSlide","slideArr","sorter","addFn","a","b","appendTo","imageLoaded","images","is","complete","load","src","buildPagerLink","pagerLink","pagers","pager","pagerTemplate","markup","children","pagerEvent","pagerEventBubble","page","currentTarget","target","pagerFx","pagerActiveClass","slideAdded","nextEvent","disabledClass","prevEvent","swipe","swipeVert","swipeFx","cls","prevBoundry","_prevBoundry","nextBoundry","_nextBoundry","prop","progressive","scriptEl","nextFn","prevFn","prepareTxFn","parseJSON","err","split","RegExp","pop","slice","one","tmplRegex","str","regex","_","j","obj","names"],"mappings":";;;;;CAOC,SAAUA,GACX,YA8lBA,SAASC,GAAUC,GACf,OAAQA,GAAK,IAAIC,cA7lBrB,GAAIC,GAAU,OAEdJ,GAAEK,GAAGC,MAAQ,SAAUC,GAEnB,GAAIC,EACJ,OAAqB,KAAhBC,KAAKC,QAAiBV,EAAEW,QAStBF,KAAKG,KAAK,WACb,GAAIC,GAAMC,EAAMC,EAAWC,EACvBC,EAAYjB,EAAES,MACdS,EAAMlB,EAAEK,GAAGC,MAAMY,GAErB,KAAKD,EAAUJ,KAAK,cAApB,EAGKI,EAAUJ,KAAK,gBAAiB,GAC/BN,GAAWA,EAAQW,OAAQ,GAC3BJ,GAAQA,EAAKI,OAAQ,KACvBA,EAAMlB,EAAEmB,MAGZD,EAAI,eACJL,EAAOI,EAAUJ,MACjB,KAAK,GAAIO,KAAKP,GAENA,EAAKQ,eAAeD,IAAM,eAAeE,KAAKF,KAC9CJ,EAAMH,EAAKO,GACXL,EAAYK,EAAEG,MAAM,cAAc,GAAGC,QAAQ,SAAUvB,GACvDiB,EAAIH,EAAU,IAAKC,EAAK,UAAWA,GAAK,KACxCH,EAAKE,GAAaC,EAI1BF,GAAOd,EAAEyB,UAAYzB,EAAEK,GAAGC,MAAMoB,SAAUb,EAAMN,OAEhDO,EAAKa,UAAY,EACjBb,EAAKc,OAASd,EAAKc,SAAU,EAC7Bd,EAAKG,UAAYA,EACjBH,EAAKe,MAAQf,EAAKgB,KAElBhB,EAAKiB,IAAM/B,EAAEyB,QAAWO,WAAYf,GAAajB,EAAEK,GAAGC,MAAMyB,KAC5DjB,EAAKiB,IAAIb,IAAMA,EACfJ,EAAKiB,IAAIE,QAAU,SAAUC,EAAWC,GAEpC,MADArB,GAAKG,UAAUgB,QAASC,EAAWC,GAC5BrB,EAAKiB,KAGhBd,EAAUJ,KAAM,aA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,EAAEK,GAAGC,MAAMoB,UAChBuR,UAAW,kBAGfjT,EAAEyB,OAAOzB,EAAEK,GAAGC,MAAMyB,KAChB6L,KAAM,SAAUsF,EAAKpS,GACjB,GAAIqS,GAAQ,GAAIN,QAAQ/R,EAAKmS,WAAajT,EAAEK,GAAGC,MAAMoB,SAASuR,UAAW,KACrE9Q,EAAOnC,EAAEmO,UAAW3D,UAExB,OADArI,GAAKkM,QACE6E,EAAI1R,QAAQ2R,EAAO,SAASC,EAAGF,GAClC,GAAIpJ,GAAGuJ,EAAGC,EAAKlB,EAAMmB,EAAQL,EAAIN,MAAM,IACvC,KAAK9I,EAAE,EAAGA,EAAI3H,EAAKzB,OAAQoJ,IAEvB,GADAwJ,EAAMnR,EAAK2H,GACX,CAEA,GAAIyJ,EAAM7S,OAAS,EAEf,IADA0R,EAAOkB,EACFD,EAAE,EAAGA,EAAIE,EAAM7S,OAAQ2S,IACxBC,EAAMlB,EACNA,EAAOA,EAAMmB,EAAMF,KAAQH,MAG/Bd,GAAOkB,EAAIJ,EAGf,IAAIlT,EAAEqD,WAAW+O,GACb,MAAOA,GAAK9D,MAAMgF,EAAKnR,EAC3B,IAAaoD,SAAT6M,GAA+B,OAATA,GAAiBA,GAAQc,EAC/C,MAAOd,GAEf,MAAOc,SAKhB3H","sourceRoot":"http://malsup.github.io/"}
|
admin/js/jquery.cycle/jquery.cycle2.min.js
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* jQuery Cycle2; version: 2.1.5 build: 20140415
|
3 |
+
* http://jquery.malsup.com/cycle2/
|
4 |
+
* Copyright (c) 2014 M. Alsup; Dual licensed: MIT/GPL
|
5 |
+
*/
|
6 |
+
!function(a){"use strict";function b(a){return(a||"").toLowerCase()}var c="2.1.5";a.fn.cycle=function(c){var d;return 0!==this.length||a.isReady?this.each(function(){var d,e,f,g,h=a(this),i=a.fn.cycle.log;if(!h.data("cycle.opts")){(h.data("cycle-log")===!1||c&&c.log===!1||e&&e.log===!1)&&(i=a.noop),i("--c2 init--"),d=h.data();for(var j in d)d.hasOwnProperty(j)&&/^cycle[A-Z]+/.test(j)&&(g=d[j],f=j.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,b),i(f+":",g,"("+typeof g+")"),d[f]=g);e=a.extend({},a.fn.cycle.defaults,d,c||{}),e.timeoutId=0,e.paused=e.paused||!1,e.container=h,e._maxZ=e.maxZ,e.API=a.extend({_container:h},a.fn.cycle.API),e.API.log=i,e.API.trigger=function(a,b){return e.container.trigger(a,b),e.API},h.data("cycle.opts",e),h.data("cycle.API",e.API),e.API.trigger("cycle-bootstrap",[e,e.API]),e.API.addInitialSlides(),e.API.preInitSlideshow(),e.slides.length&&e.API.initSlideshow()}}):(d={s:this.selector,c:this.context},a.fn.cycle.log("requeuing slideshow (dom not ready)"),a(function(){a(d.s,d.c).cycle(c)}),this)},a.fn.cycle.API={opts:function(){return this._container.data("cycle.opts")},addInitialSlides:function(){var b=this.opts(),c=b.slides;b.slideCount=0,b.slides=a(),c=c.jquery?c:b.container.find(c),b.random&&c.sort(function(){return Math.random()-.5}),b.API.add(c)},preInitSlideshow:function(){var b=this.opts();b.API.trigger("cycle-pre-initialize",[b]);var c=a.fn.cycle.transitions[b.fx];c&&a.isFunction(c.preInit)&&c.preInit(b),b._preInitialized=!0},postInitSlideshow:function(){var b=this.opts();b.API.trigger("cycle-post-initialize",[b]);var c=a.fn.cycle.transitions[b.fx];c&&a.isFunction(c.postInit)&&c.postInit(b)},initSlideshow:function(){var b,c=this.opts(),d=c.container;c.API.calcFirstSlide(),"static"==c.container.css("position")&&c.container.css("position","relative"),a(c.slides[c.currSlide]).css({opacity:1,display:"block",visibility:"visible"}),c.API.stackSlides(c.slides[c.currSlide],c.slides[c.nextSlide],!c.reverse),c.pauseOnHover&&(c.pauseOnHover!==!0&&(d=a(c.pauseOnHover)),d.hover(function(){c.API.pause(!0)},function(){c.API.resume(!0)})),c.timeout&&(b=c.API.getSlideOpts(c.currSlide),c.API.queueTransition(b,b.timeout+c.delay)),c._initialized=!0,c.API.updateView(!0),c.API.trigger("cycle-initialized",[c]),c.API.postInitSlideshow()},pause:function(b){var c=this.opts(),d=c.API.getSlideOpts(),e=c.hoverPaused||c.paused;b?c.hoverPaused=!0:c.paused=!0,e||(c.container.addClass("cycle-paused"),c.API.trigger("cycle-paused",[c]).log("cycle-paused"),d.timeout&&(clearTimeout(c.timeoutId),c.timeoutId=0,c._remainingTimeout-=a.now()-c._lastQueue,(c._remainingTimeout<0||isNaN(c._remainingTimeout))&&(c._remainingTimeout=void 0)))},resume:function(a){var b=this.opts(),c=!b.hoverPaused&&!b.paused;a?b.hoverPaused=!1:b.paused=!1,c||(b.container.removeClass("cycle-paused"),0===b.slides.filter(":animated").length&&b.API.queueTransition(b.API.getSlideOpts(),b._remainingTimeout),b.API.trigger("cycle-resumed",[b,b._remainingTimeout]).log("cycle-resumed"))},add:function(b,c){var d,e=this.opts(),f=e.slideCount,g=!1;"string"==a.type(b)&&(b=a.trim(b)),a(b).each(function(){var b,d=a(this);c?e.container.prepend(d):e.container.append(d),e.slideCount++,b=e.API.buildSlideOpts(d),e.slides=c?a(d).add(e.slides):e.slides.add(d),e.API.initSlide(b,d,--e._maxZ),d.data("cycle.opts",b),e.API.trigger("cycle-slide-added",[e,b,d])}),e.API.updateView(!0),g=e._preInitialized&&2>f&&e.slideCount>=1,g&&(e._initialized?e.timeout&&(d=e.slides.length,e.nextSlide=e.reverse?d-1:1,e.timeoutId||e.API.queueTransition(e)):e.API.initSlideshow())},calcFirstSlide:function(){var a,b=this.opts();a=parseInt(b.startingSlide||0,10),(a>=b.slides.length||0>a)&&(a=0),b.currSlide=a,b.reverse?(b.nextSlide=a-1,b.nextSlide<0&&(b.nextSlide=b.slides.length-1)):(b.nextSlide=a+1,b.nextSlide==b.slides.length&&(b.nextSlide=0))},calcNextSlide:function(){var a,b=this.opts();b.reverse?(a=b.nextSlide-1<0,b.nextSlide=a?b.slideCount-1:b.nextSlide-1,b.currSlide=a?0:b.nextSlide+1):(a=b.nextSlide+1==b.slides.length,b.nextSlide=a?0:b.nextSlide+1,b.currSlide=a?b.slides.length-1:b.nextSlide-1)},calcTx:function(b,c){var d,e=b;return e._tempFx?d=a.fn.cycle.transitions[e._tempFx]:c&&e.manualFx&&(d=a.fn.cycle.transitions[e.manualFx]),d||(d=a.fn.cycle.transitions[e.fx]),e._tempFx=null,this.opts()._tempFx=null,d||(d=a.fn.cycle.transitions.fade,e.API.log('Transition "'+e.fx+'" not found. Using fade.')),d},prepareTx:function(a,b){var c,d,e,f,g,h=this.opts();return h.slideCount<2?void(h.timeoutId=0):(!a||h.busy&&!h.manualTrump||(h.API.stopTransition(),h.busy=!1,clearTimeout(h.timeoutId),h.timeoutId=0),void(h.busy||(0!==h.timeoutId||a)&&(d=h.slides[h.currSlide],e=h.slides[h.nextSlide],f=h.API.getSlideOpts(h.nextSlide),g=h.API.calcTx(f,a),h._tx=g,a&&void 0!==f.manualSpeed&&(f.speed=f.manualSpeed),h.nextSlide!=h.currSlide&&(a||!h.paused&&!h.hoverPaused&&h.timeout)?(h.API.trigger("cycle-before",[f,d,e,b]),g.before&&g.before(f,d,e,b),c=function(){h.busy=!1,h.container.data("cycle.opts")&&(g.after&&g.after(f,d,e,b),h.API.trigger("cycle-after",[f,d,e,b]),h.API.queueTransition(f),h.API.updateView(!0))},h.busy=!0,g.transition?g.transition(f,d,e,b,c):h.API.doTransition(f,d,e,b,c),h.API.calcNextSlide(),h.API.updateView()):h.API.queueTransition(f))))},doTransition:function(b,c,d,e,f){var g=b,h=a(c),i=a(d),j=function(){i.animate(g.animIn||{opacity:1},g.speed,g.easeIn||g.easing,f)};i.css(g.cssBefore||{}),h.animate(g.animOut||{},g.speed,g.easeOut||g.easing,function(){h.css(g.cssAfter||{}),g.sync||j()}),g.sync&&j()},queueTransition:function(b,c){var d=this.opts(),e=void 0!==c?c:b.timeout;return 0===d.nextSlide&&0===--d.loop?(d.API.log("terminating; loop=0"),d.timeout=0,e?setTimeout(function(){d.API.trigger("cycle-finished",[d])},e):d.API.trigger("cycle-finished",[d]),void(d.nextSlide=d.currSlide)):void 0!==d.continueAuto&&(d.continueAuto===!1||a.isFunction(d.continueAuto)&&d.continueAuto()===!1)?(d.API.log("terminating automatic transitions"),d.timeout=0,void(d.timeoutId&&clearTimeout(d.timeoutId))):void(e&&(d._lastQueue=a.now(),void 0===c&&(d._remainingTimeout=b.timeout),d.paused||d.hoverPaused||(d.timeoutId=setTimeout(function(){d.API.prepareTx(!1,!d.reverse)},e))))},stopTransition:function(){var a=this.opts();a.slides.filter(":animated").length&&(a.slides.stop(!1,!0),a.API.trigger("cycle-transition-stopped",[a])),a._tx&&a._tx.stopTransition&&a._tx.stopTransition(a)},advanceSlide:function(a){var b=this.opts();return clearTimeout(b.timeoutId),b.timeoutId=0,b.nextSlide=b.currSlide+a,b.nextSlide<0?b.nextSlide=b.slides.length-1:b.nextSlide>=b.slides.length&&(b.nextSlide=0),b.API.prepareTx(!0,a>=0),!1},buildSlideOpts:function(c){var d,e,f=this.opts(),g=c.data()||{};for(var h in g)g.hasOwnProperty(h)&&/^cycle[A-Z]+/.test(h)&&(d=g[h],e=h.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,b),f.API.log("["+(f.slideCount-1)+"]",e+":",d,"("+typeof d+")"),g[e]=d);g=a.extend({},a.fn.cycle.defaults,f,g),g.slideNum=f.slideCount;try{delete g.API,delete g.slideCount,delete g.currSlide,delete g.nextSlide,delete g.slides}catch(i){}return g},getSlideOpts:function(b){var c=this.opts();void 0===b&&(b=c.currSlide);var d=c.slides[b],e=a(d).data("cycle.opts");return a.extend({},c,e)},initSlide:function(b,c,d){var e=this.opts();c.css(b.slideCss||{}),d>0&&c.css("zIndex",d),isNaN(b.speed)&&(b.speed=a.fx.speeds[b.speed]||a.fx.speeds._default),b.sync||(b.speed=b.speed/2),c.addClass(e.slideClass)},updateView:function(a,b){var c=this.opts();if(c._initialized){var d=c.API.getSlideOpts(),e=c.slides[c.currSlide];!a&&b!==!0&&(c.API.trigger("cycle-update-view-before",[c,d,e]),c.updateView<0)||(c.slideActiveClass&&c.slides.removeClass(c.slideActiveClass).eq(c.currSlide).addClass(c.slideActiveClass),a&&c.hideNonActive&&c.slides.filter(":not(."+c.slideActiveClass+")").css("visibility","hidden"),0===c.updateView&&setTimeout(function(){c.API.trigger("cycle-update-view",[c,d,e,a])},d.speed/(c.sync?2:1)),0!==c.updateView&&c.API.trigger("cycle-update-view",[c,d,e,a]),a&&c.API.trigger("cycle-update-view-after",[c,d,e]))}},getComponent:function(b){var c=this.opts(),d=c[b];return"string"==typeof d?/^\s*[\>|\+|~]/.test(d)?c.container.find(d):a(d):d.jquery?d:a(d)},stackSlides:function(b,c,d){var e=this.opts();b||(b=e.slides[e.currSlide],c=e.slides[e.nextSlide],d=!e.reverse),a(b).css("zIndex",e.maxZ);var f,g=e.maxZ-2,h=e.slideCount;if(d){for(f=e.currSlide+1;h>f;f++)a(e.slides[f]).css("zIndex",g--);for(f=0;f<e.currSlide;f++)a(e.slides[f]).css("zIndex",g--)}else{for(f=e.currSlide-1;f>=0;f--)a(e.slides[f]).css("zIndex",g--);for(f=h-1;f>e.currSlide;f--)a(e.slides[f]).css("zIndex",g--)}a(c).css("zIndex",e.maxZ-1)},getSlideIndex:function(a){return this.opts().slides.index(a)}},a.fn.cycle.log=function(){window.console&&console.log&&console.log("[cycle2] "+Array.prototype.join.call(arguments," "))},a.fn.cycle.version=function(){return"Cycle2: "+c},a.fn.cycle.transitions={custom:{},none:{before:function(a,b,c,d){a.API.stackSlides(c,b,d),a.cssBefore={opacity:1,visibility:"visible",display:"block"}}},fade:{before:function(b,c,d,e){var f=b.API.getSlideOpts(b.nextSlide).slideCss||{};b.API.stackSlides(c,d,e),b.cssBefore=a.extend(f,{opacity:0,visibility:"visible",display:"block"}),b.animIn={opacity:1},b.animOut={opacity:0}}},fadeout:{before:function(b,c,d,e){var f=b.API.getSlideOpts(b.nextSlide).slideCss||{};b.API.stackSlides(c,d,e),b.cssBefore=a.extend(f,{opacity:1,visibility:"visible",display:"block"}),b.animOut={opacity:0}}},scrollHorz:{before:function(a,b,c,d){a.API.stackSlides(b,c,d);var e=a.container.css("overflow","hidden").width();a.cssBefore={left:d?e:-e,top:0,opacity:1,visibility:"visible",display:"block"},a.cssAfter={zIndex:a._maxZ-2,left:0},a.animIn={left:0},a.animOut={left:d?-e:e}}}},a.fn.cycle.defaults={allowWrap:!0,autoSelector:".cycle-slideshow[data-cycle-auto-init!=false]",delay:0,easing:null,fx:"fade",hideNonActive:!0,loop:0,manualFx:void 0,manualSpeed:void 0,manualTrump:!0,maxZ:100,pauseOnHover:!1,reverse:!1,slideActiveClass:"cycle-slide-active",slideClass:"cycle-slide",slideCss:{position:"absolute",top:0,left:0},slides:"> img",speed:500,startingSlide:0,sync:!0,timeout:4e3,updateView:0},a(document).ready(function(){a(a.fn.cycle.defaults.autoSelector).cycle()})}(jQuery),/*! Cycle2 autoheight plugin; Copyright (c) M.Alsup, 2012; version: 20130913 */
|
7 |
+
function(a){"use strict";function b(b,d){var e,f,g,h=d.autoHeight;if("container"==h)f=a(d.slides[d.currSlide]).outerHeight(),d.container.height(f);else if(d._autoHeightRatio)d.container.height(d.container.width()/d._autoHeightRatio);else if("calc"===h||"number"==a.type(h)&&h>=0){if(g="calc"===h?c(b,d):h>=d.slides.length?0:h,g==d._sentinelIndex)return;d._sentinelIndex=g,d._sentinel&&d._sentinel.remove(),e=a(d.slides[g].cloneNode(!0)),e.removeAttr("id name rel").find("[id],[name],[rel]").removeAttr("id name rel"),e.css({position:"static",visibility:"hidden",display:"block"}).prependTo(d.container).addClass("cycle-sentinel cycle-slide").removeClass("cycle-slide-active"),e.find("*").css("visibility","hidden"),d._sentinel=e}}function c(b,c){var d=0,e=-1;return c.slides.each(function(b){var c=a(this).height();c>e&&(e=c,d=b)}),d}function d(b,c,d,e){var f=a(e).outerHeight();c.container.animate({height:f},c.autoHeightSpeed,c.autoHeightEasing)}function e(c,f){f._autoHeightOnResize&&(a(window).off("resize orientationchange",f._autoHeightOnResize),f._autoHeightOnResize=null),f.container.off("cycle-slide-added cycle-slide-removed",b),f.container.off("cycle-destroyed",e),f.container.off("cycle-before",d),f._sentinel&&(f._sentinel.remove(),f._sentinel=null)}a.extend(a.fn.cycle.defaults,{autoHeight:0,autoHeightSpeed:250,autoHeightEasing:null}),a(document).on("cycle-initialized",function(c,f){function g(){b(c,f)}var h,i=f.autoHeight,j=a.type(i),k=null;("string"===j||"number"===j)&&(f.container.on("cycle-slide-added cycle-slide-removed",b),f.container.on("cycle-destroyed",e),"container"==i?f.container.on("cycle-before",d):"string"===j&&/\d+\:\d+/.test(i)&&(h=i.match(/(\d+)\:(\d+)/),h=h[1]/h[2],f._autoHeightRatio=h),"number"!==j&&(f._autoHeightOnResize=function(){clearTimeout(k),k=setTimeout(g,50)},a(window).on("resize orientationchange",f._autoHeightOnResize)),setTimeout(g,30))})}(jQuery),/*! caption plugin for Cycle2; version: 20130306 */
|
8 |
+
function(a){"use strict";a.extend(a.fn.cycle.defaults,{caption:"> .cycle-caption",captionTemplate:"{{slideNum}} / {{slideCount}}",overlay:"> .cycle-overlay",overlayTemplate:"<div>{{title}}</div><div>{{desc}}</div>",captionModule:"caption"}),a(document).on("cycle-update-view",function(b,c,d,e){if("caption"===c.captionModule){a.each(["caption","overlay"],function(){var a=this,b=d[a+"Template"],f=c.API.getComponent(a);f.length&&b?(f.html(c.API.tmpl(b,d,c,e)),f.show()):f.hide()})}}),a(document).on("cycle-destroyed",function(b,c){var d;a.each(["caption","overlay"],function(){var a=this,b=c[a+"Template"];c[a]&&b&&(d=c.API.getComponent("caption"),d.empty())})})}(jQuery),/*! command plugin for Cycle2; version: 20140415 */
|
9 |
+
function(a){"use strict";var b=a.fn.cycle;a.fn.cycle=function(c){var d,e,f,g=a.makeArray(arguments);return"number"==a.type(c)?this.cycle("goto",c):"string"==a.type(c)?this.each(function(){var h;return d=c,f=a(this).data("cycle.opts"),void 0===f?void b.log('slideshow must be initialized before sending commands; "'+d+'" ignored'):(d="goto"==d?"jump":d,e=f.API[d],a.isFunction(e)?(h=a.makeArray(g),h.shift(),e.apply(f.API,h)):void b.log("unknown command: ",d))}):b.apply(this,arguments)},a.extend(a.fn.cycle,b),a.extend(b.API,{next:function(){var a=this.opts();if(!a.busy||a.manualTrump){var b=a.reverse?-1:1;a.allowWrap===!1&&a.currSlide+b>=a.slideCount||(a.API.advanceSlide(b),a.API.trigger("cycle-next",[a]).log("cycle-next"))}},prev:function(){var a=this.opts();if(!a.busy||a.manualTrump){var b=a.reverse?1:-1;a.allowWrap===!1&&a.currSlide+b<0||(a.API.advanceSlide(b),a.API.trigger("cycle-prev",[a]).log("cycle-prev"))}},destroy:function(){this.stop();var b=this.opts(),c=a.isFunction(a._data)?a._data:a.noop;clearTimeout(b.timeoutId),b.timeoutId=0,b.API.stop(),b.API.trigger("cycle-destroyed",[b]).log("cycle-destroyed"),b.container.removeData(),c(b.container[0],"parsedAttrs",!1),b.retainStylesOnDestroy||(b.container.removeAttr("style"),b.slides.removeAttr("style"),b.slides.removeClass(b.slideActiveClass)),b.slides.each(function(){a(this).removeData(),c(this,"parsedAttrs",!1)})},jump:function(a,b){var c,d=this.opts();if(!d.busy||d.manualTrump){var e=parseInt(a,10);if(isNaN(e)||0>e||e>=d.slides.length)return void d.API.log("goto: invalid slide index: "+e);if(e==d.currSlide)return void d.API.log("goto: skipping, already on slide",e);d.nextSlide=e,clearTimeout(d.timeoutId),d.timeoutId=0,d.API.log("goto: ",e," (zero-index)"),c=d.currSlide<d.nextSlide,d._tempFx=b,d.API.prepareTx(!0,c)}},stop:function(){var b=this.opts(),c=b.container;clearTimeout(b.timeoutId),b.timeoutId=0,b.API.stopTransition(),b.pauseOnHover&&(b.pauseOnHover!==!0&&(c=a(b.pauseOnHover)),c.off("mouseenter mouseleave")),b.API.trigger("cycle-stopped",[b]).log("cycle-stopped")},reinit:function(){var a=this.opts();a.API.destroy(),a.container.cycle()},remove:function(b){for(var c,d,e=this.opts(),f=[],g=1,h=0;h<e.slides.length;h++)c=e.slides[h],h==b?d=c:(f.push(c),a(c).data("cycle.opts").slideNum=g,g++);d&&(e.slides=a(f),e.slideCount--,a(d).remove(),b==e.currSlide?e.API.advanceSlide(1):b<e.currSlide?e.currSlide--:e.currSlide++,e.API.trigger("cycle-slide-removed",[e,b,d]).log("cycle-slide-removed"),e.API.updateView())}}),a(document).on("click.cycle","[data-cycle-cmd]",function(b){b.preventDefault();var c=a(this),d=c.data("cycle-cmd"),e=c.data("cycle-context")||".cycle-slideshow";a(e).cycle(d,c.data("cycle-arg"))})}(jQuery),/*! hash plugin for Cycle2; version: 20130905 */
|
10 |
+
function(a){"use strict";function b(b,c){var d;return b._hashFence?void(b._hashFence=!1):(d=window.location.hash.substring(1),void b.slides.each(function(e){if(a(this).data("cycle-hash")==d){if(c===!0)b.startingSlide=e;else{var f=b.currSlide<e;b.nextSlide=e,b.API.prepareTx(!0,f)}return!1}}))}a(document).on("cycle-pre-initialize",function(c,d){b(d,!0),d._onHashChange=function(){b(d,!1)},a(window).on("hashchange",d._onHashChange)}),a(document).on("cycle-update-view",function(a,b,c){c.hash&&"#"+c.hash!=window.location.hash&&(b._hashFence=!0,window.location.hash=c.hash)}),a(document).on("cycle-destroyed",function(b,c){c._onHashChange&&a(window).off("hashchange",c._onHashChange)})}(jQuery),/*! loader plugin for Cycle2; version: 20131121 */
|
11 |
+
function(a){"use strict";a.extend(a.fn.cycle.defaults,{loader:!1}),a(document).on("cycle-bootstrap",function(b,c){function d(b,d){function f(b){var f;"wait"==c.loader?(h.push(b),0===j&&(h.sort(g),e.apply(c.API,[h,d]),c.container.removeClass("cycle-loading"))):(f=a(c.slides[c.currSlide]),e.apply(c.API,[b,d]),f.show(),c.container.removeClass("cycle-loading"))}function g(a,b){return a.data("index")-b.data("index")}var h=[];if("string"==a.type(b))b=a.trim(b);else if("array"===a.type(b))for(var i=0;i<b.length;i++)b[i]=a(b[i])[0];b=a(b);var j=b.length;j&&(b.css("visibility","hidden").appendTo("body").each(function(b){function g(){0===--i&&(--j,f(k))}var i=0,k=a(this),l=k.is("img")?k:k.find("img");return k.data("index",b),l=l.filter(":not(.cycle-loader-ignore)").filter(':not([src=""])'),l.length?(i=l.length,void l.each(function(){this.complete?g():a(this).load(function(){g()}).on("error",function(){0===--i&&(c.API.log("slide skipped; img not loaded:",this.src),0===--j&&"wait"==c.loader&&e.apply(c.API,[h,d]))})})):(--j,void h.push(k))}),j&&c.container.addClass("cycle-loading"))}var e;c.loader&&(e=c.API.add,c.API.add=d)})}(jQuery),/*! pager plugin for Cycle2; version: 20140415 */
|
12 |
+
function(a){"use strict";function b(b,c,d){var e,f=b.API.getComponent("pager");f.each(function(){var f=a(this);if(c.pagerTemplate){var g=b.API.tmpl(c.pagerTemplate,c,b,d[0]);e=a(g).appendTo(f)}else e=f.children().eq(b.slideCount-1);e.on(b.pagerEvent,function(a){b.pagerEventBubble||a.preventDefault(),b.API.page(f,a.currentTarget)})})}function c(a,b){var c=this.opts();if(!c.busy||c.manualTrump){var d=a.children().index(b),e=d,f=c.currSlide<e;c.currSlide!=e&&(c.nextSlide=e,c._tempFx=c.pagerFx,c.API.prepareTx(!0,f),c.API.trigger("cycle-pager-activated",[c,a,b]))}}a.extend(a.fn.cycle.defaults,{pager:"> .cycle-pager",pagerActiveClass:"cycle-pager-active",pagerEvent:"click.cycle",pagerEventBubble:void 0,pagerTemplate:"<span>•</span>"}),a(document).on("cycle-bootstrap",function(a,c,d){d.buildPagerLink=b}),a(document).on("cycle-slide-added",function(a,b,d,e){b.pager&&(b.API.buildPagerLink(b,d,e),b.API.page=c)}),a(document).on("cycle-slide-removed",function(b,c,d){if(c.pager){var e=c.API.getComponent("pager");e.each(function(){var b=a(this);a(b.children()[d]).remove()})}}),a(document).on("cycle-update-view",function(b,c){var d;c.pager&&(d=c.API.getComponent("pager"),d.each(function(){a(this).children().removeClass(c.pagerActiveClass).eq(c.currSlide).addClass(c.pagerActiveClass)}))}),a(document).on("cycle-destroyed",function(a,b){var c=b.API.getComponent("pager");c&&(c.children().off(b.pagerEvent),b.pagerTemplate&&c.empty())})}(jQuery),/*! prevnext plugin for Cycle2; version: 20140408 */
|
13 |
+
function(a){"use strict";a.extend(a.fn.cycle.defaults,{next:"> .cycle-next",nextEvent:"click.cycle",disabledClass:"disabled",prev:"> .cycle-prev",prevEvent:"click.cycle",swipe:!1}),a(document).on("cycle-initialized",function(a,b){if(b.API.getComponent("next").on(b.nextEvent,function(a){a.preventDefault(),b.API.next()}),b.API.getComponent("prev").on(b.prevEvent,function(a){a.preventDefault(),b.API.prev()}),b.swipe){var c=b.swipeVert?"swipeUp.cycle":"swipeLeft.cycle swipeleft.cycle",d=b.swipeVert?"swipeDown.cycle":"swipeRight.cycle swiperight.cycle";b.container.on(c,function(){b._tempFx=b.swipeFx,b.API.next()}),b.container.on(d,function(){b._tempFx=b.swipeFx,b.API.prev()})}}),a(document).on("cycle-update-view",function(a,b){if(!b.allowWrap){var c=b.disabledClass,d=b.API.getComponent("next"),e=b.API.getComponent("prev"),f=b._prevBoundry||0,g=void 0!==b._nextBoundry?b._nextBoundry:b.slideCount-1;b.currSlide==g?d.addClass(c).prop("disabled",!0):d.removeClass(c).prop("disabled",!1),b.currSlide===f?e.addClass(c).prop("disabled",!0):e.removeClass(c).prop("disabled",!1)}}),a(document).on("cycle-destroyed",function(a,b){b.API.getComponent("prev").off(b.nextEvent),b.API.getComponent("next").off(b.prevEvent),b.container.off("swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle")})}(jQuery),/*! progressive loader plugin for Cycle2; version: 20130315 */
|
14 |
+
function(a){"use strict";a.extend(a.fn.cycle.defaults,{progressive:!1}),a(document).on("cycle-pre-initialize",function(b,c){if(c.progressive){var d,e,f=c.API,g=f.next,h=f.prev,i=f.prepareTx,j=a.type(c.progressive);if("array"==j)d=c.progressive;else if(a.isFunction(c.progressive))d=c.progressive(c);else if("string"==j){if(e=a(c.progressive),d=a.trim(e.html()),!d)return;if(/^(\[)/.test(d))try{d=a.parseJSON(d)}catch(k){return void f.log("error parsing progressive slides",k)}else d=d.split(new RegExp(e.data("cycle-split")||"\n")),d[d.length-1]||d.pop()}i&&(f.prepareTx=function(a,b){var e,f;return a||0===d.length?void i.apply(c.API,[a,b]):void(b&&c.currSlide==c.slideCount-1?(f=d[0],d=d.slice(1),c.container.one("cycle-slide-added",function(a,b){setTimeout(function(){b.API.advanceSlide(1)},50)}),c.API.add(f)):b||0!==c.currSlide?i.apply(c.API,[a,b]):(e=d.length-1,f=d[e],d=d.slice(0,e),c.container.one("cycle-slide-added",function(a,b){setTimeout(function(){b.currSlide=1,b.API.advanceSlide(-1)},50)}),c.API.add(f,!0)))}),g&&(f.next=function(){var a=this.opts();if(d.length&&a.currSlide==a.slideCount-1){var b=d[0];d=d.slice(1),a.container.one("cycle-slide-added",function(a,b){g.apply(b.API),b.container.removeClass("cycle-loading")}),a.container.addClass("cycle-loading"),a.API.add(b)}else g.apply(a.API)}),h&&(f.prev=function(){var a=this.opts();if(d.length&&0===a.currSlide){var b=d.length-1,c=d[b];d=d.slice(0,b),a.container.one("cycle-slide-added",function(a,b){b.currSlide=1,b.API.advanceSlide(-1),b.container.removeClass("cycle-loading")}),a.container.addClass("cycle-loading"),a.API.add(c,!0)}else h.apply(a.API)})}})}(jQuery),/*! tmpl plugin for Cycle2; version: 20121227 */
|
15 |
+
function(a){"use strict";a.extend(a.fn.cycle.defaults,{tmplRegex:"{{((.)?.*?)}}"}),a.extend(a.fn.cycle.API,{tmpl:function(b,c){var d=new RegExp(c.tmplRegex||a.fn.cycle.defaults.tmplRegex,"g"),e=a.makeArray(arguments);return e.shift(),b.replace(d,function(b,c){var d,f,g,h,i=c.split(".");for(d=0;d<e.length;d++)if(g=e[d]){if(i.length>1)for(h=g,f=0;f<i.length;f++)g=h,h=h[i[f]]||c;else h=g[c];if(a.isFunction(h))return h.apply(g,e);if(void 0!==h&&null!==h&&h!=c)return h}return c})}})}(jQuery);
|
16 |
+
//# sourceMappingURL=jquery.cycle2.js.map
|
admin/js/jquery.cycle/jquery.cycle2.scrollVert.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140128 */
|
2 |
+
(function(e){"use strict";e.fn.cycle.transitions.scrollVert={before:function(e,i,t,n){e.API.stackSlides(e,i,t,n);var s=e.container.css("overflow","hidden").height();e.cssBefore={top:n?-s:s,left:0,opacity:1,display:"block",visibility:"visible"},e.animIn={top:0},e.animOut={top:n?s:-s}}}})(jQuery);
|
admin/js/jquery.cycle/jquery.cycle2.shuffle.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140128 */
|
2 |
+
(function(e){"use strict";e.fn.cycle.transitions.shuffle={transition:function(i,t,n,s,o){function r(e){this.stack(i,t,n,s),e()}e(n).css({display:"block",visibility:"visible"});var l=i.container.css("overflow","visible").width(),c=i.speed/2,a=s?t:n;i=i.API.getSlideOpts(s?i.currSlide:i.nextSlide);var d={left:-l,top:15},u=i.slideCss||{left:0,top:0};void 0!==i.shuffleLeft?d.left=d.left+parseInt(i.shuffleLeft,10)||0:void 0!==i.shuffleRight&&(d.left=l+parseInt(i.shuffleRight,10)||0),i.shuffleTop&&(d.top=i.shuffleTop),e(a).animate(d,c,i.easeIn||i.easing).queue("fx",e.proxy(r,this)).animate(u,c,i.easeOut||i.easing,o)},stack:function(i,t,n,s){var o,r;if(s)i.API.stackSlides(n,t,s),e(t).css("zIndex",1);else{for(r=1,o=i.nextSlide-1;o>=0;o--)e(i.slides[o]).css("zIndex",r++);for(o=i.slideCount-1;o>i.nextSlide;o--)e(i.slides[o]).css("zIndex",r++);e(n).css("zIndex",i.maxZ),e(t).css("zIndex",i.maxZ-1)}}}})(jQuery);
|
admin/js/jquery.cycle/jquery.cycle2.tile.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140128 */
|
2 |
+
(function(e){"use strict";e.fn.cycle.transitions.tileSlide=e.fn.cycle.transitions.tileBlind={before:function(i,t,n,s){i.API.stackSlides(t,n,s),e(t).css({display:"block",visibility:"visible"}),i.container.css("overflow","hidden"),i.tileDelay=i.tileDelay||"tileSlide"==i.fx?100:125,i.tileCount=i.tileCount||7,i.tileVertical=i.tileVertical!==!1,i.container.data("cycleTileInitialized")||(i.container.on("cycle-destroyed",e.proxy(this.onDestroy,i.API)),i.container.data("cycleTileInitialized",!0))},transition:function(i,t,n,s,o){function l(e){p.eq(e).animate(I,{duration:i.speed,easing:i.easing,complete:function(){(s?y-1===e:0===e)&&i._tileAniCallback()}}),setTimeout(function(){(s?y-1!==e:0!==e)&&l(s?e+1:e-1)},i.tileDelay)}i.slides.not(t).not(n).css("visibility","hidden");var r,c,a,d,u,p=e(),f=e(t),v=e(n),y=i.tileCount,g=i.tileVertical,h=i.container.height(),m=i.container.width();g?(c=Math.floor(m/y),d=m-c*(y-1),a=u=h):(c=d=m,a=Math.floor(h/y),u=h-a*(y-1)),i.container.find(".cycle-tiles-container").remove();var I,A={left:0,top:0,overflow:"hidden",position:"absolute",margin:0,padding:0};I=g?"tileSlide"==i.fx?{top:h}:{width:0}:"tileSlide"==i.fx?{left:m}:{height:0};var S=e('<div class="cycle-tiles-container"></div>');S.css({zIndex:f.css("z-index"),overflow:"visible",position:"absolute",top:0,left:0,direction:"ltr"}),S.insertBefore(n);for(var x=0;y>x;x++)r=e("<div></div>").css(A).css({width:y-1===x?d:c,height:y-1===x?u:a,marginLeft:g?x*c:0,marginTop:g?0:x*a}).append(f.clone().css({position:"relative",maxWidth:"none",width:f.width(),margin:0,padding:0,marginLeft:g?-(x*c):0,marginTop:g?0:-(x*a)})),p=p.add(r);S.append(p),f.css("visibility","hidden"),v.css({opacity:1,display:"block",visibility:"visible"}),l(s?0:y-1),i._tileAniCallback=function(){v.css({display:"block",visibility:"visible"}),f.css("visibility","hidden"),S.remove(),o()}},stopTransition:function(e){e.container.find("*").stop(!0,!0),e._tileAniCallback&&e._tileAniCallback()},onDestroy:function(){var e=this.opts();e.container.find(".cycle-tiles-container").remove()}}})(jQuery);
|
admin/partials/dashboard-display.php
CHANGED
@@ -131,31 +131,34 @@
|
|
131 |
</div><!-- #module-service -->
|
132 |
</div><!-- .module-wrap -->
|
133 |
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
<div
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
<
|
|
|
|
|
|
|
|
|
|
|
145 |
</div>
|
146 |
|
147 |
-
<div class="
|
148 |
-
|
149 |
-
|
150 |
-
<div class="module-content">
|
151 |
-
<p><?php esc_html_e( 'Food Menu – Create and display your Food Menu items on your website.', 'essential-content-types' ); ?></p>
|
152 |
|
153 |
-
|
154 |
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
|
|
159 |
</div><!-- .module-container -->
|
160 |
</div><!-- .content -->
|
161 |
</div><!-- .content-wrapper -->
|
131 |
</div><!-- #module-service -->
|
132 |
</div><!-- .module-wrap -->
|
133 |
|
134 |
+
<?php
|
135 |
+
$food_menu_options = get_option( 'ect_food_menu' );
|
136 |
+
?>
|
137 |
+
<?php if( $food_menu_options['status'] ) : ?>
|
138 |
+
<div class="module-wrap">
|
139 |
+
<div id="module-food-menu" class="catch-modules">
|
140 |
+
|
141 |
+
<div class="module-header <?php echo $food_menu_options['status'] ? 'active' : 'inactive'; ?>">
|
142 |
+
<h3 class="module-title"><?php esc_html_e( 'Food Menu', 'essential-content-types' ); ?></h3>
|
143 |
+
|
144 |
+
<div class="switch">
|
145 |
+
<input type="checkbox" id="ect_food_menu" class="input-switch" rel="ect_food_menu" <?php checked( true, $food_menu_options['status'] ); ?> >
|
146 |
+
<label for="ect_food_menu"></label>
|
147 |
+
</div>
|
148 |
+
|
149 |
+
<div class="loader"></div>
|
150 |
</div>
|
151 |
|
152 |
+
<div class="module-content">
|
153 |
+
<p><?php esc_html_e( 'Food Menu – Create and display your Food Menu items on your website.', 'essential-content-types' ); ?></p>
|
|
|
|
|
|
|
154 |
|
155 |
+
<p><?php esc_html_e( 'Once enabled, Food Menu Items Post Type options will appear on Dashboard Menu', 'essential-content-types' ); ?></p>
|
156 |
|
157 |
+
<p>For more information on <strong>How to use Food Menu Shortcodes</strong>, <a href="https://catchplugins.com/blog/added-food-menu-essential-content-types-plugin-pro-free" title="Essential Content Type: Food Menu Shortcode" target="_blank">Click here</a></p>
|
158 |
+
</div>
|
159 |
+
</div><!-- #module-food-menu -->
|
160 |
+
</div><!-- .module-wrap -->
|
161 |
+
<?php endif; ?>
|
162 |
</div><!-- .module-container -->
|
163 |
</div><!-- .content -->
|
164 |
</div><!-- .content-wrapper -->
|
admin/partials/essential-content-types-admin-display.php
CHANGED
@@ -25,7 +25,7 @@
|
|
25 |
<h2 class="nav-tab-wrapper">
|
26 |
<a class="nav-tab nav-tab-active" id="dashboard-tab" href="#dashboard"><?php esc_html_e( 'Dashboard', 'essential-content-types' ); ?></a>
|
27 |
<a class="nav-tab" id="features-tab" href="#features"><?php esc_html_e( 'Features', 'essential-content-types' ); ?></a>
|
28 |
-
<a class="nav-tab" id="premium-extensions-tab" href="#premium-extensions"><?php esc_html_e( '
|
29 |
</h2>
|
30 |
|
31 |
<div id="dashboard" class="wpcatchtab nosave active">
|
@@ -49,8 +49,9 @@
|
|
49 |
<li><strong><?php esc_html_e( 'Testomonials Widget', 'essential-content-types' ); ?></strong></li>
|
50 |
<li><strong><?php esc_html_e( 'Services Widget', 'essential-content-types' ); ?></strong></li>
|
51 |
<li><strong><?php esc_html_e( 'Ability to add shortcodes via button', 'essential-content-types' ); ?></strong></li>
|
|
|
|
|
52 |
</ul>
|
53 |
-
|
54 |
<a href="https://catchplugins.com/plugins/essential-content-types-pro/" target="_blank"><?php esc_html_e( 'Find out why you should upgrade to Essential Content Types Premium »', 'essential-content-types' ); ?></a>
|
55 |
</div> <!-- .Content -->
|
56 |
</div> <!-- #go-premium -->
|
@@ -85,11 +86,6 @@
|
|
85 |
<p><?php esc_html_e( 'Every website owner wants people to know about eh services they provide. You can place the services you provide right on the spotlight. Choose to display the services in 1 to 6 columns. Display your services and let the world know what you can provide them with.', 'essential-content-types-pro' ); ?></p>
|
86 |
</li>
|
87 |
|
88 |
-
<li>
|
89 |
-
<strong><?php esc_html_e( 'Food Menu', 'essential-content-types-pro' ); ?></strong>
|
90 |
-
<p><?php esc_html_e( 'If you run a restaurant or any food business, you must showcase your food menu items gracefully in order to attract more customers to your business. Adding a food menu on your website makes your website more engaging and lets your visitors know everything you have to offer.', 'essential-content-types-pro' ); ?></p>
|
91 |
-
</li>
|
92 |
-
|
93 |
<li>
|
94 |
<strong><?php esc_html_e( 'Supports all themes on WordPress', 'essential-content-types-pro' ); ?></strong>
|
95 |
<p><?php esc_html_e( 'You don’t have to worry if you have a slightly different or complicated theme installed on your website. It supports all the themes on WordPress and makes your website more striking and playful.', 'essential-content-types-pro' ); ?></p>
|
@@ -160,7 +156,7 @@
|
|
160 |
|
161 |
<div class="content-wrapper">
|
162 |
<div class="header">
|
163 |
-
<h3><?php esc_html_e( '
|
164 |
|
165 |
</div><!-- .header -->
|
166 |
<div class="content">
|
@@ -239,6 +235,78 @@
|
|
239 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td>
|
240 |
</tr>
|
241 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
242 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry">
|
243 |
<td>
|
244 |
<strong><?php esc_html_e( 'Portfolio Widget', 'essential-content-types' ); ?></strong>
|
25 |
<h2 class="nav-tab-wrapper">
|
26 |
<a class="nav-tab nav-tab-active" id="dashboard-tab" href="#dashboard"><?php esc_html_e( 'Dashboard', 'essential-content-types' ); ?></a>
|
27 |
<a class="nav-tab" id="features-tab" href="#features"><?php esc_html_e( 'Features', 'essential-content-types' ); ?></a>
|
28 |
+
<a class="nav-tab" id="premium-extensions-tab" href="#premium-extensions"><?php esc_html_e( 'Compare Table', 'essential-content-types' ); ?></a>
|
29 |
</h2>
|
30 |
|
31 |
<div id="dashboard" class="wpcatchtab nosave active">
|
49 |
<li><strong><?php esc_html_e( 'Testomonials Widget', 'essential-content-types' ); ?></strong></li>
|
50 |
<li><strong><?php esc_html_e( 'Services Widget', 'essential-content-types' ); ?></strong></li>
|
51 |
<li><strong><?php esc_html_e( 'Ability to add shortcodes via button', 'essential-content-types' ); ?></strong></li>
|
52 |
+
<li><strong><?php esc_html_e( 'Flexible Image Size', 'essential-content-types' ); ?></strong></li>
|
53 |
+
<li><strong><?php esc_html_e( 'Testimonial Slider Option', 'essential-content-types' ); ?></strong></li>
|
54 |
</ul>
|
|
|
55 |
<a href="https://catchplugins.com/plugins/essential-content-types-pro/" target="_blank"><?php esc_html_e( 'Find out why you should upgrade to Essential Content Types Premium »', 'essential-content-types' ); ?></a>
|
56 |
</div> <!-- .Content -->
|
57 |
</div> <!-- #go-premium -->
|
86 |
<p><?php esc_html_e( 'Every website owner wants people to know about eh services they provide. You can place the services you provide right on the spotlight. Choose to display the services in 1 to 6 columns. Display your services and let the world know what you can provide them with.', 'essential-content-types-pro' ); ?></p>
|
87 |
</li>
|
88 |
|
|
|
|
|
|
|
|
|
|
|
89 |
<li>
|
90 |
<strong><?php esc_html_e( 'Supports all themes on WordPress', 'essential-content-types-pro' ); ?></strong>
|
91 |
<p><?php esc_html_e( 'You don’t have to worry if you have a slightly different or complicated theme installed on your website. It supports all the themes on WordPress and makes your website more striking and playful.', 'essential-content-types-pro' ); ?></p>
|
156 |
|
157 |
<div class="content-wrapper">
|
158 |
<div class="header">
|
159 |
+
<h3><?php esc_html_e( 'Compare Table', 'essential-content-types' ); ?></h3>
|
160 |
|
161 |
</div><!-- .header -->
|
162 |
<div class="content">
|
235 |
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td>
|
236 |
</tr>
|
237 |
|
238 |
+
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry">
|
239 |
+
<td>
|
240 |
+
<strong><?php esc_html_e( 'Fixed Image Size', 'essential-content-types' ); ?></strong>
|
241 |
+
</td>
|
242 |
+
<td class="column column-free"><div class="table-icons icon-green">✓</div></td>
|
243 |
+
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td>
|
244 |
+
</tr>
|
245 |
+
|
246 |
+
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry">
|
247 |
+
<td>
|
248 |
+
<strong><?php esc_html_e( 'Portfolio', 'essential-content-types' ); ?></strong>
|
249 |
+
</td>
|
250 |
+
<td class="column column-free"><div class="table-icons icon-green">✓</div></td>
|
251 |
+
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td>
|
252 |
+
</tr>
|
253 |
+
|
254 |
+
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry">
|
255 |
+
<td>
|
256 |
+
<strong><?php esc_html_e( 'Featured Content', 'essential-content-types' ); ?></strong>
|
257 |
+
</td>
|
258 |
+
<td class="column column-free"><div class="table-icons icon-green">✓</div></td>
|
259 |
+
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td>
|
260 |
+
</tr>
|
261 |
+
|
262 |
+
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry">
|
263 |
+
<td>
|
264 |
+
<strong><?php esc_html_e( 'Services', 'essential-content-types' ); ?></strong>
|
265 |
+
</td>
|
266 |
+
<td class="column column-free"><div class="table-icons icon-green">✓</div></td>
|
267 |
+
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td>
|
268 |
+
</tr>
|
269 |
+
|
270 |
+
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry">
|
271 |
+
<td>
|
272 |
+
<strong><?php esc_html_e( 'Testimonial', 'essential-content-types' ); ?></strong>
|
273 |
+
</td>
|
274 |
+
<td class="column column-free"><div class="table-icons icon-green">✓</div></td>
|
275 |
+
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td>
|
276 |
+
</tr>
|
277 |
+
|
278 |
+
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry">
|
279 |
+
<td>
|
280 |
+
<strong><?php esc_html_e( 'Food Menu', 'essential-content-types' ); ?></strong>
|
281 |
+
</td>
|
282 |
+
<td class="column column-free"><div class="table-icons icon-red">×</div></td>
|
283 |
+
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td>
|
284 |
+
</tr>
|
285 |
+
|
286 |
+
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry">
|
287 |
+
<td>
|
288 |
+
<strong><?php esc_html_e( 'Flexible Image Size', 'essential-content-types' ); ?></strong>
|
289 |
+
</td>
|
290 |
+
<td class="column column-free"><div class="table-icons icon-red">×</div></td>
|
291 |
+
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td>
|
292 |
+
</tr>
|
293 |
+
|
294 |
+
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry">
|
295 |
+
<td>
|
296 |
+
<strong><?php esc_html_e( 'Testimonial Slider Option', 'essential-content-types' ); ?></strong>
|
297 |
+
</td>
|
298 |
+
<td class="column column-free"><div class="table-icons icon-red">×</div></td>
|
299 |
+
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td>
|
300 |
+
</tr>
|
301 |
+
|
302 |
+
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry">
|
303 |
+
<td>
|
304 |
+
<strong><?php esc_html_e( 'Menu Title Font Size', 'essential-content-types' ); ?></strong>
|
305 |
+
</td>
|
306 |
+
<td class="column column-free"><div class="table-icons icon-red">×</div></td>
|
307 |
+
<td class="column column-pro"><div class="table-icons icon-green">✓</div></td>
|
308 |
+
</tr>
|
309 |
+
|
310 |
<tr class="iedit author-self level-0 type-post status-publish format-standard hentry">
|
311 |
<td>
|
312 |
<strong><?php esc_html_e( 'Portfolio Widget', 'essential-content-types' ); ?></strong>
|
admin/partials/sidebar.php
CHANGED
@@ -11,6 +11,8 @@
|
|
11 |
<li><strong><?php esc_html_e( 'Testomonials Widget', 'essential-content-types' ); ?></strong></li>
|
12 |
<li><strong><?php esc_html_e( 'Services Widget', 'essential-content-types' ); ?></strong></li>
|
13 |
<li><strong><?php esc_html_e( 'Ability to add shortcodes via button', 'essential-content-types' ); ?></strong></li>
|
|
|
|
|
14 |
</ul>
|
15 |
<a id="catch-premium-button" class="button button-primary" href="https://catchplugins.com/plugins/essential-content-types-pro/" target="_blank"><?php esc_html_e( 'Get Now', 'essential-content-types' ); ?></a>
|
16 |
</div>
|
11 |
<li><strong><?php esc_html_e( 'Testomonials Widget', 'essential-content-types' ); ?></strong></li>
|
12 |
<li><strong><?php esc_html_e( 'Services Widget', 'essential-content-types' ); ?></strong></li>
|
13 |
<li><strong><?php esc_html_e( 'Ability to add shortcodes via button', 'essential-content-types' ); ?></strong></li>
|
14 |
+
<li><strong><?php esc_html_e( 'Flexible Image Size', 'essential-content-types' ); ?></strong></li>
|
15 |
+
<li><strong><?php esc_html_e( 'Testimonial Slider Option', 'essential-content-types' ); ?></strong></li>
|
16 |
</ul>
|
17 |
<a id="catch-premium-button" class="button button-primary" href="https://catchplugins.com/plugins/essential-content-types-pro/" target="_blank"><?php esc_html_e( 'Get Now', 'essential-content-types' ); ?></a>
|
18 |
</div>
|
ect-templates/content-featured-content.php
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
4 |
+
exit; // Exit if accessed directly
|
5 |
+
}
|
6 |
+
|
7 |
+
?>
|
8 |
+
|
9 |
+
<div class="hentry featured-content-entry">
|
10 |
+
<header class="featured-content-entry-header entry-header">
|
11 |
+
<?php
|
12 |
+
// Featured image
|
13 |
+
if ( false != $atts['image'] ) {
|
14 |
+
echo essential_content_get_featured_content_thumbnail_link( get_the_ID(), 'ect-featured' );
|
15 |
+
}
|
16 |
+
?>
|
17 |
+
|
18 |
+
<h2 class="featured-content-entry-title entry-title"><a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo esc_attr( the_title_attribute( ) ); ?>"><?php the_title(); ?></a></h2>
|
19 |
+
<?php if ( false != $atts['display_types'] || false != $atts['display_tags'] || false != $atts['display_author'] ) : ?>
|
20 |
+
<div class="featured-content-entry-meta entry-meta">
|
21 |
+
<?php
|
22 |
+
if ( false != $atts['display_types'] ) {
|
23 |
+
echo Essential_Content_Featured_Content::get_content_type( get_the_ID() );
|
24 |
+
}
|
25 |
+
|
26 |
+
if ( false != $atts['display_tags'] ) {
|
27 |
+
echo Essential_Content_Featured_Content::get_content_tags( get_the_ID() );
|
28 |
+
}
|
29 |
+
|
30 |
+
if ( false != $atts['display_author'] ) {
|
31 |
+
echo Essential_Content_Featured_Content::get_content_author( get_the_ID() );
|
32 |
+
}
|
33 |
+
?>
|
34 |
+
</div>
|
35 |
+
<?php endif; ?>
|
36 |
+
</header>
|
37 |
+
|
38 |
+
<?php
|
39 |
+
// The content
|
40 |
+
if ( false !== $atts['display_content'] ) {
|
41 |
+
if ( 'full' === $atts['display_content'] ) {
|
42 |
+
?>
|
43 |
+
<div class="featured-content-entry-content entry-content"><?php the_content(); ?></div>
|
44 |
+
<?php
|
45 |
+
} else {
|
46 |
+
?>
|
47 |
+
<div class="featured-content-entry-content entry-content"><?php the_excerpt(); ?></div>
|
48 |
+
<?php
|
49 |
+
}
|
50 |
+
}
|
51 |
+
?>
|
52 |
+
</div><!-- close .featured-content-entry -->
|
ect-templates/content-menu.php
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
4 |
+
exit; // Exit if accessed directly
|
5 |
+
}
|
6 |
+
|
7 |
+
?>
|
8 |
+
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
9 |
+
<div class="hentry-inner">
|
10 |
+
<div class="entry-container">
|
11 |
+
<div class="entry-description">
|
12 |
+
<header class="entry-header">
|
13 |
+
<?php the_title( '<h2 class="entry-title"><a href="' . esc_url( get_the_permalink() ) . '">', '</a></h2>' ); ?>
|
14 |
+
</header>
|
15 |
+
|
16 |
+
<div class="entry-content">
|
17 |
+
<?php the_excerpt(); ?>
|
18 |
+
</div>
|
19 |
+
</div>
|
20 |
+
|
21 |
+
<div class="entry-price">
|
22 |
+
<p class="item-price"><?php echo esc_html( get_post_meta( get_the_ID(), 'ect_food_price', true ) ); ?></p>
|
23 |
+
</div>
|
24 |
+
</div>
|
25 |
+
</div><!-- .hentry-inner -->
|
26 |
+
</article><!-- .hentry -->
|
ect-templates/content-portfolio.php
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
4 |
+
exit; // Exit if accessed directly
|
5 |
+
}
|
6 |
+
|
7 |
+
?>
|
8 |
+
<article class="ect hentry portfolio-entry">
|
9 |
+
<header class="portfolio-entry-header entry-header">
|
10 |
+
<?php
|
11 |
+
// Featured image
|
12 |
+
echo essential_content_get_portfolio_thumbnail_link( get_the_ID(), 'ect-jetpack-portfolio-featured' );
|
13 |
+
?>
|
14 |
+
|
15 |
+
<h2 class="portfolio-entry-title entry-title"><a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo esc_attr( the_title_attribute( ) ); ?>"><?php the_title(); ?></a></h2>
|
16 |
+
<?php if ( false != $atts['display_types'] || false != $atts['display_tags'] || false != $atts['display_author'] ) : ?>
|
17 |
+
<div class="portfolio-entry-meta entry-meta">
|
18 |
+
<?php
|
19 |
+
if ( false != $atts['display_types'] ) {
|
20 |
+
echo Essential_Content_Jetpack_Portfolio::get_project_type( get_the_ID() );
|
21 |
+
}
|
22 |
+
|
23 |
+
if ( false != $atts['display_tags'] ) {
|
24 |
+
echo Essential_Content_Jetpack_Portfolio::get_project_tags( get_the_ID() );
|
25 |
+
}
|
26 |
+
|
27 |
+
if ( false != $atts['display_author'] ) {
|
28 |
+
echo Essential_Content_Jetpack_Portfolio::get_project_author( get_the_ID() );
|
29 |
+
}
|
30 |
+
?>
|
31 |
+
</div>
|
32 |
+
<?php endif; ?>
|
33 |
+
</header>
|
34 |
+
|
35 |
+
<?php
|
36 |
+
// The content
|
37 |
+
if ( false !== $atts['display_content'] ) {
|
38 |
+
if ( 'full' === $atts['display_content'] ) {
|
39 |
+
?>
|
40 |
+
<div class="portfolio-entry-content entry-content"><?php the_content(); ?></div>
|
41 |
+
<?php
|
42 |
+
} else {
|
43 |
+
?>
|
44 |
+
<div class="portfolio-entry-content entry-content"><?php the_excerpt(); ?></div>
|
45 |
+
<?php
|
46 |
+
}
|
47 |
+
}
|
48 |
+
?>
|
49 |
+
</article><!-- close .portfolio-entry -->
|
ect-templates/content-service.php
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
4 |
+
exit; // Exit if accessed directly
|
5 |
+
}
|
6 |
+
/*echo '<pre>';
|
7 |
+
print_r($atts);
|
8 |
+
echo '</pre>'; die();*/
|
9 |
+
?>
|
10 |
+
<div class="hentry service-entry">
|
11 |
+
<header class="service-entry-header entry-header">
|
12 |
+
<?php
|
13 |
+
// Featured image
|
14 |
+
if ( false != $atts['image'] ) {
|
15 |
+
echo essential_content_get_service_thumbnail_link( get_the_ID(), 'ect-service' );
|
16 |
+
}
|
17 |
+
?>
|
18 |
+
|
19 |
+
<h2 class="service-entry-title entry-title"><a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo esc_attr( the_title_attribute( ) ); ?>"><?php the_title(); ?></a></h2>
|
20 |
+
<?php if ( false != $atts['display_types'] || false != $atts['display_tags'] || false != $atts['display_author'] ) : ?>
|
21 |
+
<div class="service-entry-meta entry-meta">
|
22 |
+
<?php
|
23 |
+
if ( false != $atts['display_types'] ) {
|
24 |
+
echo Essential_Content_Service::get_content_type( get_the_ID() );
|
25 |
+
}
|
26 |
+
|
27 |
+
if ( false != $atts['display_tags'] ) {
|
28 |
+
echo Essential_Content_Service::get_content_tags( get_the_ID() );
|
29 |
+
}
|
30 |
+
|
31 |
+
if ( false != $atts['display_author'] ) {
|
32 |
+
echo Essential_Content_Service::get_content_author( get_the_ID() );
|
33 |
+
}
|
34 |
+
?>
|
35 |
+
</div>
|
36 |
+
<?php endif; ?>
|
37 |
+
</header>
|
38 |
+
|
39 |
+
<?php
|
40 |
+
// The content
|
41 |
+
if ( false !== $atts['display_content'] ) {
|
42 |
+
if ( 'full' === $atts['display_content'] ) {
|
43 |
+
?>
|
44 |
+
<div class="service-entry-content entry-content"><?php the_content(); ?></div>
|
45 |
+
<?php
|
46 |
+
} else {
|
47 |
+
?>
|
48 |
+
<div class="service-entry-content entry-content"><?php the_excerpt(); ?></div>
|
49 |
+
<?php
|
50 |
+
}
|
51 |
+
}
|
52 |
+
?>
|
53 |
+
</div><!-- close .service-entry -->
|
54 |
+
<?php $atts['service_index_number']++;
|
ect-templates/content-testimonial.php
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
4 |
+
exit; // Exit if accessed directly
|
5 |
+
}
|
6 |
+
?>
|
7 |
+
<article class="hentry testimonial-entry">
|
8 |
+
<div class="hentry-inner">
|
9 |
+
<?php
|
10 |
+
// Featured image
|
11 |
+
if ( false !== $atts['image'] ) :
|
12 |
+
echo essential_content_get_testimonial_thumbnail_link( get_the_ID(), 'thumbnail' );
|
13 |
+
endif;
|
14 |
+
// The content
|
15 |
+
if ( false !== $atts['display_content'] ) {
|
16 |
+
?>
|
17 |
+
<div class="testimonial-entry-content entry-content">
|
18 |
+
<?php
|
19 |
+
the_content();
|
20 |
+
?>
|
21 |
+
</div>
|
22 |
+
<?php
|
23 |
+
}
|
24 |
+
?>
|
25 |
+
<header class="entry-header">
|
26 |
+
<?php
|
27 |
+
the_title( '<h2 class="entry-title">', '</h2>' );
|
28 |
+
$position = get_post_meta( get_the_ID(), 'ect_testimonial_position', false );
|
29 |
+
if ( $position[0] ) : ?>
|
30 |
+
<p class="entry-meta"><span class="position ect-testimonial-position"><?php echo esc_html( $position[0] ); ?></span></p>
|
31 |
+
<?php endif; ?>
|
32 |
+
</header>
|
33 |
+
</article><!-- close .testimonial-entry -->
|
ect-templates/ect-menu.php
ADDED
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The template for displaying food_menu items
|
4 |
+
*
|
5 |
+
* @package Foodie_World
|
6 |
+
*/
|
7 |
+
?>
|
8 |
+
|
9 |
+
<?php
|
10 |
+
$cat_list = array();
|
11 |
+
|
12 |
+
$args['taxonomy'] = 'ect_food_menu';
|
13 |
+
|
14 |
+
$menu_categories = get_categories( $args );
|
15 |
+
|
16 |
+
foreach( $menu_categories as $category ) {
|
17 |
+
if( false != $atts['include_type'] ) {
|
18 |
+
if ( in_array( $category->slug, $atts['include_type'] ) ) {
|
19 |
+
$cat_list[] = $category->term_id;
|
20 |
+
}
|
21 |
+
} else {
|
22 |
+
$cat_list[] = $category->term_id;
|
23 |
+
}
|
24 |
+
}
|
25 |
+
?>
|
26 |
+
<div id="tabs" class="tabs">
|
27 |
+
<div class="tabs-nav">
|
28 |
+
<ul class="ui-tabs-nav menu-tabs-nav">
|
29 |
+
<?php
|
30 |
+
$taxonomy = 'ect_food_menu';
|
31 |
+
|
32 |
+
$i = 0;
|
33 |
+
foreach ( $cat_list as $cat ) :
|
34 |
+
$term_obj = get_term_by( 'id', absint( $cat ), $taxonomy );
|
35 |
+
if( $term_obj ) {
|
36 |
+
$term_name = $cat_name[] = $term_obj->name;
|
37 |
+
|
38 |
+
$class = 'ui-tabs-tab menu-tabs-tab';
|
39 |
+
|
40 |
+
if ( 0 === $i ) {
|
41 |
+
$class .= ' ui-state-active';
|
42 |
+
}
|
43 |
+
|
44 |
+
?>
|
45 |
+
<li class="<?php echo $class; ?>"><a href="#tab-<?php echo esc_attr( $i + 1 ); ?>" class="ui-tabs-anchor"><?php echo esc_html( $term_obj->name ) ?></a></li>
|
46 |
+
<?php
|
47 |
+
}
|
48 |
+
$i++;
|
49 |
+
endforeach;
|
50 |
+
?>
|
51 |
+
</ul>
|
52 |
+
</div><!-- .tabs-nav -->
|
53 |
+
|
54 |
+
<?php
|
55 |
+
$i = 0;
|
56 |
+
foreach ( $cat_list as $cat ) :
|
57 |
+
if( isset( $cat_name ) ) {
|
58 |
+
?>
|
59 |
+
|
60 |
+
<div class="ui-tabs-panel-wrap">
|
61 |
+
<h4 class="menu-nav-collapse ui-nav-collapse<?php echo ( 0 === $i ) ? ' ui-state-active' : ''; ?>"><a href="#tab-<?php echo esc_attr( $i + 1 ); ?>" class="ui-tabs-anchor"><?php echo esc_html( $cat_name[ $i ] ); ?></a></h4>
|
62 |
+
<div id="tab-<?php echo esc_attr( $i + 1 ); ?>" class="menu-tabs-panel ui-tabs-panel<?php echo ( 0 === $i ) ? ' active-tab' : ''; ?>">
|
63 |
+
<?php
|
64 |
+
|
65 |
+
$args = array();
|
66 |
+
$args['post_type'] = Essential_Content_Food_Menu::MENU_ITEM_POST_TYPE;
|
67 |
+
|
68 |
+
$tax_query = array(
|
69 |
+
array(
|
70 |
+
'taxonomy' => Essential_Content_Food_Menu::MENU_TAX,
|
71 |
+
'terms' => absint( $cat ),
|
72 |
+
'field' => 'term_id',
|
73 |
+
),
|
74 |
+
);
|
75 |
+
|
76 |
+
$args['tax_query'] = $tax_query;
|
77 |
+
|
78 |
+
if ( false != $atts['include_tag'] ) {
|
79 |
+
array_push( $args['tax_query'], array(
|
80 |
+
'taxonomy' => Essential_Content_Food_Menu::MENU_ITEM_LABEL_TAX,
|
81 |
+
'field' => 'slug',
|
82 |
+
'terms' => $atts['include_tag'],
|
83 |
+
) );
|
84 |
+
}
|
85 |
+
|
86 |
+
if ( false != $atts['include_type'] && false != $atts['include_tag'] ) {
|
87 |
+
$args['tax_query']['relation'] = 'AND';
|
88 |
+
}
|
89 |
+
|
90 |
+
$loop = new WP_Query( $args );
|
91 |
+
if ( $loop->have_posts() ) :
|
92 |
+
while ( $loop->have_posts() ) :
|
93 |
+
$loop->the_post();
|
94 |
+
ect_get_template_part( 'content', 'menu', $atts );
|
95 |
+
endwhile;
|
96 |
+
endif;
|
97 |
+
wp_reset_postdata();
|
98 |
+
?>
|
99 |
+
</div><!-- #tab-1 -->
|
100 |
+
</div><!-- .ui-tabs-panel-wrap -->
|
101 |
+
|
102 |
+
<?php
|
103 |
+
}
|
104 |
+
$i++;
|
105 |
+
endforeach;
|
106 |
+
?>
|
107 |
+
</div><!-- .tabs -->
|
essential-content-types.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* Plugin Name: Essential Content Types
|
17 |
* Plugin URI: https://catchplugins.com/plugins/essential-content-types/
|
18 |
* Description: Essential Content Types allows you to feature the impressive content through different content/post types on your website just the way you want it. These content/post types are missed by the themes in WordPress Theme Directory as the feature falls more towards the plugins’ territory.
|
19 |
-
* Version: 1.
|
20 |
* Author: Catch Plugins
|
21 |
* Author URI: https://catchplugins.com
|
22 |
* License: GPL-3.0+
|
@@ -79,3 +79,99 @@ function run_essential_content_types() {
|
|
79 |
|
80 |
}
|
81 |
run_essential_content_types();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
* Plugin Name: Essential Content Types
|
17 |
* Plugin URI: https://catchplugins.com/plugins/essential-content-types/
|
18 |
* Description: Essential Content Types allows you to feature the impressive content through different content/post types on your website just the way you want it. These content/post types are missed by the themes in WordPress Theme Directory as the feature falls more towards the plugins’ territory.
|
19 |
+
* Version: 1.3
|
20 |
* Author: Catch Plugins
|
21 |
* Author URI: https://catchplugins.com
|
22 |
* License: GPL-3.0+
|
79 |
|
80 |
}
|
81 |
run_essential_content_types();
|
82 |
+
|
83 |
+
|
84 |
+
if( ! function_exists( 'ect_get_layout' ) ) :
|
85 |
+
function ect_get_layout() {
|
86 |
+
$layout = array(
|
87 |
+
'1' => 'layout-one',
|
88 |
+
'2' => 'layout-two',
|
89 |
+
'3' => 'layout-three',
|
90 |
+
'4' => 'layout-four',
|
91 |
+
'5' => 'layout-five',
|
92 |
+
'6' => 'layout-six',
|
93 |
+
);
|
94 |
+
return $layout;
|
95 |
+
}
|
96 |
+
endif;
|
97 |
+
|
98 |
+
|
99 |
+
if( ! function_exists( 'ect_plugin_path' ) ) :
|
100 |
+
/**
|
101 |
+
* Get the plugin path.
|
102 |
+
*
|
103 |
+
* @return string
|
104 |
+
*/
|
105 |
+
function ect_plugin_path() {
|
106 |
+
return untrailingslashit( plugin_dir_path( __FILE__ ) );
|
107 |
+
}
|
108 |
+
endif;
|
109 |
+
|
110 |
+
|
111 |
+
if( ! function_exists( 'ect_template_path' ) ) :
|
112 |
+
/**
|
113 |
+
* Get the template path.
|
114 |
+
*
|
115 |
+
* @return string
|
116 |
+
*/
|
117 |
+
function ect_template_path() {
|
118 |
+
return apply_filters( 'ect_template_path', 'ect-templates/' );
|
119 |
+
}
|
120 |
+
endif;
|
121 |
+
|
122 |
+
|
123 |
+
if( ! function_exists( 'ect_get_template_part' ) ) :
|
124 |
+
/**
|
125 |
+
* Get template part (for templates like the shop-loop).
|
126 |
+
*
|
127 |
+
*
|
128 |
+
* @access public
|
129 |
+
* @param mixed $slug Template slug.
|
130 |
+
* @param string $name Template name (default: '').
|
131 |
+
* @param array $atts Options to pass into template.
|
132 |
+
*/
|
133 |
+
function ect_get_template_part( $slug, $name = '', $atts ) {
|
134 |
+
|
135 |
+
$template = '';
|
136 |
+
set_query_var( 'atts', $atts );
|
137 |
+
|
138 |
+
// Look in yourtheme/slug-name.php and yourtheme/ect-templates/slug-name.php.
|
139 |
+
if ( $name ) {
|
140 |
+
$template = locate_template( array( "{$slug}-{$name}.php", ect_template_path() . "{$slug}-{$name}.php" ) );
|
141 |
+
}
|
142 |
+
|
143 |
+
// Get default slug-name.php.
|
144 |
+
if ( empty( $template ) && $name && file_exists( ect_plugin_path() . '/' . ect_template_path() ."{$slug}-{$name}.php" ) ) {
|
145 |
+
$template = ect_plugin_path() . '/' . ect_template_path() . "{$slug}-{$name}.php";
|
146 |
+
}
|
147 |
+
|
148 |
+
// If template file doesn't exist, look in yourtheme/slug.php and yourtheme/ect-templates/slug.php.
|
149 |
+
if ( ! $template ) {
|
150 |
+
$template = locate_template( array( "{$slug}.php", ect_template_path() . "{$slug}.php" ) );
|
151 |
+
}
|
152 |
+
|
153 |
+
// Allow 3rd party plugins to filter template file from their plugin.
|
154 |
+
$template = apply_filters( 'ect_get_template_part', $template, $slug, $name );
|
155 |
+
|
156 |
+
//die($template);
|
157 |
+
//die(ect_template_path($name) . "{$slug}-{$name}.php");
|
158 |
+
if ( $template ) {
|
159 |
+
load_template( $template, false, 'atts' );
|
160 |
+
}
|
161 |
+
}
|
162 |
+
endif;
|
163 |
+
|
164 |
+
/*
|
165 |
+
if( ! function_exists( 'ect_enqueue_scripts' ) ) :
|
166 |
+
function ect_enqueue_scripts() {
|
167 |
+
die('asdf');
|
168 |
+
wp_enqueue_script( 'ect-scripts', plugin_dir_url( __FILE__ ) . 'js/scripts.js', array( 'jquery' ), $this->version, false );
|
169 |
+
}
|
170 |
+
add_action( 'wp_enqueue_scripts', 'ect_enqueue_scripts' );
|
171 |
+
endif;*/
|
172 |
+
|
173 |
+
function ect_body_classes( $classes ){
|
174 |
+
$classes[] = 'ect-post';
|
175 |
+
return $classes;
|
176 |
+
}
|
177 |
+
add_filter( 'body_class', 'ect_body_classes' );
|
includes/class-essential-content-types-activator.php
CHANGED
@@ -41,9 +41,15 @@ class Essential_Content_Types_Activator {
|
|
41 |
);
|
42 |
|
43 |
$value = array( 'status' => 1 );
|
|
|
44 |
|
45 |
foreach ( $options as $option ) {
|
46 |
-
|
|
|
|
|
|
|
|
|
|
|
47 |
}
|
48 |
}
|
49 |
|
41 |
);
|
42 |
|
43 |
$value = array( 'status' => 1 );
|
44 |
+
|
45 |
|
46 |
foreach ( $options as $option ) {
|
47 |
+
$option_value = get_option( $option );
|
48 |
+
if( ( 'ect_food_menu' == $option ) && ( 1 != $option_value['status'] ) ) {
|
49 |
+
update_option( $option, array( 'status' => 0 ) );
|
50 |
+
} else {
|
51 |
+
update_option( $option, $value );
|
52 |
+
}
|
53 |
}
|
54 |
}
|
55 |
|
includes/class-essential-content-types.php
CHANGED
@@ -69,7 +69,7 @@ class Essential_Content_Types {
|
|
69 |
public function __construct() {
|
70 |
|
71 |
$this->plugin_name = 'essential-content-types';
|
72 |
-
$this->version = '1.1';
|
73 |
|
74 |
$this->load_dependencies();
|
75 |
$this->set_locale();
|
69 |
public function __construct() {
|
70 |
|
71 |
$this->plugin_name = 'essential-content-types';
|
72 |
+
$this->version = '1.2.1';
|
73 |
|
74 |
$this->load_dependencies();
|
75 |
$this->set_locale();
|
languages/essential-content-types.pot
CHANGED
@@ -5,7 +5,7 @@ msgid ""
|
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: Essential Content Types\n"
|
7 |
"Report-Msgid-Bugs-To: https://wordpress.org/tags/_s\n"
|
8 |
-
"POT-Creation-Date: 2018-05
|
9 |
"PO-Revision-Date: 2016-12-12 09:23-0500\n"
|
10 |
"Last-Translator: Sakin Shrestha <info@catchplugins.com>\n"
|
11 |
"Language-Team: Catch Plugins <info@catchplugins.com>\n"
|
@@ -14,7 +14,7 @@ msgstr ""
|
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
17 |
-
"X-Generator: Poedit 2.0.
|
18 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;esc_attr_e;esc_attr__;_nx;_x;"
|
19 |
"esc_html_e;esc_html__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_n_noop:1,2;"
|
20 |
"__ngettext_noop:1,2;_c,_nc:4c,1,2\n"
|
@@ -53,7 +53,8 @@ msgstr ""
|
|
53 |
#: ../admin/class-featured-content.php:105
|
54 |
#: ../admin/class-featured-content.php:276
|
55 |
#: ../admin/partials/dashboard-display.php:84
|
56 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
|
|
57 |
msgid "Featured Content"
|
58 |
msgstr ""
|
59 |
|
@@ -314,28 +315,28 @@ msgstr ""
|
|
314 |
msgid "Featured Content Archive Featured Image"
|
315 |
msgstr ""
|
316 |
|
317 |
-
#: ../admin/class-featured-content.php:
|
318 |
-
|
319 |
-
"Your Featured Content Archive currently has no entries. You can start "
|
320 |
-
"creating them on your dashboard."
|
321 |
-
msgstr ""
|
322 |
-
|
323 |
-
#: ../admin/class-featured-content.php:632 ../admin/class-portfolio.php:767
|
324 |
-
#: ../admin/class-service.php:633
|
325 |
msgid "Types"
|
326 |
msgstr ""
|
327 |
|
328 |
-
#: ../admin/class-featured-content.php:
|
329 |
-
#: ../admin/class-service.php:
|
330 |
msgid "Tags"
|
331 |
msgstr ""
|
332 |
|
333 |
-
#: ../admin/class-featured-content.php:
|
334 |
-
#: ../admin/class-service.php:
|
335 |
#, php-format
|
336 |
msgid "<span>Author:</span> <a href=\"%1$s\">%2$s</a>"
|
337 |
msgstr ""
|
338 |
|
|
|
|
|
|
|
|
|
|
|
|
|
339 |
#: ../admin/class-food-menu.php:129
|
340 |
msgid "Menu Item Labels"
|
341 |
msgstr ""
|
@@ -587,8 +588,8 @@ msgid "Price"
|
|
587 |
msgstr ""
|
588 |
|
589 |
#: ../admin/class-food-menu.php:504
|
590 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
591 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
592 |
msgid "Order"
|
593 |
msgstr ""
|
594 |
|
@@ -662,7 +663,7 @@ msgstr ""
|
|
662 |
msgid "No Labels"
|
663 |
msgstr ""
|
664 |
|
665 |
-
#: ../admin/class-food-menu.php:
|
666 |
msgid ""
|
667 |
"Your Food Menu Archive currently has no entries. You can start creating "
|
668 |
"them on your dashboard."
|
@@ -703,7 +704,8 @@ msgid "Project"
|
|
703 |
msgstr ""
|
704 |
|
705 |
#: ../admin/class-portfolio.php:232 ../admin/class-portfolio.php:410
|
706 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
|
|
707 |
msgid "Portfolio"
|
708 |
msgstr ""
|
709 |
|
@@ -906,7 +908,7 @@ msgstr ""
|
|
906 |
msgid "Portfolio Archive Featured Image"
|
907 |
msgstr ""
|
908 |
|
909 |
-
#: ../admin/class-portfolio.php:
|
910 |
msgid ""
|
911 |
"Your Portfolio Archive currently has no entries. You can start creating "
|
912 |
"them on your dashboard."
|
@@ -918,7 +920,8 @@ msgstr ""
|
|
918 |
|
919 |
#: ../admin/class-service.php:103 ../admin/class-service.php:276
|
920 |
#: ../admin/class-service.php:282 ../admin/partials/dashboard-display.php:112
|
921 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
|
|
922 |
msgid "Services"
|
923 |
msgstr ""
|
924 |
|
@@ -1122,7 +1125,7 @@ msgstr ""
|
|
1122 |
msgid "Service Archive Featured Image"
|
1123 |
msgstr ""
|
1124 |
|
1125 |
-
#: ../admin/class-service.php:
|
1126 |
msgid ""
|
1127 |
"Your Service Archive currently has no entries. You can start creating them "
|
1128 |
"on your dashboard."
|
@@ -1132,7 +1135,7 @@ msgstr ""
|
|
1132 |
#: ../admin/class-testimonial.php:265 ../admin/class-testimonial.php:434
|
1133 |
#: ../admin/class-testimonial.php:441
|
1134 |
#: ../admin/partials/dashboard-display.php:57
|
1135 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1136 |
msgid "Testimonials"
|
1137 |
msgstr ""
|
1138 |
|
@@ -1154,6 +1157,7 @@ msgid "Customer Testimonials"
|
|
1154 |
msgstr ""
|
1155 |
|
1156 |
#: ../admin/class-testimonial.php:264
|
|
|
1157 |
msgid "Testimonial"
|
1158 |
msgstr ""
|
1159 |
|
@@ -1273,18 +1277,34 @@ msgstr ""
|
|
1273 |
msgid "Testimonial Archive Featured Image"
|
1274 |
msgstr ""
|
1275 |
|
1276 |
-
#: ../admin/class-testimonial.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1277 |
msgid ""
|
1278 |
"Your Testimonial Archive currently has no entries. You can start creating "
|
1279 |
"them on your dashboard."
|
1280 |
msgstr ""
|
1281 |
|
1282 |
-
#: ../admin/class-testimonial.php:
|
1283 |
-
msgid "
|
1284 |
msgstr ""
|
1285 |
|
1286 |
-
#: ../admin/class-testimonial.php:
|
1287 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1288 |
msgstr ""
|
1289 |
|
1290 |
#: ../admin/partials/dashboard-display.php:30
|
@@ -1349,16 +1369,16 @@ msgstr ""
|
|
1349 |
msgid "%1$sClick here%2$s to view Service Archive Options."
|
1350 |
msgstr ""
|
1351 |
|
1352 |
-
#: ../admin/partials/dashboard-display.php:
|
1353 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1354 |
msgid "Food Menu"
|
1355 |
msgstr ""
|
1356 |
|
1357 |
-
#: ../admin/partials/dashboard-display.php:
|
1358 |
msgid "Food Menu – Create and display your Food Menu items on your website."
|
1359 |
msgstr ""
|
1360 |
|
1361 |
-
#: ../admin/partials/dashboard-display.php:
|
1362 |
msgid ""
|
1363 |
"Once enabled, Food Menu Items Post Type options will appear on Dashboard "
|
1364 |
"Menu"
|
@@ -1377,14 +1397,14 @@ msgid "Dashboard"
|
|
1377 |
msgstr ""
|
1378 |
|
1379 |
#: ../admin/partials/essential-content-types-admin-display.php:27
|
1380 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1381 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1382 |
msgid "Features"
|
1383 |
msgstr ""
|
1384 |
|
1385 |
#: ../admin/partials/essential-content-types-admin-display.php:28
|
1386 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1387 |
-
msgid "
|
1388 |
msgstr ""
|
1389 |
|
1390 |
#: ../admin/partials/essential-content-types-admin-display.php:38
|
@@ -1401,7 +1421,7 @@ msgid "Featured Content Widget"
|
|
1401 |
msgstr ""
|
1402 |
|
1403 |
#: ../admin/partials/essential-content-types-admin-display.php:48
|
1404 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1405 |
#: ../admin/partials/sidebar.php:10
|
1406 |
msgid "Portfolio Widget"
|
1407 |
msgstr ""
|
@@ -1421,11 +1441,23 @@ msgstr ""
|
|
1421 |
msgid "Ability to add shortcodes via button"
|
1422 |
msgstr ""
|
1423 |
|
1424 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1425 |
msgid "Find out why you should upgrade to Essential Content Types Premium »"
|
1426 |
msgstr ""
|
1427 |
|
1428 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1429 |
msgid ""
|
1430 |
"Portfolio enables you to showcase your professional accomplishments to the "
|
1431 |
"world at large. Display your most impressive Portfolios in the way you "
|
@@ -1433,7 +1465,7 @@ msgid ""
|
|
1433 |
"columns. A marvelous way to easily display your experience and expertise."
|
1434 |
msgstr ""
|
1435 |
|
1436 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1437 |
msgid ""
|
1438 |
"People are always after authenticity. They are always looking for ways to "
|
1439 |
"know what your goods or services are really like. Customer testimonials "
|
@@ -1441,14 +1473,14 @@ msgid ""
|
|
1441 |
"want and also select your testimonial layout type up to 6 columns."
|
1442 |
msgstr ""
|
1443 |
|
1444 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1445 |
msgid ""
|
1446 |
"Featured Content allows you to showcase your recent and popular posts on "
|
1447 |
"your website. Your Featured Content can be displayed up to 1 to 6 columns. "
|
1448 |
"Enable the Featured Content option and display your most impressive posts."
|
1449 |
msgstr ""
|
1450 |
|
1451 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1452 |
msgid ""
|
1453 |
"Every website owner wants people to know about eh services they provide. "
|
1454 |
"You can place the services you provide right on the spotlight. Choose to "
|
@@ -1457,70 +1489,62 @@ msgid ""
|
|
1457 |
msgstr ""
|
1458 |
|
1459 |
#: ../admin/partials/essential-content-types-admin-display.php:90
|
1460 |
-
msgid ""
|
1461 |
-
"If you run a restaurant or any food business, you must showcase your food "
|
1462 |
-
"menu items gracefully in order to attract more customers to your business. "
|
1463 |
-
"Adding a food menu on your website makes your website more engaging and "
|
1464 |
-
"lets your visitors know everything you have to offer."
|
1465 |
-
msgstr ""
|
1466 |
-
|
1467 |
-
#: ../admin/partials/essential-content-types-admin-display.php:94
|
1468 |
msgid "Supports all themes on WordPress"
|
1469 |
msgstr ""
|
1470 |
|
1471 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1472 |
msgid ""
|
1473 |
"You don’t have to worry if you have a slightly different or complicated "
|
1474 |
"theme installed on your website. It supports all the themes on WordPress "
|
1475 |
"and makes your website more striking and playful."
|
1476 |
msgstr ""
|
1477 |
|
1478 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1479 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1480 |
msgid "Lightweight"
|
1481 |
msgstr ""
|
1482 |
|
1483 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1484 |
msgid ""
|
1485 |
"It is extremely lightweight. You do not need to worry about it affecting "
|
1486 |
"the space and speed of your website."
|
1487 |
msgstr ""
|
1488 |
|
1489 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1490 |
msgid ""
|
1491 |
"You have the freedom to choose how your content would be displayed—whether "
|
1492 |
"in ascending or descending alphabetical order by author name, title, date, "
|
1493 |
"or in random order."
|
1494 |
msgstr ""
|
1495 |
|
1496 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1497 |
msgid "Enable/Disable any content/post type as needed"
|
1498 |
msgstr ""
|
1499 |
|
1500 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1501 |
msgid ""
|
1502 |
"With this option, you can choose whether you want to display your content/"
|
1503 |
"post type or not. You can enable or disable any content or post type as per "
|
1504 |
"your need."
|
1505 |
msgstr ""
|
1506 |
|
1507 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1508 |
msgid "Super Simple to Set Up"
|
1509 |
msgstr ""
|
1510 |
|
1511 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1512 |
msgid ""
|
1513 |
"It is super easy to set up. Even the beginners can set it up easily and "
|
1514 |
"also, you do not need to have any coding knowledge. Just install, activate, "
|
1515 |
"customize it your way and enjoy the plugin."
|
1516 |
msgstr ""
|
1517 |
|
1518 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1519 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1520 |
msgid "Responsive Design"
|
1521 |
msgstr ""
|
1522 |
|
1523 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1524 |
msgid ""
|
1525 |
"One of the key features of our plugins is that your website will magically "
|
1526 |
"respond and adapt to different screen sizes delivering an optimized design "
|
@@ -1528,11 +1552,11 @@ msgid ""
|
|
1528 |
"zoom and scroll around when browsing on your mobile phone."
|
1529 |
msgstr ""
|
1530 |
|
1531 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1532 |
msgid "Incredible Support"
|
1533 |
msgstr ""
|
1534 |
|
1535 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1536 |
msgid ""
|
1537 |
"We have a great line of support team and support documentation. You do not "
|
1538 |
"need to worry about how to use the plugins we provide, just refer to our "
|
@@ -1540,11 +1564,11 @@ msgid ""
|
|
1540 |
"your website, you can always hire our theme customizer!"
|
1541 |
msgstr ""
|
1542 |
|
1543 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1544 |
msgid "Widgets"
|
1545 |
msgstr ""
|
1546 |
|
1547 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1548 |
msgid ""
|
1549 |
"Multitude of widget options provide you with the option to choose the "
|
1550 |
"widgets that you want to display. You can have full control over each "
|
@@ -1552,98 +1576,106 @@ msgid ""
|
|
1552 |
"your sidebars, footer and any sidebar widgets."
|
1553 |
msgstr ""
|
1554 |
|
1555 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1556 |
msgid "Shortcodes"
|
1557 |
msgstr ""
|
1558 |
|
1559 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1560 |
msgid ""
|
1561 |
"With Shortcodes, you have the option to use the powerful shortcode options "
|
1562 |
"to style multiple contents in completely different ways."
|
1563 |
msgstr ""
|
1564 |
|
1565 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1566 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1567 |
msgid "Number of Posts"
|
1568 |
msgstr ""
|
1569 |
|
1570 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1571 |
msgid ""
|
1572 |
"You have the option to choose the number of posts you want to display on "
|
1573 |
"your website. Pick the number of posts that suits the best on your website."
|
1574 |
msgstr ""
|
1575 |
|
1576 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1577 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1578 |
msgid "Column Option"
|
1579 |
msgstr ""
|
1580 |
|
1581 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1582 |
msgid ""
|
1583 |
"Column Option allows you to choose from multiple column options. Several "
|
1584 |
"options are available for all column types in general to edit the default "
|
1585 |
"behavior."
|
1586 |
msgstr ""
|
1587 |
|
1588 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1589 |
msgid "Upgrade to Essential Content Types Premium »"
|
1590 |
msgstr ""
|
1591 |
|
1592 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1593 |
msgid "Get Essential Content Types Pro -"
|
1594 |
msgstr ""
|
1595 |
|
1596 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1597 |
msgid "Get It Here!"
|
1598 |
msgstr ""
|
1599 |
|
1600 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1601 |
msgid "You are currently using the free version of Essential Content Types."
|
1602 |
msgstr ""
|
1603 |
|
1604 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1605 |
msgid ""
|
1606 |
"If you have purchased from catchplugins.com, then follow this link to the "
|
1607 |
"installation instructions (particularly step 1)."
|
1608 |
msgstr ""
|
1609 |
|
1610 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1611 |
msgid "Free"
|
1612 |
msgstr ""
|
1613 |
|
1614 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1615 |
msgid "Pro"
|
1616 |
msgstr ""
|
1617 |
|
1618 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1619 |
msgid "Super Easy Setup"
|
1620 |
msgstr ""
|
1621 |
|
1622 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1623 |
msgid "Shortcode"
|
1624 |
msgstr ""
|
1625 |
|
1626 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1627 |
msgid "Custom Post Types"
|
1628 |
msgstr ""
|
1629 |
|
1630 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1631 |
msgid "Featured Image Widget"
|
1632 |
msgstr ""
|
1633 |
|
1634 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1635 |
msgid "Testimonials Widget"
|
1636 |
msgstr ""
|
1637 |
|
1638 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1639 |
msgid "Services Widget"
|
1640 |
msgstr ""
|
1641 |
|
1642 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1643 |
msgid "Add Shortcode Button"
|
1644 |
msgstr ""
|
1645 |
|
1646 |
-
#: ../admin/partials/essential-content-types-admin-display.php:
|
1647 |
msgid "Ads-free Dashboard"
|
1648 |
msgstr ""
|
1649 |
|
@@ -1671,64 +1703,64 @@ msgstr ""
|
|
1671 |
msgid "Get Essential Content Types Pro"
|
1672 |
msgstr ""
|
1673 |
|
1674 |
-
#: ../admin/partials/sidebar.php:
|
1675 |
msgid "Get Now"
|
1676 |
msgstr ""
|
1677 |
|
1678 |
-
#: ../admin/partials/sidebar.php:
|
1679 |
msgid "Premium Themes"
|
1680 |
msgstr ""
|
1681 |
|
1682 |
-
#: ../admin/partials/sidebar.php:
|
1683 |
msgid ""
|
1684 |
"Check out our simple, clean and responsive Premium WordPress Themes that "
|
1685 |
"come with an array of crucial features with a superior functionality."
|
1686 |
msgstr ""
|
1687 |
|
1688 |
-
#: ../admin/partials/sidebar.php:
|
1689 |
msgid "Check our premium themes."
|
1690 |
msgstr ""
|
1691 |
|
1692 |
-
#: ../admin/partials/sidebar.php:
|
1693 |
msgid "Free Themes"
|
1694 |
msgstr ""
|
1695 |
|
1696 |
-
#: ../admin/partials/sidebar.php:
|
1697 |
msgid ""
|
1698 |
"Check out our collection of Free WordPress Themes that are clean, simple "
|
1699 |
"and feature-rich."
|
1700 |
msgstr ""
|
1701 |
|
1702 |
-
#: ../admin/partials/sidebar.php:
|
1703 |
msgid "Check our free themes."
|
1704 |
msgstr ""
|
1705 |
|
1706 |
-
#: ../admin/partials/sidebar.php:
|
1707 |
msgid "Premium Plugins"
|
1708 |
msgstr ""
|
1709 |
|
1710 |
-
#: ../admin/partials/sidebar.php:
|
1711 |
msgid ""
|
1712 |
"Check out our secured Premium WordPress Plugins to enhance and add extra "
|
1713 |
"functionalities to your website. An exceptional way to get the most out of "
|
1714 |
"WordPress!"
|
1715 |
msgstr ""
|
1716 |
|
1717 |
-
#: ../admin/partials/sidebar.php:
|
1718 |
msgid "Check our premium plugins."
|
1719 |
msgstr ""
|
1720 |
|
1721 |
-
#: ../admin/partials/sidebar.php:
|
1722 |
msgid "Free Plugins"
|
1723 |
msgstr ""
|
1724 |
|
1725 |
-
#: ../admin/partials/sidebar.php:
|
1726 |
msgid ""
|
1727 |
"Check out our Free WordPress Plugins and get the taste of our service "
|
1728 |
"without affecting your wallet."
|
1729 |
msgstr ""
|
1730 |
|
1731 |
-
#: ../admin/partials/sidebar.php:
|
1732 |
msgid "check our free plugins."
|
1733 |
msgstr ""
|
1734 |
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: Essential Content Types\n"
|
7 |
"Report-Msgid-Bugs-To: https://wordpress.org/tags/_s\n"
|
8 |
+
"POT-Creation-Date: 2018-07-05 11:02+0545\n"
|
9 |
"PO-Revision-Date: 2016-12-12 09:23-0500\n"
|
10 |
"Last-Translator: Sakin Shrestha <info@catchplugins.com>\n"
|
11 |
"Language-Team: Catch Plugins <info@catchplugins.com>\n"
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
17 |
+
"X-Generator: Poedit 2.0.8\n"
|
18 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;esc_attr_e;esc_attr__;_nx;_x;"
|
19 |
"esc_html_e;esc_html__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_n_noop:1,2;"
|
20 |
"__ngettext_noop:1,2;_c,_nc:4c,1,2\n"
|
53 |
#: ../admin/class-featured-content.php:105
|
54 |
#: ../admin/class-featured-content.php:276
|
55 |
#: ../admin/partials/dashboard-display.php:84
|
56 |
+
#: ../admin/partials/essential-content-types-admin-display.php:80
|
57 |
+
#: ../admin/partials/essential-content-types-admin-display.php:256
|
58 |
msgid "Featured Content"
|
59 |
msgstr ""
|
60 |
|
315 |
msgid "Featured Content Archive Featured Image"
|
316 |
msgstr ""
|
317 |
|
318 |
+
#: ../admin/class-featured-content.php:558 ../admin/class-portfolio.php:703
|
319 |
+
#: ../admin/class-service.php:566
|
|
|
|
|
|
|
|
|
|
|
|
|
320 |
msgid "Types"
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: ../admin/class-featured-content.php:589 ../admin/class-portfolio.php:734
|
324 |
+
#: ../admin/class-service.php:597
|
325 |
msgid "Tags"
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: ../admin/class-featured-content.php:615 ../admin/class-portfolio.php:760
|
329 |
+
#: ../admin/class-service.php:623
|
330 |
#, php-format
|
331 |
msgid "<span>Author:</span> <a href=\"%1$s\">%2$s</a>"
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: ../admin/class-featured-content.php:668
|
335 |
+
msgid ""
|
336 |
+
"Your Featured Content Archive currently has no entries. You can start "
|
337 |
+
"creating them on your dashboard."
|
338 |
+
msgstr ""
|
339 |
+
|
340 |
#: ../admin/class-food-menu.php:129
|
341 |
msgid "Menu Item Labels"
|
342 |
msgstr ""
|
588 |
msgstr ""
|
589 |
|
590 |
#: ../admin/class-food-menu.php:504
|
591 |
+
#: ../admin/partials/essential-content-types-admin-display.php:100
|
592 |
+
#: ../admin/partials/essential-content-types-admin-display.php:208
|
593 |
msgid "Order"
|
594 |
msgstr ""
|
595 |
|
663 |
msgid "No Labels"
|
664 |
msgstr ""
|
665 |
|
666 |
+
#: ../admin/class-food-menu.php:1451
|
667 |
msgid ""
|
668 |
"Your Food Menu Archive currently has no entries. You can start creating "
|
669 |
"them on your dashboard."
|
704 |
msgstr ""
|
705 |
|
706 |
#: ../admin/class-portfolio.php:232 ../admin/class-portfolio.php:410
|
707 |
+
#: ../admin/partials/essential-content-types-admin-display.php:70
|
708 |
+
#: ../admin/partials/essential-content-types-admin-display.php:248
|
709 |
msgid "Portfolio"
|
710 |
msgstr ""
|
711 |
|
908 |
msgid "Portfolio Archive Featured Image"
|
909 |
msgstr ""
|
910 |
|
911 |
+
#: ../admin/class-portfolio.php:818
|
912 |
msgid ""
|
913 |
"Your Portfolio Archive currently has no entries. You can start creating "
|
914 |
"them on your dashboard."
|
920 |
|
921 |
#: ../admin/class-service.php:103 ../admin/class-service.php:276
|
922 |
#: ../admin/class-service.php:282 ../admin/partials/dashboard-display.php:112
|
923 |
+
#: ../admin/partials/essential-content-types-admin-display.php:85
|
924 |
+
#: ../admin/partials/essential-content-types-admin-display.php:264
|
925 |
msgid "Services"
|
926 |
msgstr ""
|
927 |
|
1125 |
msgid "Service Archive Featured Image"
|
1126 |
msgstr ""
|
1127 |
|
1128 |
+
#: ../admin/class-service.php:672
|
1129 |
msgid ""
|
1130 |
"Your Service Archive currently has no entries. You can start creating them "
|
1131 |
"on your dashboard."
|
1135 |
#: ../admin/class-testimonial.php:265 ../admin/class-testimonial.php:434
|
1136 |
#: ../admin/class-testimonial.php:441
|
1137 |
#: ../admin/partials/dashboard-display.php:57
|
1138 |
+
#: ../admin/partials/essential-content-types-admin-display.php:75
|
1139 |
msgid "Testimonials"
|
1140 |
msgstr ""
|
1141 |
|
1157 |
msgstr ""
|
1158 |
|
1159 |
#: ../admin/class-testimonial.php:264
|
1160 |
+
#: ../admin/partials/essential-content-types-admin-display.php:272
|
1161 |
msgid "Testimonial"
|
1162 |
msgstr ""
|
1163 |
|
1277 |
msgid "Testimonial Archive Featured Image"
|
1278 |
msgstr ""
|
1279 |
|
1280 |
+
#: ../admin/class-testimonial.php:751
|
1281 |
+
msgid "Position"
|
1282 |
+
msgstr ""
|
1283 |
+
|
1284 |
+
#: ../admin/class-testimonial.php:792
|
1285 |
+
msgid "Testmonial Options"
|
1286 |
+
msgstr ""
|
1287 |
+
|
1288 |
+
#: ../admin/class-testimonial.php:828
|
1289 |
msgid ""
|
1290 |
"Your Testimonial Archive currently has no entries. You can start creating "
|
1291 |
"them on your dashboard."
|
1292 |
msgstr ""
|
1293 |
|
1294 |
+
#: ../admin/class-testimonial.php:877
|
1295 |
+
msgid "Previous Slide"
|
1296 |
msgstr ""
|
1297 |
|
1298 |
+
#: ../admin/class-testimonial.php:884
|
1299 |
+
msgid "Next Slide"
|
1300 |
+
msgstr ""
|
1301 |
+
|
1302 |
+
#: ../admin/class-testimonial.php:946
|
1303 |
+
msgid "Please define default parameters in the form of an array."
|
1304 |
+
msgstr ""
|
1305 |
+
|
1306 |
+
#: ../admin/class-testimonial.php:951
|
1307 |
+
msgid "Please define an SVG icon filename."
|
1308 |
msgstr ""
|
1309 |
|
1310 |
#: ../admin/partials/dashboard-display.php:30
|
1369 |
msgid "%1$sClick here%2$s to view Service Archive Options."
|
1370 |
msgstr ""
|
1371 |
|
1372 |
+
#: ../admin/partials/dashboard-display.php:142
|
1373 |
+
#: ../admin/partials/essential-content-types-admin-display.php:280
|
1374 |
msgid "Food Menu"
|
1375 |
msgstr ""
|
1376 |
|
1377 |
+
#: ../admin/partials/dashboard-display.php:153
|
1378 |
msgid "Food Menu – Create and display your Food Menu items on your website."
|
1379 |
msgstr ""
|
1380 |
|
1381 |
+
#: ../admin/partials/dashboard-display.php:155
|
1382 |
msgid ""
|
1383 |
"Once enabled, Food Menu Items Post Type options will appear on Dashboard "
|
1384 |
"Menu"
|
1397 |
msgstr ""
|
1398 |
|
1399 |
#: ../admin/partials/essential-content-types-admin-display.php:27
|
1400 |
+
#: ../admin/partials/essential-content-types-admin-display.php:64
|
1401 |
+
#: ../admin/partials/essential-content-types-admin-display.php:167
|
1402 |
msgid "Features"
|
1403 |
msgstr ""
|
1404 |
|
1405 |
#: ../admin/partials/essential-content-types-admin-display.php:28
|
1406 |
+
#: ../admin/partials/essential-content-types-admin-display.php:159
|
1407 |
+
msgid "Compare Table"
|
1408 |
msgstr ""
|
1409 |
|
1410 |
#: ../admin/partials/essential-content-types-admin-display.php:38
|
1421 |
msgstr ""
|
1422 |
|
1423 |
#: ../admin/partials/essential-content-types-admin-display.php:48
|
1424 |
+
#: ../admin/partials/essential-content-types-admin-display.php:312
|
1425 |
#: ../admin/partials/sidebar.php:10
|
1426 |
msgid "Portfolio Widget"
|
1427 |
msgstr ""
|
1441 |
msgid "Ability to add shortcodes via button"
|
1442 |
msgstr ""
|
1443 |
|
1444 |
+
#: ../admin/partials/essential-content-types-admin-display.php:52
|
1445 |
+
#: ../admin/partials/essential-content-types-admin-display.php:288
|
1446 |
+
#: ../admin/partials/sidebar.php:14
|
1447 |
+
msgid "Flexible Image Size"
|
1448 |
+
msgstr ""
|
1449 |
+
|
1450 |
+
#: ../admin/partials/essential-content-types-admin-display.php:53
|
1451 |
+
#: ../admin/partials/essential-content-types-admin-display.php:296
|
1452 |
+
#: ../admin/partials/sidebar.php:15
|
1453 |
+
msgid "Testimonial Slider Option"
|
1454 |
+
msgstr ""
|
1455 |
+
|
1456 |
+
#: ../admin/partials/essential-content-types-admin-display.php:55
|
1457 |
msgid "Find out why you should upgrade to Essential Content Types Premium »"
|
1458 |
msgstr ""
|
1459 |
|
1460 |
+
#: ../admin/partials/essential-content-types-admin-display.php:71
|
1461 |
msgid ""
|
1462 |
"Portfolio enables you to showcase your professional accomplishments to the "
|
1463 |
"world at large. Display your most impressive Portfolios in the way you "
|
1465 |
"columns. A marvelous way to easily display your experience and expertise."
|
1466 |
msgstr ""
|
1467 |
|
1468 |
+
#: ../admin/partials/essential-content-types-admin-display.php:76
|
1469 |
msgid ""
|
1470 |
"People are always after authenticity. They are always looking for ways to "
|
1471 |
"know what your goods or services are really like. Customer testimonials "
|
1473 |
"want and also select your testimonial layout type up to 6 columns."
|
1474 |
msgstr ""
|
1475 |
|
1476 |
+
#: ../admin/partials/essential-content-types-admin-display.php:81
|
1477 |
msgid ""
|
1478 |
"Featured Content allows you to showcase your recent and popular posts on "
|
1479 |
"your website. Your Featured Content can be displayed up to 1 to 6 columns. "
|
1480 |
"Enable the Featured Content option and display your most impressive posts."
|
1481 |
msgstr ""
|
1482 |
|
1483 |
+
#: ../admin/partials/essential-content-types-admin-display.php:86
|
1484 |
msgid ""
|
1485 |
"Every website owner wants people to know about eh services they provide. "
|
1486 |
"You can place the services you provide right on the spotlight. Choose to "
|
1489 |
msgstr ""
|
1490 |
|
1491 |
#: ../admin/partials/essential-content-types-admin-display.php:90
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1492 |
msgid "Supports all themes on WordPress"
|
1493 |
msgstr ""
|
1494 |
|
1495 |
+
#: ../admin/partials/essential-content-types-admin-display.php:91
|
1496 |
msgid ""
|
1497 |
"You don’t have to worry if you have a slightly different or complicated "
|
1498 |
"theme installed on your website. It supports all the themes on WordPress "
|
1499 |
"and makes your website more striking and playful."
|
1500 |
msgstr ""
|
1501 |
|
1502 |
+
#: ../admin/partials/essential-content-types-admin-display.php:95
|
1503 |
+
#: ../admin/partials/essential-content-types-admin-display.php:192
|
1504 |
msgid "Lightweight"
|
1505 |
msgstr ""
|
1506 |
|
1507 |
+
#: ../admin/partials/essential-content-types-admin-display.php:96
|
1508 |
msgid ""
|
1509 |
"It is extremely lightweight. You do not need to worry about it affecting "
|
1510 |
"the space and speed of your website."
|
1511 |
msgstr ""
|
1512 |
|
1513 |
+
#: ../admin/partials/essential-content-types-admin-display.php:101
|
1514 |
msgid ""
|
1515 |
"You have the freedom to choose how your content would be displayed—whether "
|
1516 |
"in ascending or descending alphabetical order by author name, title, date, "
|
1517 |
"or in random order."
|
1518 |
msgstr ""
|
1519 |
|
1520 |
+
#: ../admin/partials/essential-content-types-admin-display.php:105
|
1521 |
msgid "Enable/Disable any content/post type as needed"
|
1522 |
msgstr ""
|
1523 |
|
1524 |
+
#: ../admin/partials/essential-content-types-admin-display.php:106
|
1525 |
msgid ""
|
1526 |
"With this option, you can choose whether you want to display your content/"
|
1527 |
"post type or not. You can enable or disable any content or post type as per "
|
1528 |
"your need."
|
1529 |
msgstr ""
|
1530 |
|
1531 |
+
#: ../admin/partials/essential-content-types-admin-display.php:110
|
1532 |
msgid "Super Simple to Set Up"
|
1533 |
msgstr ""
|
1534 |
|
1535 |
+
#: ../admin/partials/essential-content-types-admin-display.php:111
|
1536 |
msgid ""
|
1537 |
"It is super easy to set up. Even the beginners can set it up easily and "
|
1538 |
"also, you do not need to have any coding knowledge. Just install, activate, "
|
1539 |
"customize it your way and enjoy the plugin."
|
1540 |
msgstr ""
|
1541 |
|
1542 |
+
#: ../admin/partials/essential-content-types-admin-display.php:115
|
1543 |
+
#: ../admin/partials/essential-content-types-admin-display.php:176
|
1544 |
msgid "Responsive Design"
|
1545 |
msgstr ""
|
1546 |
|
1547 |
+
#: ../admin/partials/essential-content-types-admin-display.php:116
|
1548 |
msgid ""
|
1549 |
"One of the key features of our plugins is that your website will magically "
|
1550 |
"respond and adapt to different screen sizes delivering an optimized design "
|
1552 |
"zoom and scroll around when browsing on your mobile phone."
|
1553 |
msgstr ""
|
1554 |
|
1555 |
+
#: ../admin/partials/essential-content-types-admin-display.php:120
|
1556 |
msgid "Incredible Support"
|
1557 |
msgstr ""
|
1558 |
|
1559 |
+
#: ../admin/partials/essential-content-types-admin-display.php:121
|
1560 |
msgid ""
|
1561 |
"We have a great line of support team and support documentation. You do not "
|
1562 |
"need to worry about how to use the plugins we provide, just refer to our "
|
1564 |
"your website, you can always hire our theme customizer!"
|
1565 |
msgstr ""
|
1566 |
|
1567 |
+
#: ../admin/partials/essential-content-types-admin-display.php:125
|
1568 |
msgid "Widgets"
|
1569 |
msgstr ""
|
1570 |
|
1571 |
+
#: ../admin/partials/essential-content-types-admin-display.php:126
|
1572 |
msgid ""
|
1573 |
"Multitude of widget options provide you with the option to choose the "
|
1574 |
"widgets that you want to display. You can have full control over each "
|
1576 |
"your sidebars, footer and any sidebar widgets."
|
1577 |
msgstr ""
|
1578 |
|
1579 |
+
#: ../admin/partials/essential-content-types-admin-display.php:130
|
1580 |
msgid "Shortcodes"
|
1581 |
msgstr ""
|
1582 |
|
1583 |
+
#: ../admin/partials/essential-content-types-admin-display.php:131
|
1584 |
msgid ""
|
1585 |
"With Shortcodes, you have the option to use the powerful shortcode options "
|
1586 |
"to style multiple contents in completely different ways."
|
1587 |
msgstr ""
|
1588 |
|
1589 |
+
#: ../admin/partials/essential-content-types-admin-display.php:135
|
1590 |
+
#: ../admin/partials/essential-content-types-admin-display.php:200
|
1591 |
msgid "Number of Posts"
|
1592 |
msgstr ""
|
1593 |
|
1594 |
+
#: ../admin/partials/essential-content-types-admin-display.php:136
|
1595 |
msgid ""
|
1596 |
"You have the option to choose the number of posts you want to display on "
|
1597 |
"your website. Pick the number of posts that suits the best on your website."
|
1598 |
msgstr ""
|
1599 |
|
1600 |
+
#: ../admin/partials/essential-content-types-admin-display.php:140
|
1601 |
+
#: ../admin/partials/essential-content-types-admin-display.php:232
|
1602 |
msgid "Column Option"
|
1603 |
msgstr ""
|
1604 |
|
1605 |
+
#: ../admin/partials/essential-content-types-admin-display.php:141
|
1606 |
msgid ""
|
1607 |
"Column Option allows you to choose from multiple column options. Several "
|
1608 |
"options are available for all column types in general to edit the default "
|
1609 |
"behavior."
|
1610 |
msgstr ""
|
1611 |
|
1612 |
+
#: ../admin/partials/essential-content-types-admin-display.php:144
|
1613 |
msgid "Upgrade to Essential Content Types Premium »"
|
1614 |
msgstr ""
|
1615 |
|
1616 |
+
#: ../admin/partials/essential-content-types-admin-display.php:152
|
1617 |
msgid "Get Essential Content Types Pro -"
|
1618 |
msgstr ""
|
1619 |
|
1620 |
+
#: ../admin/partials/essential-content-types-admin-display.php:152
|
1621 |
msgid "Get It Here!"
|
1622 |
msgstr ""
|
1623 |
|
1624 |
+
#: ../admin/partials/essential-content-types-admin-display.php:153
|
1625 |
msgid "You are currently using the free version of Essential Content Types."
|
1626 |
msgstr ""
|
1627 |
|
1628 |
+
#: ../admin/partials/essential-content-types-admin-display.php:154
|
1629 |
msgid ""
|
1630 |
"If you have purchased from catchplugins.com, then follow this link to the "
|
1631 |
"installation instructions (particularly step 1)."
|
1632 |
msgstr ""
|
1633 |
|
1634 |
+
#: ../admin/partials/essential-content-types-admin-display.php:168
|
1635 |
msgid "Free"
|
1636 |
msgstr ""
|
1637 |
|
1638 |
+
#: ../admin/partials/essential-content-types-admin-display.php:169
|
1639 |
msgid "Pro"
|
1640 |
msgstr ""
|
1641 |
|
1642 |
+
#: ../admin/partials/essential-content-types-admin-display.php:184
|
1643 |
msgid "Super Easy Setup"
|
1644 |
msgstr ""
|
1645 |
|
1646 |
+
#: ../admin/partials/essential-content-types-admin-display.php:216
|
1647 |
msgid "Shortcode"
|
1648 |
msgstr ""
|
1649 |
|
1650 |
+
#: ../admin/partials/essential-content-types-admin-display.php:224
|
1651 |
msgid "Custom Post Types"
|
1652 |
msgstr ""
|
1653 |
|
1654 |
+
#: ../admin/partials/essential-content-types-admin-display.php:240
|
1655 |
+
msgid "Fixed Image Size"
|
1656 |
+
msgstr ""
|
1657 |
+
|
1658 |
+
#: ../admin/partials/essential-content-types-admin-display.php:304
|
1659 |
+
msgid "Menu Title Font Size"
|
1660 |
+
msgstr ""
|
1661 |
+
|
1662 |
+
#: ../admin/partials/essential-content-types-admin-display.php:320
|
1663 |
msgid "Featured Image Widget"
|
1664 |
msgstr ""
|
1665 |
|
1666 |
+
#: ../admin/partials/essential-content-types-admin-display.php:328
|
1667 |
msgid "Testimonials Widget"
|
1668 |
msgstr ""
|
1669 |
|
1670 |
+
#: ../admin/partials/essential-content-types-admin-display.php:336
|
1671 |
msgid "Services Widget"
|
1672 |
msgstr ""
|
1673 |
|
1674 |
+
#: ../admin/partials/essential-content-types-admin-display.php:344
|
1675 |
msgid "Add Shortcode Button"
|
1676 |
msgstr ""
|
1677 |
|
1678 |
+
#: ../admin/partials/essential-content-types-admin-display.php:352
|
1679 |
msgid "Ads-free Dashboard"
|
1680 |
msgstr ""
|
1681 |
|
1703 |
msgid "Get Essential Content Types Pro"
|
1704 |
msgstr ""
|
1705 |
|
1706 |
+
#: ../admin/partials/sidebar.php:17
|
1707 |
msgid "Get Now"
|
1708 |
msgstr ""
|
1709 |
|
1710 |
+
#: ../admin/partials/sidebar.php:24
|
1711 |
msgid "Premium Themes"
|
1712 |
msgstr ""
|
1713 |
|
1714 |
+
#: ../admin/partials/sidebar.php:25
|
1715 |
msgid ""
|
1716 |
"Check out our simple, clean and responsive Premium WordPress Themes that "
|
1717 |
"come with an array of crucial features with a superior functionality."
|
1718 |
msgstr ""
|
1719 |
|
1720 |
+
#: ../admin/partials/sidebar.php:25
|
1721 |
msgid "Check our premium themes."
|
1722 |
msgstr ""
|
1723 |
|
1724 |
+
#: ../admin/partials/sidebar.php:32
|
1725 |
msgid "Free Themes"
|
1726 |
msgstr ""
|
1727 |
|
1728 |
+
#: ../admin/partials/sidebar.php:33
|
1729 |
msgid ""
|
1730 |
"Check out our collection of Free WordPress Themes that are clean, simple "
|
1731 |
"and feature-rich."
|
1732 |
msgstr ""
|
1733 |
|
1734 |
+
#: ../admin/partials/sidebar.php:33
|
1735 |
msgid "Check our free themes."
|
1736 |
msgstr ""
|
1737 |
|
1738 |
+
#: ../admin/partials/sidebar.php:41
|
1739 |
msgid "Premium Plugins"
|
1740 |
msgstr ""
|
1741 |
|
1742 |
+
#: ../admin/partials/sidebar.php:42
|
1743 |
msgid ""
|
1744 |
"Check out our secured Premium WordPress Plugins to enhance and add extra "
|
1745 |
"functionalities to your website. An exceptional way to get the most out of "
|
1746 |
"WordPress!"
|
1747 |
msgstr ""
|
1748 |
|
1749 |
+
#: ../admin/partials/sidebar.php:42
|
1750 |
msgid "Check our premium plugins."
|
1751 |
msgstr ""
|
1752 |
|
1753 |
+
#: ../admin/partials/sidebar.php:50
|
1754 |
msgid "Free Plugins"
|
1755 |
msgstr ""
|
1756 |
|
1757 |
+
#: ../admin/partials/sidebar.php:51
|
1758 |
msgid ""
|
1759 |
"Check out our Free WordPress Plugins and get the taste of our service "
|
1760 |
"without affecting your wallet."
|
1761 |
msgstr ""
|
1762 |
|
1763 |
+
#: ../admin/partials/sidebar.php:52
|
1764 |
msgid "check our free plugins."
|
1765 |
msgstr ""
|
1766 |
|