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
`@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),
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-XXXXXXXX-XX', 'yourdomain.com');
ga('create', 'UA-72435346-2', 'auto');
ga('send', 'pageview');
</script>

View File

@@ -36,6 +36,10 @@
<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 -->
<div class="wrapper">

View File

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

View File

@@ -73,6 +73,9 @@
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">
</div>
@@ -127,6 +130,7 @@
</div>
</article>
<!-- /article -->