This file contains 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
{ | |
"exportFormatVersion": 2, | |
"exportTime": "2018-09-22 17:21:32", | |
"containerVersion": { | |
"path": "accounts/4181156699/containers/9983293/versions/1", | |
"accountId": "4181156699", | |
"containerId": "9983293", | |
"containerVersionId": "1", | |
"name": "Prima versione di RUM", | |
"container": { |
This file contains 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
(function() { | |
/** | |
* Creates array of timing entries from Resource Timing Interface | |
*/ | |
function getTimings() { | |
var entries = []; | |
var resources = []; | |
if (window.performance.getEntriesByType !== undefined) { | |
resources = window.performance.getEntriesByType("resource"); |
This file contains 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
/** | |
* user-timing-api-RUM-gtm.js 1.0.1 | |
* Olegs Belousovs @sgelob | |
*/ | |
(function() { | |
"use strict"; | |
// From https://github.com/addyosmani/timing.js/ –––> | |
var performance = window.performance || window.webkitPerformance || window.msPerformance || window.mozPerformance; |
This file contains 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
<script type="text/javascript"> | |
// https://developers.google.com/web/fundamentals/performance/critical-rendering-path/measure-crp | |
(function() { | |
var t = window.performance.timing, | |
interactive = t.domInteractive - t.domLoading, | |
dcl = t.domContentLoadedEventStart - t.domLoading, | |
complete = t.domComplete - t.domLoading; | |
dataLayer.push({ | |
"event": "measuringCRP", | |
"interactive": interactive, |
This file contains 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 // Get attachment image URLs | |
$thumb_full = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full' ); | |
$thumb_large = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'large' ); | |
$thumb_medium = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'medium' ); | |
$thumb_url_full = $thumb_full['0']; | |
$thumb_url_large = $thumb_large['0']; | |
$thumb_url_medium = $thumb_medium['0']; | |
?> | |
<style> |
This file contains 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
<!DOCTYPE html> | |
<html lang="it" dir="ltr"> | |
<head> | |
<title>WordPress › ReadMe</title> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=Edge"> | |
<meta name="viewport" content="width=device-width" /> | |
<link rel="stylesheet" href="wp-admin/css/install.css?ver=20100228" type="text/css" /> | |
</head> | |
<body> |
This file contains 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 | |
/** | |
* Il file base di configurazione di WordPress. | |
* | |
* Questo file viene utilizzato, durante l’installazione, dallo script | |
* di creazione di wp-config.php. Non è necessario utilizzarlo solo via | |
* web, è anche possibile copiare questo file in «wp-config.php» e | |
* riempire i valori corretti. | |
* | |
* Questo file definisce le seguenti configurazioni: |