Ok, I apologize for such a dumb question, but I am getting headaches not being able to find the 404.php for listinghive / hivepress.
I can find it in my other wordpress themes on other sites, but not where I look when I go to wp-content / themes / listinghive.
Thank you to everyone for you always kind support and assistance.
John
Hi,
If you mean search listings, you can overwrite this file hivepress/templates/page/no-results-message.php at master · hivepress/hivepress · GitHub using a child theme How to override template parts - HivePress Help Center.
However, if you mean the default 404.php for your blog, you can create it directly in the child theme How to Make a Custom 404 Page in a WordPress Child Theme
I hope it helps
1 Like
Hello,
Under your theme (or rather child theme), add a file named : 404.php
Here’s the content of mine :
<?php get_header(); ?>
<div class="row">
<main class="col-sm-8 col-xs-12 col-sm-offset-2">
<h1><?php esc_html_e( '404', 'taskhive' ); ?></h1>
<p><?php esc_html_e( 'Sorry, the page you requested does not exist.', 'taskhive' ); ?></p>
<div align="center">
<img src="https://myawesomewebsite.com/wp-content/uploads/2025/02/share.7631a8f5.png" width="314" height="276" />
<br><a href="/">Back to home</a>
<br><?php echo do_shortcode('[hivepress_listing_search_form]'); ?>
</div>
</main>
</div>
<?php
get_footer();
Edit to your like.
2 Likes
system
Closed
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.