• Resolved dariuserdt

    (@dariuserdt)


    Hi there,
    I often duplicate my posts as a template for a new one. Now I found out that the post statistic is also copied in this process. At least if you look at the post statistics shown in the optional, but useful post column. The data differ to the statistics in the Burst statistic section. In my eyes, this is a bug.

    Best, Darius

    • This topic was modified 2 months, 2 weeks ago by dariuserdt.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    The post meta is copied by the duplication tool, not by Burst itself. So while I understand your remark, we can’t fix the issue in Burst, we’d have to find a way to fix this in the duplication tool.

    What tool do you use? We might consider creating a fix for the largest in the repo. On the other hand, maintaining such integrations are often very time consuming.

    Thread Starter dariuserdt

    (@dariuserdt)

    This is the plugin I used for duplicating posts: https://yoast.com/wordpress/plugins/duplicate-post/

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    @dariuserdt I have created a snippet:

    function burst_exclude_post_meta($meta_keys) {
        $meta_keys[] = 'burst_total_pageviews_count';
        return $meta_keys;
    }
    
    add_filter('duplicate_post_excludelist_filter', 'burst_exclude_post_meta');

    Which you can use to exclude the Burst post meta from the duplication tool. It will be integrated in the plugin in one of the coming releases.

    I’m also having the same problem. On our website, we use Yoast Duplicate Post.

    Would your code also work in our case? Thanks!

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    @vgstef you can use the same solution, it’s the same plugin.

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