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
Find: (.*?)(?<!\.php)\n | |
Replace: | |
Remove everything that doesn't contain .php | |
^((?!\.png|\.jpg).)*$ | |
select everything that doesn't contain .png or .jpg |
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
# Automatically Reduce Character Count on Titles | |
function filter_wpseo_title( $wpseo_replace_vars ) { | |
$sitename = get_bloginfo('name'); | |
$new_title = get_the_title(); | |
$fullTitle = $new_title . ' | ' . $sitename; | |
if ( (is_single() || is_archive() || is_page()) && ($fullTitle == $wpseo_replace_vars) && (strlen($fullTitle) >= 65)) { | |
return $new_title; | |
} else { | |
return $wpseo_replace_vars; | |
} |
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
=ArrayFormula(if(len(B2:B),B2:B&" "&C2:C&" "&E2:E,iferror(1/0))) |
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
// Smooth scrolling anchor links | |
$('a[href*=#]:not([href=#])').click(function() { | |
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') | |
|| location.hostname == this.hostname) { | |
var target = $(this.hash); | |
target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); | |
if (target.length) { | |
$('html,body').animate({ | |
scrollTop: target.offset().top |
NewerOlder