Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Harish Chouhan

    (@hchouhan)

    Hello,

    You can display the post count anywhere you like (but within a proper WordPress loop) by adding below code directly in your theme file

    <?php if( function_exists('dot_irecommendthis') ) dot_irecommendthis(); ?>

    Hi,

    We have an issue to use the shortcode into that code :

    if ( ( $cb_meta_onoff == 'on' ) || ( $cb_posts_on == true ) ) {
                $cb_byline = '<div class="cb-byline">' . $cb_author . $cb_date . $cb_cat_output . $cb_comments . $cb_post_views . '</div>';
            }
    
            return $cb_byline;
        }
    }

    We tried to put the two shortcode codes after the “$cb_post_views” (where we want it) but it doesn’t work ?? It works into single.php but not at the place we want ??

    Plugin Author Harish Chouhan

    (@hchouhan)

    Hello saphiloche,

    Can you please share the exact code you tried.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to include Likes in post meta’ is closed to new replies.