
{"id":3365,"date":"2014-04-09T08:15:27","date_gmt":"2014-04-09T08:15:27","guid":{"rendered":"http:\/\/tapchicntt.com\/?p=3365"},"modified":"2023-08-10T08:39:14","modified_gmt":"2023-08-10T01:39:14","slug":"tao-tin-lien-quan-trong-blogspot-voi-anh-thumnail","status":"publish","type":"post","link":"https:\/\/tapchicntt.com\/tao-tin-lien-quan-trong-blogspot-voi-anh-thumnail\/","title":{"rendered":"T\u1ea1o tin li\u00ean quan trong blogspot v\u1edbi \u1ea3nh thumnail"},"content":{"rendered":"\n<p>\u0110\u1ec3 blog c\u1ee7a b\u1ea1n tr\u1edf n\u00ean sinh \u0111\u1ed9ng v\u00e0 d\u1ec5 d\u00e0ng gi\u1edbi thi\u1ec7u nh\u1eefng b\u00e0i vi\u1ebft hay \u0111\u1ebfn cho nhi\u1ec1u ng\u01b0\u1eddi th\u00ec tin li\u00ean quan l\u00e0 th\u1ee9 kh\u00f4ng th\u1ec3 thi\u1ebfu cho blog c\u1ee7a b\u1ea1n, c\u00f3 r\u1ea5t nhi\u1ec1u c\u00e1ch \u0111\u1ec3 l\u00e0m \u0111i\u1ec1u \u0111\u00f3.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>H\u00f4m nay m\u00ecnh xin gi\u1edbi thi\u1ec7u c\u00e1ch t\u1ea1o tin li\u00ean quan v\u1edbi h\u00ecnh \u1ea3nh thumnail c\u1ee7a b\u00e0i vi\u1ebft hi\u1ec7n t\u1ea1i, c\u00e1c tin li\u00ean quan n\u00e0y s\u1ebd hi\u1ec3n th\u1ecb \u1edf d\u01b0\u1edbi c\u00f9ng b\u00e0i vi\u1ebft v\u00e0 \u0111\u01b0\u1ee3c ch\u1ecdn c\u00f9ng danh m\u1ee5c, label v\u00e0 tag c\u1ee7a b\u00e0i vi\u1ebft \u0111\u00f3. Nh\u01b0 h\u00ecnh m\u00ecnh h\u1ecda d\u01b0\u1edbi \u0111\u00e2y<\/p>\n\n\n\n<p>C\u00e1c b\u1ea1n ch\u1ec9 c\u1ea7n l\u00e0m theo c\u00e1c b\u01b0\u1edbc sau \u0111\u00e2y :<br><strong>B\u01b0\u1edbc 1<\/strong>: \u0110\u0103ng nh\u1eadp v\u00e0o Blogger : <code>Dashboard >> Design >> Edit HTML<\/code>;<br><strong>B\u01b0\u1edbc 2<\/strong>: Click ch\u1ecdn &#8220;<strong>Expand widgets template<\/strong>&#8220;.<br><strong>B\u01b0\u1edbc 3<\/strong>: T\u00ecm \u0111o\u1ea1n code <code>&lt;\/head><\/code><\/p>\n\n\n\n<p>Sau \u0111\u00f3 copy v\u00e0 paste \u0111o\u1ea1n code sau ngay tr\u00ean th\u1ebb <code>&lt;\/head><\/code><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;!-- Related Posts with thumbnails Scripts and Styles Start --&gt;\n&lt;!-- remove --&gt;&lt;b:if cond=&#039;data:blog.pageType == &quot;tem&quot;&#039;&gt;\n&lt;style type=&quot;text\/css&quot;&gt;\n#related-posts {\n    float:center;\n    text-transform:none;\n    height:100%;\n    min-height:100%;\n    padding-top:5px;\n    padding-left:5px;\n}\n\n#related-posts h2{\n    font-size: 1.6em;\n    font-weight: bold;\n    color: black;\n    font-family: Georgia;\n    margin-bottom: 0.75em;\n}\n<\/pre><\/div>\n\n\n<p>\u0110o\u1ea1n code tr\u00ean s\u1ebd hi\u1ec3n th\u1ecb m\u1eb7c \u0111\u1ecbnh l\u00e0 5 tin li\u00ean quan, n\u1ebfu b\u1ea1n mu\u1ed1n hi\u1ec3n th\u1ecb nhi\u1ec1u hay \u00edt h\u01a1n th\u00ec c\u00f3 th\u1ec3 \u0111i\u1ec1u ch\u1ec9nh \u1edf d\u00f2ng <strong>var maxresults=5;<\/strong><\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 5<\/strong>: B\u00e2y gi\u1edd c\u00e1c b\u1ea1n nh\u1ea5n Ctrl + F v\u00e0 t\u00ecm \u0111o\u1ea1n code sau:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;div class=&#039;post-footer-line post-footer-line-1&#039;&gt;\n<\/pre><\/div>\n\n\n<p>N\u1ebfu c\u00e1c b\u1ea1n kh\u00f4ng t\u00ecm th\u1ea5y th\u00ec t\u00ecm \u0111o\u1ea1n n\u00e0y:<\/p>\n\n\n\n<p>&lt;p class=&#8217;post-footer-line post-footer-line-1&#8217;><\/p>\n\n\n\n<p>Ho\u1eb7c:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;data:post.body\/&gt;&lt;br&gt;\n<\/pre><\/div>\n\n\n<p><strong>B\u01b0\u1edbc 6<\/strong>: Copy v\u00e0 paste \u0111o\u1ea1n code b\u00ean d\u01b0\u1edbi ngay d\u01b0\u1edbi nh\u1eefng \u0111o\u1ea1n code m\u00e0 ch\u00fang ta t\u00ecm th\u1ea5y \u1edf b\u01b0\u1edbc 5<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;!-- Related Posts with Thumbnails Code Start--&gt;\n&lt;!-- remove --&gt;&lt;b:if cond=&#039;data:blog.pageType == &quot;item&quot;&#039;&gt;\n&lt;div id=&#039;related-posts&#039;&gt;\n&lt;b:loop values=&#039;data:post.labels&#039; var=&#039;label&#039;&gt;\n&lt;b:if cond=&#039;data:label.isLast != &quot;true&quot;&#039;&gt;\n&lt;\/b:if&gt;\n&lt;script expr:src=&#039;&quot;\/feeds\/posts\/default\/-\/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels_thumbs&amp;max-results=5&quot;&#039; type=&#039;text\/javascript&#039;\/&gt;&lt;\/b:loop&gt;\n&lt;script type=&#039;text\/javascript&#039;&gt;\nremoveRelatedDuplicates_thumbs();\nprintRelatedLabels_thumbs(&quot;&lt;data:post.url\/&gt;&quot;);\n&lt;\/script&gt;\n&lt;\/div&gt;&lt;div style=&#039;clear:both&#039;\/&gt;\n&lt;!-- remove --&gt;&lt;\/b:if&gt;\n&lt;b:if cond=&#039;data:blog.url == data:blog.homepageUrl&#039;&gt;&lt;b:if cond=&#039;data:post.isFirstPost&#039;&gt;\n&lt;a href=&#039;http:\/\/helplogger.blogspot.com&#039;&gt;&lt;img alt=&#039;Best Blogger Tips&#039; src=&#039;http:\/\/3.bp.blogspot.com\/-K65p5zLLKQk\/T3ObCINoP7I\/AAAAAAAABmI\/dF84-alnOu4\/s1600\/best+blogger+tips.png&#039;\/&gt;&lt;\/a&gt;\n&lt;\/b:if&gt;&lt;\/b:if&gt;\n&lt;!-- Related Posts with Thumbnails Code End--&gt;\n<\/pre><\/div>\n\n\n<p><strong>Ch\u00fa \u00fd<\/strong>: Thay \u0111\u1ed5i gi\u00e1 tr\u1ecb 5 t\u1eeb <code>max-results=5<\/code> v\u1edbi s\u1ed1 b\u00e0i vi\u1ebft m\u00e0 b\u1ea1n mu\u1ed1n hi\u1ec3n th\u1ecb<\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 7<\/strong>: nh\u1ea5t n\u00fat Save \u0111\u1ec3 k\u1ebft th\u00fac.<\/p>\n\n\n\n<p>Nh\u01b0 v\u1eady l\u00e0 b\u1ea1n \u0111\u00e3 c\u00f3 th\u1ec3 t\u1ea1o b\u00e0i li\u00ean quan v\u1edbi \u1ea3nh thumnail r\u1ed3i. Ch\u00fac c\u00e1c b\u1ea1n th\u00e0nh c\u00f4ng !<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0110\u1ec3 blog c\u1ee7a b\u1ea1n tr\u1edf n\u00ean sinh \u0111\u1ed9ng v\u00e0 d\u1ec5 d\u00e0ng gi\u1edbi thi\u1ec7u nh\u1eefng b\u00e0i vi\u1ebft hay \u0111\u1ebfn cho nhi\u1ec1u [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":7942,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[170],"tags":[],"class_list":["post-3365","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogger"],"views":458,"_links":{"self":[{"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/posts\/3365","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/comments?post=3365"}],"version-history":[{"count":6,"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/posts\/3365\/revisions"}],"predecessor-version":[{"id":8069,"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/posts\/3365\/revisions\/8069"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/media\/7942"}],"wp:attachment":[{"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/media?parent=3365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/categories?post=3365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/tags?post=3365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}