evaluations stars of bloggers to post photos
cliccatissima Here's how to add stars to the evaluation of our blog post even if they are supported "natively" on the template chosen from those provided by the platform
Blogger: So
just go to Dashboard -> Layout -> Edit HTML and expand the widget templates. Now try
\u0026lt;div class='post-footer-line post-footer-line-3'> just below and enter the following code:
\u0026lt;span class='star-ratings'>
\u0026lt;b:if cond='data:top.showStars'>
\u0026lt;div expr: g: background-color = 'data: backgroundColor' expr: g: text-color = 'data: textColor' expr : g: url = 'data: post.absoluteUrl' g: height = '42 'g: type =' RatingPanel 'g: width = '280' />
\u0026lt;/ b: if>
\u0026lt; ; / span>
If uncommented the tag
\u0026lt;if cond...> it is necessary to access the draft version
Board
to this address and enable them from the infamous starlets of assessment (
Layout -> Items page -> Post to blog ). Then add in the block
\u0026lt;b:include name='nextprev'/> the following code:
\u0026lt;b:if cond='data:top.showStars'>
\u0026lt;script src = ' http://www.google.com/jsapi 'type =' text / javascript '/> \u0026lt;script type='text/javascript'>
google.load("annotations", "1");
function initialize() {
google.annotations.createAll();
google.annotations.fetch();
}
google.setOnLoadCallback(initialize);
</script>
</b:if>
Buona valutazione a tutti, passo e chiudo!