[WCDDL] Google Plus Ones, Modification

Status
Not open for further replies.

Vick

Banned
Banned
297
2011
72
0
Apparently I don't contribute to WJ. This source has been removed because personal reasons of me not wanting to share.

Good day.
 
Last edited:
2 comments
PHP:
<g:plusone size="small" href="download.php?id=<?php echo $row->id; ?>"></g:plusone>

Looks good. Small tip.
Replace above with this if you want it to be html5 valid and have consistent root urls. eg all with or without the www part.
PHP:
<div class="g-plusone" data-size="small" data-href="<?php echo WCDDL_PATH; ?>download.php?id=<?php echo $row->id; ?>"></div>
 
Status
Not open for further replies.
Back
Top