• Hello, I use popular post with this html format:
    post_html=”<div class=’sidebar-right-promote’>{thumb}<p>{text_title}</p></div>”

    I would like to add event tracking to this pattern, but I can’t because of parsing (i think…) error.

    I tried to add following code:
    onclick=\”_gaq.push([‘_trackEvent’, ‘MenuTop’, ‘TitleClick’, ‘TestPage’, 1]);\”

    but its not working, your plugin show default link template instead. Is there any possibilty to attach this code to links?

    http://wordpress.org/plugins/wordpress-popular-posts/

  • The topic ‘Issue with html popular post format’ is closed to new replies.