WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
[Plugin: WordPress Popular Posts] problem with html markup (1 post)

  1. trumanews
    Member
    Posted 3 years ago #

    Hi everybody! I am using template tags and I am not able to set html markup.

    The following is the code that I use, and it works properly:
    <?php get_mostpopular("range=weekly&limit=4&order_by=views&pages=0&thumbnail_width=110&thumbnail_height=75&wpp_start=<table>&wpp_end=</table>&post_start=<td>&post_end=</td>&stats_date=1&stats_date_format='(j/m/Y)'&stats_comments=0"); ?>

    But if I want to indicate a specific width for <td> tag - e.g. <td width="200"> - it gives me php error because of " I think.

    To note that the same code in a widget works fine. If I use ' instead of " I have not no result.

    What can I do to give a specific width?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic