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
<?xml version="1.0" encoding="UTF-8" ?> | |
<NotepadPlus> | |
<Macros> | |
<Macro name="Switch to next tab" Ctrl="no" Alt="no" Shift="no" Key="0"> | |
<Action type="0" message="2422" wParam="0" lParam="0" sParam="" /> | |
<Action type="0" message="2325" wParam="0" lParam="0" sParam="" /> | |
<Action type="2" message="0" wParam="50004" lParam="0" sParam="" /> | |
</Macro> | |
</Macros> | |
</NotepadPlus> |
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
<NotepadPlus> | |
<Macros> | |
<Macro name="VKontakte audios to text" Ctrl="no" Alt="no" Shift="no" Key="0"> | |
<Action type="2" message="0" wParam="42055" lParam="0" sParam="" /> | |
<Action type="0" message="2451" wParam="0" lParam="0" sParam="" /> | |
<Action type="1" message="2170" wParam="0" lParam="0" sParam=" " /> | |
<Action type="1" message="2170" wParam="0" lParam="0" sParam="-" /> | |
<Action type="1" message="2170" wParam="0" lParam="0" sParam=" " /> | |
<Action type="0" message="2180" wParam="0" lParam="0" sParam="" /> | |
<Action type="0" message="2300" wParam="0" lParam="0" sParam="" /> |
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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
# https: | |
RewriteCond %{HTTPS} off | |
RewriteRule (.*) https://%{SERVER_NAME}/$1 [R=301,L] | |
# /? to / | |
RewriteCond %{THE_REQUEST} ^[^\s]+\s+[^?]*?\? |
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 | |
function disable_emojis() { | |
remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); | |
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); | |
remove_action( 'wp_print_styles', 'print_emoji_styles' ); | |
remove_action( 'admin_print_styles', 'print_emoji_styles' ); | |
remove_filter( 'the_content_feed', 'wp_staticize_emoji' ); | |
remove_filter( 'comment_text_rss', 'wp_staticize_emoji' ); | |
remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' ); | |
add_filter( 'tiny_mce_plugins', 'disable_emojis_tinymce' ); |
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
<head> | |
<?php if (is_single() || is_page()) { ?> | |
<meta name="description" content="<?php $s = trim(str_replace("\r\n", " ", htmlspecialchars(strip_tags($post->post_content)))); if(mb_strlen($s,'UTF-8') > 200){$postdescr = mb_substr($s,0,198,'UTF-8').' …';} else{$postdescr = $s;}; echo $postdescr; ?>" /> | |
<meta property="og:description" content="<?php echo $postdescr; ?>" /> | |
<meta property="og:url" content="http://site.com/<?php global $post; echo $post->post_name; ?>" /> <!-- OR --> | |
<meta property="og:url" content="<?php the_permalink() ?>" /> | |
<meta property="og:title" content="Site Name<?php wp_title(); ?>" /> | |
<meta property="og:headline" content="Site Name<?php wp_title(); ?>" /> | |
<?php if (get_post_meta($post->ID, 'image_id', true)){$postimage = wp_get_attachment_image_src(get_post_meta($post->ID, 'image_id', true), 'full'); ?> | |
<link rel="image_src" href="<?php echo $postimage[0]; ?>" /> |