{"id":20,"date":"2017-04-16T03:50:32","date_gmt":"2017-04-16T03:50:32","guid":{"rendered":"http:\/\/www.loftocean.com\/ceramag\/?p=20"},"modified":"2017-05-09T07:36:13","modified_gmt":"2017-05-09T07:36:13","slug":"how-to-add-a-start-number-for-post-likepost-viewed-count","status":"publish","type":"post","link":"https:\/\/www.loftocean.com\/ceramag\/start\/how-to-add-a-start-number-for-post-likepost-viewed-count\/","title":{"rendered":"How to add a start number for post like\/post viewed count"},"content":{"rendered":"<p>CeraMag theme provides Post Like and Post Viewed count feature. <\/p>\n<p>Post Like Button: You can see a small heart icon on the featured image of each post on homepage, or on each single post. Visitors\/readers can click on the heart icon, the number will count up at every click. <\/p>\n<p>Post Viewed Count: The number will count up at every click of the single post, and every time when refresh the page of the single post.<\/p>\n<p>If your site already has many posts before using CeraMag theme, because your previous themes don\u2019t have the features, or use a different method to record those data, so the number of each count is zero for every post. You can add a fake start number for for each post, please follow steps below.<\/p>\n<hr>\n<p>1. Go to one post, find \u201c<strong>Screen Options<\/strong>\u201d on the top, click on it to show the panel, tick the box of \u201c<strong>Custom Fields<\/strong>\u201d.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" src=\"http:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/screen-options-1440x547.jpg\" alt=\"screen-options\" width=\"1200\" height=\"456\" class=\"aligncenter size-loft_extra_large wp-image-57\" srcset=\"https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/screen-options-1440x547.jpg 1440w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/screen-options-300x114.jpg 300w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/screen-options-768x292.jpg 768w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/screen-options-1024x389.jpg 1024w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/screen-options-360x137.jpg 360w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/screen-options-480x182.jpg 480w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/screen-options-720x274.jpg 720w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/screen-options-960x365.jpg 960w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/screen-options-1200x456.jpg 1200w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/screen-options.jpg 1600w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>2. Scroll down the page, you will see there is a \u201c<strong>Custom Fields<\/strong>\u201d box below the content editor. Then find \u201c<strong>Add New Custom Field<\/strong>\u201d, click on the \u201c<strong>Select<\/strong>\u201d list, choose \u201c<strong>loftocean-like-count<\/strong>\u201d or \u201c<strong>loftocean-view-count<\/strong>\u201d from the list.  <\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/add-new-custom-field-1440x780.jpg\" alt=\"add-new-custom-field\" width=\"1200\" height=\"650\" class=\"aligncenter size-loft_extra_large wp-image-60\" srcset=\"https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/add-new-custom-field-1440x780.jpg 1440w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/add-new-custom-field-300x163.jpg 300w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/add-new-custom-field-768x416.jpg 768w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/add-new-custom-field-1024x555.jpg 1024w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/add-new-custom-field-360x195.jpg 360w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/add-new-custom-field-480x260.jpg 480w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/add-new-custom-field-720x390.jpg 720w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/add-new-custom-field-960x520.jpg 960w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/add-new-custom-field-1200x650.jpg 1200w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/add-new-custom-field.jpg 1600w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>3. Enter a number into the \u201c<strong>Value<\/strong>\u201d box. For example, 257 for \u201c<strong>loftocean-view-count<\/strong>\u201d. Then click on \u201c<strong>Add Custom Field<\/strong>\u201d button.  <\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/custom-value-1440x303.jpg\" alt=\"custom-value\" width=\"1200\" height=\"253\" class=\"aligncenter size-loft_extra_large wp-image-62\" srcset=\"https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/custom-value-1440x303.jpg 1440w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/custom-value-300x63.jpg 300w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/custom-value-768x162.jpg 768w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/custom-value-1024x216.jpg 1024w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/custom-value-360x76.jpg 360w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/custom-value-480x101.jpg 480w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/custom-value-720x152.jpg 720w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/custom-value-960x202.jpg 960w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/custom-value-1200x253.jpg 1200w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/custom-value.jpg 1600w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>4. If you\u2019d like to change the number, just enter a new number, then click on \u201c<strong>Update<\/strong>\u201d button.  <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/update-value-1440x429.jpg\" alt=\"update-value\" width=\"1200\" height=\"358\" class=\"aligncenter size-loft_extra_large wp-image-64\" srcset=\"https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/update-value-1440x429.jpg 1440w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/update-value-300x89.jpg 300w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/update-value-768x229.jpg 768w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/update-value-1024x305.jpg 1024w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/update-value-360x107.jpg 360w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/update-value-480x143.jpg 480w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/update-value-720x215.jpg 720w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/update-value-960x286.jpg 960w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/update-value-1200x358.jpg 1200w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/update-value.jpg 1600w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>5. The number will be the start number of the like count or view count, which means if you click to view the post right after setting the view count start number to \u201c257\u201d, it will add 1, so it will be 258. <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/view-count-1440x692.jpg\" alt=\"view-count\" width=\"1200\" height=\"577\" class=\"aligncenter size-loft_extra_large wp-image-65\" srcset=\"https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/view-count-1440x692.jpg 1440w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/view-count-300x144.jpg 300w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/view-count-768x369.jpg 768w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/view-count-1024x492.jpg 1024w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/view-count-360x173.jpg 360w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/view-count-480x231.jpg 480w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/view-count-720x346.jpg 720w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/view-count-960x461.jpg 960w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/view-count-1200x577.jpg 1200w, https:\/\/www.loftocean.com\/ceramag\/wp-content\/uploads\/sites\/6\/2017\/04\/view-count.jpg 1600w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CeraMag theme provides Post Like and Post Viewed count feature. Post Like Button: You can see a small heart icon on the featured image of each post on homepage, or on each single post. Visitors\/readers can click on the heart icon, the number will count up at every click. Post Viewed Count: The number will [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-20","post","type-post","status-publish","format-standard","hentry","category-start"],"_links":{"self":[{"href":"https:\/\/www.loftocean.com\/ceramag\/wp-json\/wp\/v2\/posts\/20","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.loftocean.com\/ceramag\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.loftocean.com\/ceramag\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.loftocean.com\/ceramag\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.loftocean.com\/ceramag\/wp-json\/wp\/v2\/comments?post=20"}],"version-history":[{"count":5,"href":"https:\/\/www.loftocean.com\/ceramag\/wp-json\/wp\/v2\/posts\/20\/revisions"}],"predecessor-version":[{"id":66,"href":"https:\/\/www.loftocean.com\/ceramag\/wp-json\/wp\/v2\/posts\/20\/revisions\/66"}],"wp:attachment":[{"href":"https:\/\/www.loftocean.com\/ceramag\/wp-json\/wp\/v2\/media?parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.loftocean.com\/ceramag\/wp-json\/wp\/v2\/categories?post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.loftocean.com\/ceramag\/wp-json\/wp\/v2\/tags?post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}