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
<script type=”text/javascript”> | |
jQuery(‘document’).ready(function($){ | |
$(‘[title]’).removeAttr(‘title’); | |
}); | |
</script> |
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(ICL_LANGUAGE_CODE=='en'){ ?> | |
<img src="logoEng.jpg"> | |
<?php } ?> | |
<?php if(ICL_LANGUAGE_CODE=='ru'){ ?> | |
<img src="logoRus.jpg"> | |
<?php } ?> |
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 ( get_bloginfo( 'language' ) == 'en-US' ) { ?> | |
<a href="<?php echo esc_url( home_url( '/' ) ); ?> | |
"><img src="//asdaa-bcw.com/wp-content/uploads/2018/09/asdaa-bcw.jpg" /></a> | |
<?php } elseif ( get_bloginfo( 'language' ) == 'ar' ) { ?> | |
<a href="<?php echo esc_url( home_url( '/' ) ); ?> | |
"><img src="//asdaa-bcw.com/wp-content/uploads/2018/10/asdaa_logo_ar.png" /></a> | |
<?php } ?> |
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
// future post | |
function setup_future_hook() { | |
// Replace native future_post function with replacement | |
remove_action('future_post', '_future_post_hook'); | |
add_filter( 'wp_insert_post_data', 'nacin_do_not_set_posts_to_future' );} | |
function nacin_do_not_set_posts_to_future( $data ) { | |
if ( $data['post_status'] == 'future' && $data['post_type'] == 'gallery' ) | |
$data['post_status'] = 'publish'; | |
return $data; |
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
.vc_column-inner ul li { | |
padding-left: 1.28571429em; | |
text-indent: -1.28571429em; | |
} |
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
/*dropdown menu*/ | |
#wsite-menus .wsite-menu-wrap { | |
border-color: #ececec !important; | |
border-radius: 0 !important; | |
margin: 2px 0 0; | |
font-size: 14px; | |
text-align: left; |
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
.searchandfilter .postform { height: 38px !important; padding: 4px 6px 4px 6px !important; } | |
.searchandfilter li input[type="text"] { height: 38px !important; padding: 4px 6px 4px 6px !important; } | |
.searchandfilter li input[type="submit"] { height: 38px !important; padding: 0px 20px !important; } | |
.appointment form.wpcf7-form textarea{ | |
font-size: 18px; | |
color: #4d4d4d !important; | |
} | |
input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], input[type="range"], input[type="date"], textarea, input.text, input[type="search"], select, textarea, .woo-type10.woocommerce select { | |
font-size: 16px; |
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
“ ” |
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 wp_nav_menu( array( 'theme_location' => 'footer-menu', 'container_class' => 'footer-menu', 'items_wrap' => '<ul class="list-inline">%3$s</ul>', ) ); | |
?> | |
//footer menu | |
function register_footer_menu() { | |
register_nav_menu('footer-menu',__( 'Footer Menu' )); | |
} | |
add_action( 'init', 'register_footer_menu' ); |
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 modify_read_more_link() { | |
return '<a href="' . get_permalink() . '" class="more-link btn-a btn-a_fill_theme">' . pll__('string translation') . '</a>'; | |
} | |
add_filter( 'the_content_more_link', 'modify_read_more_link' ); | |
pll_register_string('my-theme', 'string translation'); |
NewerOlder