Full-Width pages does not display anything - no content, no images..nothing
Topics related to RedWaves lite theme goes here.

1 post   •   Page 1 of 1
User avatar
Asmi Khalil
Site Admin
Rank
Posts: 618
Joined: Fri Jun 26, 2015 7:13 am
Location: Tunisia

Full-Width pages does not display anything - no content, no images..nothing

by Asmi Khalil » Fri Aug 21, 2015 11:51 pm

This bug was reported by @cheetalope at wordpress.org: https://wordpress.org/support/topic/theme-update-issues
Sinse version 2.0.0, I have moved the template-parts files to /template-parts folder and forgot to update the full-width.php file So everyone who already updated to version 2.0.0 or newer please apply this fix or all your Full-Width pages will not show any content... This is Critical if you are using the Full-Width template. Most people will set the Contact, About & Privacy pages to Full-Width so please check them first.
To fix the issue, you only need to open full-width.php file with a code editor and replace this line of code (line 16) from:

<?php get_template_part( 'content', 'page' ); ?>


To:

<?php get_template_part( 'template-parts/content', 'page' ); ?>


and Save. That's it!
I think there is a world market for maybe five computers. - IBM chairman Thomas Watson, 1943


Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

It is currently Sat Dec 16, 2017 6:49 pm