Hi Marika. Do you have a modified single.php file in your child theme? The post you linked appears to have an additional class (singlephp) in the section element, and is missing the page-title div which is loaded by this line in single.php:
<?php get_template_part('parts/page-title'); ?>
Hi bdbrown,
Thanks for your quick reply!
I do have a modified single.php – but I did not remove the page-title line:
<?php get_header(); ?>
<section class="content singlephp">
<?php get_template_part('inc/page-title'); ?>
When comparing the modified single.php to the original single.php, I did notice that there was a slight difference; my line uses ‘inc/’ and the original ‘parts/’.
I tried to adjust it to ‘parts/’ but it didn’t make a difference.
Greets, Mariska
Yes, that’s one thing that’s changed in the new version. If you can paste your modified single.php on Pastebin http://pastebin.com/ and then post a link here, I’ll take a look at it.
Here’s a post that discussed some of the changes in the first 3.x version:
https://wordpress.org/support/topic/pre-update-questions-from-225-to-311?replies=13
You can also find release notes for previous versions here:
http://presscustomizr.com/category/hueman-releases/
Done: http://pastebin.com/5xKFTtzZ
Thanks a lot bdbrown, I really appreciate you helping me! I’ll look through the release notes now, thanks!
It appears there are some significant differences between the current version default and your modified version. Couple of things stand out just off the top:
1. “/inc” has been changed to “/parts”
2. “ot_get_option” is no longer used
3. Not sure what this is at the start of this line; code you want displayed on the page?
Bijgewerkt op <?php if( get_the_modified_date() != get_the_date()) echo the_modified_date(); else the_date (); ?>
4. And also the bar at the start of this line; a bar between text?
| <?php _e('by','hueman'); ?> <?php the_author_posts_link(); ?></p>
My suggestion would be to figure out what your modifications are in your current child theme version, then apply those to a copy of the new version single.php. Maybe consider applying one change at a time so you know one works before adding another one.
Thanks bdbrown!
It works great now.
I fixed it by deleting the old single.php file in my child theme, and made the adjustments in the new child.php theme. I did this for all my .php files and the site runs a lot smoother now.
I will go through the changes/release notes now to check if there is anything else I need to adjust.
Thanks again for your help!
Have a wonderful day,
Mariska
You’re welcome; glad you got it fixed.