Entry-meta put Post Views Counter

  • Author
    Posts
  • #55691

    Hi,
    I really like the Tempera theme, but before using it, I wanted to know if I could add the view counter of the plugin “Post views Counter” in the “entry-Meta” section whether in the home page and on the postss.
    If so, how?
    Thank you

    Website: entry-meta,%20Post%20views%20Counter

    #55996

    Hi,
    in a child theme, file single.php, I put the code
    ID ) ?> Vus
    just after this code
    <?php tempera_meta_before(); cryout_post_meta_hook(); ?>
    and it’s good
    http://er.v.free.fr/index.php/liens-sociaux-hueman-fontawesome

    For the homepage, file content/content.php line of code
    <?php cryout_post_after_content_hook(); ?>

    In style.css, put

    /* Views */
    .views {display: block; float: left; margin-right: 12px; line-height: 2;}
    .dashicons, .dashicons-before:before {float: left;}

    Here is the solution, problem solved

    Website: er.v.free.fr

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Entry-meta put Post Views Counter’ is closed to new replies.