Sunday, October 25, 2015

Optimise our Blogspot Using trick label limit



Have you ever  click label in the post or the label on the INTERNET? How it looks on the page search label or index page after the click?
If you still use the default search label url will certainly be lined posting on search pages labeled with the number more than a limited number of posts on the homepage. And of course it will be a little disturbing view on the display pages.

To limit the number of posts when click the url manually label that we put as the header menu, some time ago I've shared how can you see the link below. 

How to Limit the Number of Posts That Appear When Click Label

However, a different way if we use the label blogger calling code like the following url:

expr: href = 'Data: label.url'

if you are sloppy page of the blog post does not even appear as one of implementing the code? Max-results = the calling code url blogger label as above. Well for that we must use the appropriate code on the caller url blogger label in order not to be an error.

Well,
 For those who want to limit the number of posts when click label in the post or the label on the site, please go to edit your blog's HTML code then locate the caller url blogger label as follows:

expr: href = 'Data: label.url'


Change the code with the following code:

expr: href = 'Data: label.url + & quot;? max-results = 10 & quot;'

Number 10 is the number of posts that appear when the label is clicked, please match that number by the number of posts on the main page of your blog.
If you want to add a title tag on the label url, add the following code after the code was:

expr: title = 'Data: label.name'

So the complete url of the label (both label and label posts in blogspot site) after adding the number of clicks and the title tag will be as follows.

<a expr: href = 'Data: label.url + & quot;? max-results = 10 & quot;' expr: title = 'Data: label.name'> <data: label.name/> </a>

Nice to meet you again.

No comments:

Post a Comment