Missing function in “content-page.php” – maxwell_post_image_page()
-
I found a missing implementation problem in the “template-parts” for content. In
content.php
,content-single.php
, andcontent-slider.php
, you use the maxwell_*() functions, which could be easily overwritten in the child theme.<?php maxwell_post_image_single(); ?> <?php maxwell_post_image_archives(); ?> <?php maxwell_slider_image(); ?>
Thats awesome, because I need to add the image just above “the_content” in order to float it right. It’s easy to implement this. Love it so far. 🙂
Problem: Unfortunately you use the WordPress stock function the_post_thumbnail() in “template-parts\content-page.php”
<?php the_post_thumbnail(); ?>
Because of this, I can’t move the image from the article header to the content area. 🙁
Suggesion:
Please implement a maxwell_*() function to load the thumbnail in “
template-parts/content-page.php
” to.<?php maxwell_post_image_page(); ?>
Cheers,
Andreas
- The topic ‘Missing function in “content-page.php” – maxwell_post_image_page()’ is closed to new replies.