-
AuthorPosts
-
April 14, 2019 at 2:49 am #1090486
After I updated the theme, the answers in my Q&A post types disappeared, now only the questions are displayed. The custom post type is made with the plugin “Custom Post Type UI”. The plugin support says “Since it’s a frontend display issue, and the theme is a detail that got updated, chances are that the templates have changed in some way and inadvertently affected the post type display. CPTUI doesn’t do anything in regards to display, we focus on getting them registered and ready for use. Your best avenue for support for this would be either checking exactly what changed before and after the theme update, so you can determine what needs to be brought back, OR check with Enfold theme support to see if they can identify what potentially occurred. If there were customizations done to the theme, and you’re not using a child theme at all, then that would be a good likely culprit since the customizations would have been lost with the update.”
Here are screenshots from the edit section in one of my Q&A posts and link to the post. Any suggestion for how I can troubleshoot this? I have full backup of WordPress from before the updates.
This is how it looks in the post editor:
This is how it displays on the webpage:
- This topic was modified 5 years, 7 months ago by guttogjente.
April 16, 2019 at 12:55 pm #1091410April 16, 2019 at 2:03 pm #1091432I found that the second field that does not show up is defined in another plugin called Advanced Custom Fields. In order for it to be displayed there must be done some coding, so maybe I end up with moving all the text in the second field in those posts to the field above.
April 16, 2019 at 2:29 pm #1091444Hi,
To display content of custom fields is not out of the box. Moving the content to the main tinyMCE editor is the easiest way.
Can we close this topic?
Best regards,
GünterApril 19, 2019 at 10:39 am #1092657I see some others ask about Advanced Custom Fields, so for their reference the solution was to insert <?php the_field(‘svar_til_brukeren’); ?> in single.php in the child theme, where “svar_til_brukeren” is my custom field. See https://www.youtube.com/watch?v=w1uKdCfZB5c which helped me
- This reply was modified 5 years, 7 months ago by guttogjente.
April 22, 2019 at 4:55 pm #1093369Hi,
Thank you for sharing the solution with our other forum members.
Best regards,
GünterApril 27, 2019 at 2:00 am #1094850Thank you for the great job you do at the support, much appreciated! This case can be closed
April 29, 2019 at 6:13 pm #1095398Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Custom post type does not display correct after update’ is closed to new replies.