Support » Plugin: AJAX Hits Counter + Popular Posts Widget » Using Placeholder outside a widget

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author kutsy

    (@kutsy)

    Sorry, but this is impossible.

    Ok thanks…

    Plugin Author kutsy

    (@kutsy)

    From v0.7.2 you can use function ajax_hits_counter_get_hits( $post_id ) to get hits for post ID.
    Maybe it can helps.

    icemaax

    (@icemaax)

    Great Plugin.
    The function is needed coded in the Editor (singlepost.php)
    as
    <?php ajax_hits_counter_get_hits( $post_id )?>
    or is posible insert in the post manually
    Thanks

    Plugin Author kutsy

    (@kutsy)

    is posible insert in the post manually

    You can use this code anywhere.

    Thanks

    My working code:

    <?php _e(‘Hits:’); ?> <?php echo( ajax_hits_counter_get_hits( get_the_ID() ))?>

    I finally figured it out.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Using Placeholder outside a widget’ is closed to new replies.