facebook, analytics

This commit is contained in:
infeeeee
2019-09-11 12:51:04 +02:00
parent bcaffeeff8
commit d25ec216de
6 changed files with 30 additions and 48 deletions

View File

@@ -7,7 +7,3 @@ Facebook like gomb
# egyéb # egyéb
`@media print{}` `@media print{}`
# Megjegyzések
~ Adrinak írni, hogy küldjön tökéletesen négyzet logót - szerintem nem kell, megoldottam azt az 1px problémát

File diff suppressed because one or more lines are too long

View File

@@ -18,7 +18,7 @@
(f[s].q=f[s].q||[]).push(arguments)},f[s].l=1*new Date();h=i.createElement(r), (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) 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'); })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-XXXXXXXX-XX', 'yourdomain.com'); ga('create', 'UA-72435346-2', 'auto');
ga('send', 'pageview'); ga('send', 'pageview');
</script> </script>

View File

@@ -36,6 +36,10 @@
<body <?php body_class();?>> <body <?php body_class();?>>
<!-- 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 --> <!-- wrapper -->
<div class="wrapper"> <div class="wrapper">

View File

@@ -87,56 +87,23 @@ html *::selection {
// MEDIA QUERIES */ // MEDIA QUERIES */
// -------------------------------------------------------------------------- */ // -------------------------------------------------------------------------- */
$bigmobile: only screen and $bigmobile: "only screen and (min-width: 360px)";
(
min-width: 360px
);
$only-mobile: only screen and $only-mobile: "only screen and (max-width: 768px)";
(
max-width: 768px
);
$tablet: only screen and $tablet: "only screen and (min-width: 769px)";
(
min-width: 769px
);
$smalldesktop: only screen and $smalldesktop: "only screen and (min-width: 1024px)";
(
min-width: 1024px
);
$mobile-landscape: only screen and $mobile-landscape: "only screen and (min-width: 769px) and (-webkit-min-device-pixel-ratio: 2.1) and (min-aspect-ratio: 1/1)";
(
min-width: 769px
)
and (-webkit-min-device-pixel-ratio: 2.1) and
(
min-aspect-ratio: 1/1
);
$bigdesktop: only screen and $bigdesktop: "only screen and (min-width: 1279px)";
(
min-width: 1279px
);
$bigdesktop-hidpi: only screen and $bigdesktop-hidpi: "only screen and (min-width: 1279px) and (-webkit-min-device-pixel-ratio: 1.4)";
(
min-width: 1279px
)
and (-webkit-min-device-pixel-ratio: 1.4);
$verybigdesktop: only screen and $verybigdesktop: "only screen and (min-width: 1919px)";
(
min-width: 1919px
);
$verybigdesktop-hidpi: only screen and $verybigdesktop-hidpi: "only screen and (min-width: 1919px) and (-webkit-min-device-pixel-ratio: 1.4)";
(
min-width: 1919px
)
and (-webkit-min-device-pixel-ratio: 1.4);
// -------------------------------------------------------------------------- */ // -------------------------------------------------------------------------- */
// GLOBAL VARIABLES */ // GLOBAL VARIABLES */
@@ -2410,6 +2377,14 @@ $padd: 2rem;
} }
} }
} //#colorbox end } //#colorbox end
/* -------------------------------- /facebook ------------------------------- */
.fb-page{
display: block !important;
padding: $padd 0;
}
} //body.single, page end } //body.single, page end
// ------------------------------ related posts ----------------------------- */ // ------------------------------ related posts ----------------------------- */
@@ -2833,6 +2808,9 @@ body.page {
a { a {
color: $color; color: $color;
} }
hr{
background-color: $color;
}
.authors { .authors {
a { a {
-webkit-text-stroke: $color 1px !important; -webkit-text-stroke: $color 1px !important;

View File

@@ -73,6 +73,9 @@
echo '<p>'; echo '<p>';
} ?> } ?>
<!-- Facebook -->
<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>
<hr class="content-wrap content-end"> <hr class="content-wrap content-end">
</div> </div>
@@ -127,6 +130,7 @@
</div> </div>
</article> </article>
<!-- /article --> <!-- /article -->