timmy2426 replied
Thank you very much, the problem has been solved, wish you a good day!
I have two questions about yesterday's theme update.
1. After the update, the content of the first post on the home page will be elementor's css file, even if I add a new post with no content at all is also the same. I have already downgraded elementor back to the old version, but the above situation still happens, so I guess it is caused by the theme update. Please refer to the picture and link.
2. Is this custom function.php code still needed after this theme update?
// set the number of views of new posts to zero
add_action('publish_post',function($id){
$count_key = penci_get_postviews_key();
$count_wkey = 'penci_post_week_views_count';
$count_mkey = 'penci_post_month_views_count';
delete_post_meta($id,$count_key);
delete_post_meta($id,$count_wkey);
delete_post_meta($id,$count_mkey);
},10,1);
Want to join this conversation or access attachments? Sign in first.
Open your ticket archive, review validated licenses, and continue product support conversations from one customer portal.