update analytics, 1.0.16

This commit is contained in:
infeeeee
2019-11-22 18:26:29 +01:00
parent de68693d23
commit ca214fe73c
6 changed files with 22 additions and 10 deletions

File diff suppressed because one or more lines are too long

View File

@@ -6,11 +6,6 @@
<?php wp_footer(); ?>
<?php
if ( function_exists('cn_cookies_accepted') && cn_cookies_accepted() ) {
// Your third-party non functional code here
?>
<!-- analytics -->
<script>
@@ -18,10 +13,20 @@
(f[s].q=f[s].q||[]).push(arguments)},f[s].l=1*new Date();h=i.createElement(r),
l=i.getElementsByTagName(r)[0];h.async=1;h.src=e;l.parentNode.insertBefore(h,l)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-72435346-2', 'auto');
ga( 'create', 'UA-72435346-2', {'storeGac': false } );
ga('set', 'anonymizeIp', true);
ga('send', 'pageview');
</script>
<?php
if ( function_exists('cn_cookies_accepted') && cn_cookies_accepted() ) {
// Your third-party non functional code here
?>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/hu_HU/sdk.js#xfbml=1&version=v4.0&appId=525065661232966&autoLogAppEvents=1"></script>
<?php
}
?>

View File

@@ -28,7 +28,7 @@
<!-- facebook -->
<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/hu_HU/sdk.js#xfbml=1&version=v4.0&appId=525065661232966&autoLogAppEvents=1"></script>
<!-- wrapper -->
<div class="wrapper">

View File

@@ -2428,6 +2428,9 @@ $padd: 2rem;
.fb-page {
display: block !important;
padding: $padd 0;
a{
@include related-title();
}
}
} //body.single, page end
// ------------------------------ related posts ----------------------------- */

View File

@@ -79,7 +79,11 @@
if (is_single()) {
?>
<div class="fb-like" data-href="<?php the_permalink();?>" data-width="" data-layout="button_count" data-action="like" data-size="small" data-show-faces="false" data-share="true"></div>
<div class="fb-page" data-href="https://www.facebook.com/designisso/" data-tabs="" data-width="" data-height="" data-small-header="true" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="false"><blockquote cite="https://www.facebook.com/designisso/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/designisso/">designisso</a></blockquote></div>
<div class="fb-page" data-href="https://www.facebook.com/designisso/" data-tabs="" data-width="" data-height="" data-small-header="true" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="false">
<blockquote cite="https://www.facebook.com/designisso/" class="fb-xfbml-parse-ignore">
<a href="https://www.facebook.com/designisso/">designisso</a>
</blockquote>
</div>
<?php
};
?>

View File

@@ -2,7 +2,7 @@
Theme Name: dis-2019
Theme URI: https://git.gyetpet.dynu.net/infeeeee/dis-2019
Description: Designisso téma 2019 | <a target="_blank" href="https://git.gyetpet.dynu.net/infeeeee/dis-2019/src/branch/master/K%c3%89ZIK%c3%96NYV.md">Használati utasítás magyarul</a> | <a target="_blank" href="https://git.gyetpet.dynu.net/infeeeee/dis-2019/issues">Hibák, problémák jelentése</a>
Version: 1.0.15
Version: 1.0.16
Author: Gyetvai Péter
Author URI: https://gyetvai-peter.hu
Tags: Designisso