Expanding blog area on homepage

Ask Green Lantern Theme Settings & Configuration Related Issues Here

Moderator: forum_m

ajsmith227
Posts: 45
Joined: November 12th, 2014, 4:44 am

Re: Expanding blog area on homepage

Post by ajsmith227 » April 27th, 2017, 8:29 pm

Expanded. How can I use this section with HTML...it is just dumping text.

support_staff
Posts: 6788
Joined: February 26th, 2015, 1:40 pm

Re: Expanding blog area on homepage

Post by support_staff » April 28th, 2017, 5:06 pm

Hello ajsmith227,

if you want to display HTML code instead of dummy text then you can easily paste your HTML code in the content area in post editor.
or if you want to show some design or structure's HTML so, for that you have to paste your HTML code in post editor but before pasting it enable or 'switch' to text insted of 'visual'.

And you have to do one more change in child your theme. just copy the index-blog.php file into child theme directory from parent theme then open it and go to line no. 52.
and replace this code

Code: Select all

<?php echo get_the_excerpt(); ?>
with

Code: Select all

<?php the_content();  ?>
.

ajsmith227
Posts: 45
Joined: November 12th, 2014, 4:44 am

Re: Expanding blog area on homepage

Post by ajsmith227 » May 18th, 2017, 10:23 pm

Thank you!

support_staff
Posts: 6788
Joined: February 26th, 2015, 1:40 pm

Re: Expanding blog area on homepage

Post by support_staff » May 19th, 2017, 10:54 am

You're welcome.

Let us know for further query.

Post Reply

Return to “Theme Settings & Configuration”