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
zip -r archive.zip * -x "*.DS_Store" |
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
@media (max-width: 1200px) { | |
.et_boxed_layout #page-container, | |
.et_fixed_nav.et_boxed_layout #page-container #top-header, | |
.et_fixed_nav.et_boxed_layout #page-container #main-header{ | |
width:100%; | |
} | |
} |
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
//tar files | |
tar -zcvf backup.tar.gz * |
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
#breadcrumbs span, | |
#breadcrumbs span a{ | |
color:#fff; | |
font-weight: bold; | |
} | |
#breadcrumbs span:first-child{ | |
background:#009DDC; | |
padding:3px | |
} |
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 | |
add_filter('my_custom_faq_view', 'my_custom_faq_view_filter', 10, 1); | |
function my_custom_faq_view_filter($slugs = array()) | |
{ | |
// set the location of the faq file to a sub directory in the child theme folder. | |
$slugs['my_custom_faq_slug'] = get_stylesheet_directory() . '/resources/views/my-custom-faq-file.php'; | |
return $slugs; |
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 | |
$args = array( | |
'post_type' => 'faq', | |
'posts_per_page' => -1, | |
'tax_query' => array( | |
array( | |
'taxonomy' => 'faq_category', | |
'field' => 'id', |
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
https://www.diviframework.com/?add-to-cart= |
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
// Remove version numbers from resources in WP | |
function _remove_script_version($src) | |
{ | |
if (strpos($src, 'googleapis.com')) { | |
return $src; | |
} | |
$parts = explode('?', $src); | |
return $parts[0]; | |
} |
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
@media only screen and ( max-width: 651px ) { | |
.et_pb_scroll_top{ | |
display:none !important; | |
} | |
} |
OlderNewer