Compare commits
2 Commits
v1.0.0-RC.
...
v1.0.0-RC.
| Author | SHA1 | Date | |
|---|---|---|---|
| 5da894af13 | |||
| f5198270f2 |
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "windycoys",
|
"name": "windycoys",
|
||||||
"version": "1.0.0-RC.1",
|
"version": "1.0.0-RC.2",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "windycoys",
|
"name": "windycoys",
|
||||||
"version": "1.0.0-RC.1",
|
"version": "1.0.0-RC.2",
|
||||||
"description": "Wordpress theme for windycoys.com",
|
"description": "Wordpress theme for windycoys.com",
|
||||||
"author": "Dan Head <me@danielhead.com>",
|
"author": "Dan Head <me@danielhead.com>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@@ -150,3 +150,22 @@ function windycoys_is_ie() {
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function windycoys_jetpack_custom_image($media, $post_id, $args) {
|
||||||
|
if ($media) {
|
||||||
|
return $media;
|
||||||
|
} else {
|
||||||
|
$url = get_template_directory_uri() . '/images/icon.png';
|
||||||
|
$permalink = get_permalink($post_id);
|
||||||
|
|
||||||
|
return array(
|
||||||
|
array(
|
||||||
|
'type' => 'image',
|
||||||
|
'from' => 'custom_fallback',
|
||||||
|
'src' => esc_url($url),
|
||||||
|
'href' => $permalink,
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
add_filter('jetpack_images_get_images', 'windycoys_jetpack_custom_image', 10, 3);
|
||||||
|
|||||||
@@ -13,14 +13,6 @@ $manifest = get_template_directory_uri() . '/manifest.json';
|
|||||||
<title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' « '; } ?> <?php bloginfo('name'); ?></title>
|
<title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' « '; } ?> <?php bloginfo('name'); ?></title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<meta name="theme-color" content="#201f42">
|
<meta name="theme-color" content="#201f42">
|
||||||
<meta name="description" content="<?php bloginfo('description'); ?>">
|
|
||||||
<meta property="og:title" content="<?php if(is_single()) { single_post_title(); } else { bloginfo("name"); } ?>"/>
|
|
||||||
<meta property="og:type" content="blog"/>
|
|
||||||
<meta property="og:url" content="https://<?php echo $_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]; ?>"/>
|
|
||||||
<meta property="og:image" content="<?php echo get_template_directory_uri() ?>/images/icon.png"/>
|
|
||||||
<meta property="og:site_name" content="WindyCOYS"/>
|
|
||||||
<meta property="fb:admins" content="Windy84"/>
|
|
||||||
<meta property="og:description" content="<?php bloginfo('description'); ?>"/>
|
|
||||||
<?php wp_head(); ?>
|
<?php wp_head(); ?>
|
||||||
<link rel="me" href="https://twitter.com/WindyCOYS">
|
<link rel="me" href="https://twitter.com/WindyCOYS">
|
||||||
<link rel="icon" type="image/png" href="<?php echo get_template_directory_uri() ?>/images/icon_48.png">
|
<link rel="icon" type="image/png" href="<?php echo get_template_directory_uri() ?>/images/icon_48.png">
|
||||||
|
|||||||
Reference in New Issue
Block a user