Press Release Template not Displaying Correctly

I noticed my custom post type "Press Releases" are not displaying the content properly. The only thing showing up is a default subheader (ex: https://saratech.com/press-release/saratech-recognized-by-siemens-plm-software-as-smart-expert-partner/). I have recently updated the BeTheme parent and Wordpress.  When I inspect the code I see there is a <p> tag showing “The site is experiencing technical difficulties” and there is an id=”error-page”. This is only occurring on press release post types, regular blog posts are showing correctly. All plugins/themes/WP are up to date.  I tried troubleshooting this on my dev site with no luck. Any ideas?

Comments

  • Hello,
    Sorry, but we do not have any tool to create the "Custom Post Type", which means, that it require theme and wordpress files customizations - which unfortunately, we do not provide help with.

    Please, check, if you followed all of the steps provided here:

    Thanks
  • edited October 2019
    I was able to find the fix. I copied the single.php file from the parent Betheme folder into my child theme folder, renaming it as my custom post type file name (ex: single-press-release.php). I also copied the content-single.php from the parent Betheme includes folder and added it my child theme's includes folder and renamed that one to content-single-press-release.php. After renaming them, I edited the single-press-release.php to redirect the get_template_part('includes/content', 'single'); to my custom file name in the includes folder ('includes/content', 'single-press-release');.
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.