Wordpress widgets - toplist code not working

Our support will answer all your general questions here.

Moderator: Rock

Post Reply
Ajay
Posts: 12
Joined: Mon Aug 24, 2015 5:11 pm

Wordpress widgets - toplist code not working

Post 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
Rock
Posts: 226
Joined: Tue Dec 16, 2014 6:11 pm

Re: Wordpress widgets - toplist code not working

Post 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
I am a moderator on this forum and I handle part of TE support. ICQ: 651089602
Post Reply