This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // add the namespace to the RSS opening element | |
| function add_media_namespace() { | |
| echo 'xmlns:media="http://search.yahoo.com/mrss/"\n'; | |
| } | |
| add_action( 'rss2_ns', 'add_media_namespace' ); | |
| function add_featured_image_in_rss() { | |
| $featured_image = false; | |
| if ( has_post_thumbnail() ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // add the namespace to the RSS opening element | |
| function add_media_namespace() { | |
| echo 'xmlns:media="http://search.yahoo.com/mrss/"\n'; | |
| } | |
| add_action( 'rss2_ns', 'add_media_namespace' ); |
This file contains hidden or 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> | |
| (function($) { | |
| $(document).ready(function() { | |
| setTimeout(function() { | |
| window.et_duplicate_menu = function( menu, append_to, menu_id, menu_class ){ | |
| append_to.each( function() { | |
| var $this_menu = $(this), | |
| $cloned_nav; | |
| menu.clone().attr('id',menu_id).removeClass().attr('class',menu_class).appendTo( $this_menu ); |
This file contains hidden or 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 /* Don't include this line if your child theme functions.php already includes it */ | |
| function my_et_divi_output_content_wrapper_end() { | |
| echo '</div> <!-- #left-area -->'; | |
| if ( | |
| ( is_product() && 'et_full_width_page' !== get_post_meta( get_the_ID(), '_et_pb_page_layout', true ) ) | |
| || | |
| ( ( is_shop() || is_product_category() || is_product_tag() ) && 'et_full_width_page' !== et_get_option( 'divi_shop_page_sidebar', 'et_right_sidebar' ) ) | |
| ) { | |
| dynamic_sidebar( 'eCommerce Sidebar' ); |
This file contains hidden or 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> | |
| (function($) { | |
| var rtl_mobile = false, | |
| rtl_tablet = false, | |
| running = false; | |
| function toggle_booleon_value(val) { | |
| return (true === val) ? false : true; | |
| } |
This file contains hidden or 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
| # Maintainer: Konstantin Stepanov <me@kstep.me> | |
| pkgname=ajenti-git | |
| pkgver=1.2.23.2 | |
| pkgrel=1 | |
| pkgdesc='An easy server administration frontend.' | |
| arch=(any) | |
| url="http://github.com/Eugeny/ajenti/" | |
| license=(LGPL) | |
| depends=(python2-gevent-socketio python2-lxml python2-passlib python2-psutil python2-daemon |
This file contains hidden or 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
| <style> | |
| #main-header .et_mobile_menu .menu-item-has-children > a { background-color: transparent; position: relative; } | |
| #main-header .et_mobile_menu .menu-item-has-children > a:after { font-family: 'ETmodules'; text-align: center; speak: none; font-weight: normal; font-variant: normal; text-transform: none; -webkit-font-smoothing: antialiased; position: absolute; } | |
| #main-header .et_mobile_menu .menu-item-has-children > a:after { font-size: 16px; content: '\4c'; top: 13px; right: 10px; } | |
| #main-header .et_mobile_menu .menu-item-has-children.visible > a:after { content: '\4d'; } | |
| #main-header .et_mobile_menu ul.sub-menu { display: none !important; visibility: hidden !important; transition: all 1.5s ease-in-out;} | |
| #main-header .et_mobile_menu .visible > ul.sub-menu { display: block !important; visibility: visible !important; } | |
| </style> | |
| <script> |
This file contains hidden or 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
| @media (max-width: 768px) { | |
| .single .entry-content > .et_pb_section:first-child > .et_pb_row:first-child { | |
| padding-top: 0px; | |
| } | |
| } |
This file contains hidden or 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
| .et_bloom_optin_1 .et_bloom_image { | |
| height: 430px; | |
| } |
This file contains hidden or 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> | |
| (function($) { | |
| var rtl_mobile = false, | |
| rtl_tablet = false, | |
| running = false; | |
| function toggle_booleon_value(val) { | |
| return (true === val) ? false : true; | |
| } |