Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #15152
    012kal
    Participant

    Hello,

    I currently use the Newspaper theme and its Post Views Count feature included.

    I want to use the plugin “Post Views Counter” for the starting account the calculation of the number of views of the theme and the importer the number of views of The Post Views Count function of NewsPaper in the data of the “Post Views Counter” plugin.

    You explains the procedure in this code:

    function custom_pvc_import_meta_key( $meta_key ) {
    	// Use your meta-key here
    	$meta_key = 'post_views_count';
    	return $meta_key;
    }
    add_filter( 'pvc_import_meta_key', 'custom_pvc_import_meta_key' );

    I inserted as you advised, but there is no change.

    The meta key is correct according to the theme designer.

    Is it possible to intervene on my website?

    If possible, what are your requirements?

    Thank you

    #15173
    Bartosz
    Keymaster

    We would need to check in your db if that’s the correct meta key. You can provide access vie private reply.

    #15185
    012kal
    Participant
    This reply has been marked as private.
    #15191
    Bartosz
    Keymaster

    Checked in the admin – not accessible.
    We’d need to check it in the db directly.

    #15193
    012kal
    Participant
    This reply has been marked as private.
    #15194
    Bartosz
    Keymaster

    Ok, confirmed that it’s ‘post_views_count’ meta key.
    Did you select to Override existing data option while doing Import with the code snippet?

    #15195
    012kal
    Participant

    Yes, I had checked “Overwrite data from Post Views Existing Counter” before clicking on the “Importer” button.

    #15335
    012kal
    Participant
    This reply has been marked as private.
    #15478
    Bartosz
    Keymaster

    We still haven’t found an reason for this issue.
    Will check on your site again.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.