Tagged: x
-
AuthorPosts
-
April 28, 2016 at 5:28 am #903849
ChrisParticipanthello team,
my 404 error page only shows a (perma)link to the new error page. (“www.haussee.com/404”)
custom404 is enabled and the new page(“/error”) is selected.
any ideas?
kind regards,
chrisApril 28, 2016 at 4:55 pm #904812
JadeModeratorHi Chris,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
May 13, 2016 at 12:39 pm #990022
ChrisParticipantThis reply has been marked as private.May 13, 2016 at 5:27 pm #990396
RahulModeratorHi there,
I can confirm that this is a bug in the custom 404 extensions. We managed to have a temporary fix for it.
If you can provide us your FTP details, we can add a code to your child theme’s functions.php or you can add the below code :
$custom_404_post = get_post( (int) $x_custom_404_entry_include ); if ( ! is_a( $custom_404_post, 'WP_Post' ) ) { return $template; } GLOBAL $wp_query; GLOBAL $post; $post = $custom_404_post; $wp_query->posts = array( $post ); $wp_query->queried_object_id = $post->ID; $wp_query->queried_object = $post; $wp_query->post_count = 1; $wp_query->found_posts = 1; $wp_query->max_num_pages = 0; $wp_query->is_404 = false; $wp_query->is_page = true; $wp_query->is_singular = true; return get_page_template(); } add_filter( '404_template', 'just_another_404_filter', 100 ); // =============================================================================Thanks
June 4, 2016 at 7:39 am #1025583
ChrisParticipantThis reply has been marked as private.June 4, 2016 at 9:58 pm #1026187
Rue NelModeratorHello There,
Please do remove the code above and make sure to update the Custom 404 plugin to its latest version. I would also highly recommend that you check out our changelog here: https://theme.co/changelog/#custom-404-1-1-1
Please let us know how it goes.
June 5, 2016 at 2:25 pm #1026855
ChrisParticipantHello Team,
great – the update helps alot.
Thank you very much,Kind regards,
ChrisJune 5, 2016 at 11:46 pm #1027376
Rue NelModeratorYou’re welcome!
We’re glad we were able to help you out. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-903849 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
