This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function pojo_wpml_get_multilang_logo( $value ) { | |
if ( defined( 'ICL_LANGUAGE_CODE' ) ) { | |
$logos = array( | |
'en' => 'logo-en.png', | |
'he' => 'logo-he.png', | |
); | |
$default_logo = $logos['en']; | |
$current_lang = ICL_LANGUAGE_CODE; | |
$assets_url = get_stylesheet_directory_uri() . '/assets/images/'; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function pojo_polylang_get_multilang_logo( $value ) { | |
if ( function_exists( 'pll_current_language' ) ) { | |
$logos = array( | |
'en' => 'logo-en.png', | |
'he' => 'logo-he.png', | |
); | |
$default_logo = $logos['en']; | |
$current_lang = pll_current_language(); | |
$assets_url = get_stylesheet_directory_uri() . '/assets/images/'; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.wpcf7 input, | |
.wpcf7 textarea { | |
width: 100%; | |
max-width: 100%; | |
margin-top: 6px; | |
padding: 6px; | |
-webkit-transition: all .3s linear; | |
-moz-transition: all .3s linear; | |
-ms-transition: all .3s linear; | |
-o-transition: all .3s linear; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Content: Gallery Square | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly | |
global $_pojo_parent_id; | |
$categories = ''; | |
$categories_terms = get_the_terms( null, 'pojo_gallery_cat' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly | |
$logo_img = get_theme_mod( 'image_logo' ); // Getting from option your choice. | |
$sticky_logo_img = get_theme_mod( 'image_sticky_header_logo' ); // Getting from option your choice. | |
if ( ! $sticky_logo_img ) | |
$sticky_logo_img = $logo_img; | |
?><!DOCTYPE html> | |
<!--[if lt IE 7]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Content: Small Thumbnail | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly | |
global $_pojo_parent_id; | |
?> | |
<article id="post-<?php the_ID(); ?>" <?php post_class( apply_filters( 'pojo_post_classes', array( 'media small-thumbnail' ), get_post_type() ) ); ?>> | |
<div class="inbox"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Recent Post: Grid Three | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly | |
global $_current_widget_instance; | |
?> | |
<div class="recent-post grid-item col-md-4 col-sm-4 col-xs-12"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The template for displaying product content within loops | |
* | |
* This template can be overridden by copying it to yourtheme/woocommerce/content-product.php. | |
* | |
* HOWEVER, on occasion WooCommerce will need to update template files and you | |
* (the theme developer) will need to copy the new files to your theme to | |
* maintain compatibility. We try to do this as little as possible, but it does | |
* happen. When this occurs the version of the template file will be bumped and |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Content: Gallery Square | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly | |
global $_pojo_parent_id; | |
$categories = ''; | |
$categories_terms = get_the_terms( null, 'pojo_gallery_cat' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Content: Three Columns | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly | |
global $_pojo_parent_id; | |
?> | |
<div id="post-<?php the_ID(); ?>" <?php post_class( apply_filters( 'pojo_post_classes', array( 'grid-item col-md-4 col-sm-6 col-xs-12' ), get_post_type() ) ); ?>> | |
<div class="inbox"> |
NewerOlder