{"id":1049,"date":"2019-05-02T15:27:13","date_gmt":"2019-05-02T15:27:13","guid":{"rendered":"https:\/\/patrickcarpen.com\/computers-and-internet\/?page_id=1049"},"modified":"2019-05-02T15:27:16","modified_gmt":"2019-05-02T15:27:16","slug":"1049-2","status":"publish","type":"page","link":"https:\/\/patrickcarpen.com\/computers-and-internet\/1049-2\/","title":{"rendered":""},"content":{"rendered":"\nLast updated: May 2, 2019 at 15:27 pm\n<p>Sometimes, I write an article that really gains traction and gets shared thousands of times. And then, it&#8217;s fun to watch the stats in the WordPress Backend as the article goes around the world.<\/p>\n<p>But I also feel the need to let my visitors see how popular this article is and how many times it has been read. And this calls for installing a &#8220;front end&#8221; hit counter on the page of the article.<\/p>\n<p>There are several ways of doing this, including using a WordPress plugin. However, I decided that the easiest way of getting this task done is by using an HMTL hit counter code. There are several websites which offer this service free, and all you have to do is copy and paste the code at the top of the article, or anywhere else you would like to let the hit counts show up.<\/p>\n<p>So without further ado, here&#8217;s the code:<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes, I write an article that really gains traction and gets shared thousands of times. And then, it&#8217;s fun to watch the stats in the WordPress Backend as the article <a class=\"more-link\" href=\"https:\/\/patrickcarpen.com\/computers-and-internet\/1049-2\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-1049","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>- Computers and Internet<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/patrickcarpen.com\/computers-and-internet\/1049-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"- Computers and Internet\" \/>\n<meta property=\"og:description\" content=\"Sometimes, I write an article that really gains traction and gets shared thousands of times. And then, it&#8217;s fun to watch the stats in the WordPress Backend as the article Continue Reading &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/patrickcarpen.com\/computers-and-internet\/1049-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Computers and Internet\" \/>\n<meta property=\"article:modified_time\" content=\"2019-05-02T15:27:16+00:00\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/patrickcarpen.com\\\/computers-and-internet\\\/1049-2\\\/\",\"url\":\"https:\\\/\\\/patrickcarpen.com\\\/computers-and-internet\\\/1049-2\\\/\",\"name\":\"- Computers and Internet\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/patrickcarpen.com\\\/computers-and-internet\\\/#website\"},\"datePublished\":\"2019-05-02T15:27:13+00:00\",\"dateModified\":\"2019-05-02T15:27:16+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/patrickcarpen.com\\\/computers-and-internet\\\/1049-2\\\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/patrickcarpen.com\\\/computers-and-internet\\\/#website\",\"url\":\"https:\\\/\\\/patrickcarpen.com\\\/computers-and-internet\\\/\",\"name\":\"Computers and Internet\",\"description\":\"By Patrick Carpen: The Greatest Writer On Earth\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/patrickcarpen.com\\\/computers-and-internet\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"- Computers and Internet","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/patrickcarpen.com\/computers-and-internet\/1049-2\/","og_locale":"en_US","og_type":"article","og_title":"- Computers and Internet","og_description":"Sometimes, I write an article that really gains traction and gets shared thousands of times. And then, it&#8217;s fun to watch the stats in the WordPress Backend as the article Continue Reading &rarr;","og_url":"https:\/\/patrickcarpen.com\/computers-and-internet\/1049-2\/","og_site_name":"Computers and Internet","article_modified_time":"2019-05-02T15:27:16+00:00","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/patrickcarpen.com\/computers-and-internet\/1049-2\/","url":"https:\/\/patrickcarpen.com\/computers-and-internet\/1049-2\/","name":"- Computers and Internet","isPartOf":{"@id":"https:\/\/patrickcarpen.com\/computers-and-internet\/#website"},"datePublished":"2019-05-02T15:27:13+00:00","dateModified":"2019-05-02T15:27:16+00:00","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/patrickcarpen.com\/computers-and-internet\/1049-2\/"]}]},{"@type":"WebSite","@id":"https:\/\/patrickcarpen.com\/computers-and-internet\/#website","url":"https:\/\/patrickcarpen.com\/computers-and-internet\/","name":"Computers and Internet","description":"By Patrick Carpen: The Greatest Writer On Earth","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/patrickcarpen.com\/computers-and-internet\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"jetpack_shortlink":"https:\/\/wp.me\/PekbOB-gV","jetpack_sharing_enabled":true,"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/patrickcarpen.com\/computers-and-internet\/wp-json\/wp\/v2\/pages\/1049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/patrickcarpen.com\/computers-and-internet\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/patrickcarpen.com\/computers-and-internet\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/patrickcarpen.com\/computers-and-internet\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/patrickcarpen.com\/computers-and-internet\/wp-json\/wp\/v2\/comments?post=1049"}],"version-history":[{"count":1,"href":"https:\/\/patrickcarpen.com\/computers-and-internet\/wp-json\/wp\/v2\/pages\/1049\/revisions"}],"predecessor-version":[{"id":1051,"href":"https:\/\/patrickcarpen.com\/computers-and-internet\/wp-json\/wp\/v2\/pages\/1049\/revisions\/1051"}],"wp:attachment":[{"href":"https:\/\/patrickcarpen.com\/computers-and-internet\/wp-json\/wp\/v2\/media?parent=1049"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/patrickcarpen.com\/computers-and-internet\/wp-json\/wp\/v2\/categories?post=1049"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/patrickcarpen.com\/computers-and-internet\/wp-json\/wp\/v2\/tags?post=1049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}