Page 1 of 1

Wordpress widgets - toplist code not working

Posted: Tue Jan 17, 2017 2:28 am
by Ajay
Hello,
I'm having an issue with adding toplist to wordpress widgets
I've tried:
<?php include "/home/domain/domain.com/majorlist/160x600.html"; ?>
Nothing displays

Tried this:
<td>
<center><font style="font-size: 10pt"><b><a href="/toplinks/exit.php?id=##domain:01##" target="_blank">##name:01##</a></b></font></td>
<td>
<center><font style="font-size: 10pt"><b><a href="/toplinks/exit.php?id=##domain:02##" target="_blank">##name:02##</a></b></font></td>

Just ##name:01## displays
##name:02##

Any one tried this or have an idea?
Thanks

Re: Wordpress widgets - toplist code not working

Posted: Tue Jan 17, 2017 7:57 am
by Rock
Hello, Ajay.

There seem to be some mistakes in your toplist template syntax: use 1 instead of 01, so ##domain:1##, ##name:1## instead of ##domain:01##, ##name:01##. You can test the toplist by clicking the Preview button on the right side of the Existing toplists table. And you have to include it, so the second method won't work.

Best regards,
Rock