Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1219912
    #1220411

    *** BUMP ***

    Hi guys,
    Any help please?

    #1220570

    Hi BigBatT,

    You will need to edit the /includes/loop-index.php file to add this to the post meta.

    Around here:
    Image 2020-06-08 at 20.03.41.png

    Please refrain from replying to your own thread because it gets pushed back to the end of the queue and moderators won’t be able to provide a response immediately. Please be patient while we go through the rest of the queue. Thank you for your understanding.

    Best regards,
    Victoria

    #1221112

    Hi @victoria_d,

    forgive my “bump” ;)

    Anyway thanks for the support, it was very helpful and I solved my problem.
    You can close this thread
    Regards
    Luigi

    #1221165

    For all those who want to implement this function or add more, this is the plugin I use PostViews and here below the code:

    1. Download the plugin PostViews and install it
    2. Go to Enfold > includes > and open whit a text editor loop-index.php
    3. Search around line 400

    if( ! empty( $cats ) ) {
    	echo '<span class="blog-categories minor-meta">' . __( 'in','avia_framework' ) . ' ';
    	echo	$cats;
    	echo '</span><span class="text-sep text-sep-cat">/</span>';
    }

    4. Just below add this code:

    ### Funzione visualizzazioni (Views function)
    if(function_exists('the_views')) { 
    	echo "<span class='views-container minor-meta'>";
    	the_views();
    	echo '</span>';
    	echo "<span class='text-sep text-sep-comment'>/</span>";
    }

    Done!

    This is the result ;)
    Post views on blog post meta

    Regards
    Luigi

    #1221528

    Hi Luigi,

    Great, I’m glad that you could come up with a solution and thanks for sharing. I’ll go ahead and close this thread for now then, please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Add function to blog meta’ is closed to new replies.