Home › Forums › WoodMart support forum › Theme reset
Theme reset
- This topic has 16 replies, 3 voices, and was last updated 3 weeks, 4 days ago by
Artem Temos.
-
AuthorPosts
-
September 18, 2025 at 1:05 pm #686997
rmigaddeParticipantWhat is really going on, am working on the Website but the things keep disappering, the home page disappears, products dont show price. it has happened several times this time around this is too much.
September 18, 2025 at 3:07 pm #687036
Aizaz Imtiaz AwanKeymasterHello,
Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.
Best Regards,
September 18, 2025 at 3:21 pm #687038September 18, 2025 at 6:49 pm #687090
rmigaddeParticipantStill waiting
September 19, 2025 at 8:37 am #687132
rmigaddeParticipantPlease look into my issue, this has costed me a client meeting. All the updates disappeared.
September 19, 2025 at 10:36 am #687161
Artem TemosKeymasterHello,
We’re currently unable to reproduce this issue on your website. To prevent it from happening again in the future, we’ve added an extra debugging code. If you encounter the issue again, please contact us immediately so we can review the logs and troubleshoot the problem further.
Kind Regards
September 22, 2025 at 3:08 pm #687560
rmigaddeParticipantThe same thing has happened again today.
September 22, 2025 at 3:09 pm #687561
rmigaddeParticipantJust happened now
September 22, 2025 at 3:11 pm #687562
Artem TemosKeymasterHello,
Sorry, but we can’t enter your dashboard. Could you please send us your actual admin access?
Kind Regards
September 22, 2025 at 3:22 pm #687564
rmigaddeParticipantcr
September 22, 2025 at 3:44 pm #687574
rmigaddeParticipantI have to present the demo to the client tomorrow, please let me know if this issue can be solved if not we ask for the refund and we move one because now this is affecting the project timeline.
September 22, 2025 at 5:29 pm #687581
Artem TemosKeymasterIt’s strange, but the code we previously added to your website is no longer there. Have you removed it or reinstalled the theme on your website? We’ve added it again to your child theme.
September 23, 2025 at 6:19 am #687613
rmigaddeParticipantthis is really tiring, what code have you added to the child them so that i add it again, i need to restore the website to a working version
September 23, 2025 at 9:09 am #687628
rmigaddeParticipantThe code you added breaks the child them home page design not loading, i have reverted to the main theme
September 23, 2025 at 9:21 am #687632
Artem TemosKeymasterHere is the code we added to the child theme. This code by itself doesn’t affect the appearance of your website and just adds logs on “post delete” action.
add_action('pre_delete_post', 'wd_log_pre_delete_post', 10, 3); function wd_log_pre_delete_post($post_id, $post, $force_delete) { $current_user = wp_get_current_user(); $log_data = [ 'timestamp' => current_time('mysql'), 'post_id' => $post->ID, 'post_title' => $post->post_title, 'post_type' => $post->post_type, 'force_delete' => $force_delete, 'user' => [ 'ID' => $current_user->ID, 'username' => $current_user->user_login, 'email' => $current_user->user_email, 'roles' => $current_user->roles, ], 'request' => $_REQUEST, 'server' => $_SERVER, 'backtrace' => debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS), ]; $message = "Delete post hook:\n" . json_encode($log_data, JSON_PRETTY_PRINT); error_log($message); $logger = wc_get_logger(); $logger->info( json_encode( $log_data ), array( 'source' => 'delete_post' ) ); return $post_id; }
September 23, 2025 at 10:06 am #687641
rmigaddeParticipantLet me add this to the main them now
September 23, 2025 at 5:48 pm #687710
Artem TemosKeymasterWe highly recommend using a child theme to add any custom code like this. Here’s a link to the documentation: https://xtemos.com/docs-topic/setup-child-theme/
-
AuthorPosts
Tagged: Theme reset
- You must be logged in to create new topics. Login / Register