/

How to control the number of posts in label pages (category)

Label (kategory) in New Blogger by default usually only display 20 posts perhalaman, in this case if you want to read the previous post we were asked to open a link is usually marked with the name "Older Posts" or "Older Posts." Actually there is another way in which we can change the default number of posts to show the number of posts more (Example: 50 to 200 posts perhalaman).


Before changing the default number of bloggers post on a new label, there are things to keep in note that changing the code by displaying the number of pages exceeding the 20 posts will make loading the page the more weight, as a solution to overcome this problem, we should use the means whereby we only display the page title only, the tutorial can be read here How to display the title of the post with no content (page) posts


To change the default number of posts on the label, there are two ways we can use the search:


Manual mode:


Edit HTML -> jangan lupa beri tanda centang pada Expand Template Widget" onmouseover="this.style.backgroundColor='#ebeff9'" onmouseout="this.style.backgroundColor='#fff'">Sign in Templates -> Edit HTML -> Do not forget to check the Expand Widget Templates


Find this code dbawah this (remember the code below which will be in search not only one)


data: label.url


Then replace all the above code with below code


data: label.url + "? max-results = 50"


Note: not necessarily the number of posts 50, the number could be adjusted such as 100 or 200



Automatic mode (faster):


Copy semua kode, kemudian Paste semua kode tersebut pada tools Edittor (misalnya: Notepad, Wordpad, Notepad++)." onmouseover="this.style.backgroundColor='#ebeff9'" onmouseout="this.style.backgroundColor='#fff'">In the Edit HTML page -> Copy all the code, then paste all the code on Edittor tools (eg: Notepad, WordPad, Notepad + +).

For example we are using Notepad on MS windows just so much easier:)

kemudian klik Replace -> masukan kode yang akan di ubah (replace), caranya lihat input dibawah, jika sudah lalu klik "Replace All"" onmouseover="this.style.backgroundColor='#ebeff9'" onmouseout="this.style.backgroundColor='#fff'">In Notepad click on Edit -> then click Replace -> input the code that will change (replace), how to see input below, if it is then click "Replace All"



Do not forget to re-Copy-Paste this code from the notepad into the Edit HTML page.



Related Post



RSS Feed

0 Comments for How to control the number of posts in label pages (category)

Leave a comment!

design by tikimedia © 2010 | Converted to Blogger by Blogger Templates | I Powered by Blogger