How to display only content posts or pages on blogger
Usually a blogger when creating a page on a blog that wants content that is displayed only content only. In other words a blogger wants to create a clean page.
Yes, the purpose of this article is to help you guys who want to create a clean page from comments, widgets, or navigation headers.
Here's the tutorial:
Make sure you had call jquery framework ( https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js ) before </head>Lets begun:
Tutorial to display content of posts or pages only in blogger:
When you create an article or page, put the code below at the end of your article or content page in HTML EDITOR.<script> $('div:not(div[id^=post-body-])').hide(); // hide everything except id="post-body-xxxxxxxxxx" $("[id^='post-body-']").appendTo('body'); // move id="post-body-xxxxxxxxx" up to the body </script>
Done. I hope this post be help you..
Dont forget share this blog. Thank you..
Incoming Terms:
- Make clean pages on blogger
- Make clean articles on blogger
- Make articles or pages clean from comments, widget, and anything except the content articles or pages.
Comments
Post a Comment
Bila Ada posting yang kurang, atau error atau yang lainnya, silahkan tinggalkan komentar agar artikel/post di perbaiki.
Jangan Lupa Cek Box "Notify Me" agar tahu komentar kamu dibalas oleh saya.
If there are any posts that are missing, or error or anything else, please leave a comment for the article / post to be fixed.
Do not Forget Check Box "Notify Me" to know our comments replied by me.