So there is a option Auto Render Post Excerpt in Standard or Classic layout that I can uncheck and make my own custom excerpt with the read more tag, how do I enable the same option in the 1st standard then grid 2 columns, there is no option and it escapes the content so blockquotes don't work, there is a easy way of doing it or where is the code for removing the escape for this option?
it doesn't really work because the post excerpt is rendered automatically when using 1st standard then grid 2 columns layout and the content is escaped, so html tags don't work.
Let's try to imagine - If you make the "Read More" tag on the 2nd+ posts and it show what do you want. Do you think it can display good like on your 1st post ( because It has only near 1/2 width compare to your 1st post. )
That's why the "Read More" tag on the editor just apply for Standard, Classic, 1st Post on 1st Standard then xx or 1st Post on 1st Classic Then xx Layouts as I said on my previous comment
well sometimes isn't about looking good, but about what the client needs, I can't really do something about it. so there is no easy way of configuring to work the same?
So there is a option Auto Render Post Excerpt in Standard or Classic layout that I can uncheck and make my own custom excerpt with the read more tag, how do I enable the same option in the 1st standard then grid 2 columns, there is no option and it escapes the content so blockquotes don't work, there is a easy way of doing it or where is the code for removing the escape for this option?
Hi,
You can try to use "Read More" tag on your editor to create a continue reading button - check this image
This "Read More" tag just apply for Standard, Classic, 1st Post on 1st Standard then xx or 1st Post on 1st Classic Then xx Layouts
Best Regards,
PenciDesign
it doesn't really work because the post excerpt is rendered automatically when using 1st standard then grid 2 columns layout and the content is escaped, so html tags don't work.
Hi,
Let's go to Customize > Standard & Classic Layout Options > and un-check on "Auto Render Post Excerpt"
Best Regards,
PenciDesign
It is already unchecked, look the attachment to see what I'm saying about auto render.
Hi,
Let's try to imagine - If you make the "Read More" tag on the 2nd+ posts and it show what do you want. Do you think it can display good like on your 1st post ( because It has only near 1/2 width compare to your 1st post. )
That's why the "Read More" tag on the editor just apply for Standard, Classic, 1st Post on 1st Standard then xx or 1st Post on 1st Classic Then xx Layouts as I said on my previous comment
Best Regards,
PenciDesign
well sometimes isn't about looking good, but about what the client needs, I can't really do something about it. so there is no easy way of configuring to work the same?
Hi,
If you still want to do that, you need to edit the file in this theme.
Please try replace this selected code to:
After that, change your layout back to "1st Standard then Grid"
Best Regards,
PenciDesign
Ty for the reply, but I doesn't see to work, it breaks most of the site.
Hi,
Sorry because the code I sent was replace by the forum, that make it wrong. Please try again with this code:
<?php $block_style2 = get_theme_mod('penci_blockquote_style') ? get_theme_mod('penci_blockquote_style') : 'style-1'; ?>
<div class="item-content post-entry standard-post-entry <?php echo 'blockquote-'. $block_style2; ?>">
<?php if( get_theme_mod( 'penci_standard_auto_excerpt' ) ) { ?>
<?php the_excerpt(); ?>
<div class="penci-more-link"><a href="<?php the_permalink(); ?>" class="more-link"><?php echo penci_get_setting( 'penci_trans_continue_reading' ); ?></a></div>
<?php } else { ?>
<?php the_content( penci_get_setting( 'penci_trans_continue_reading' ) ); ?>
<?php wp_link_pages(); ?>
<?php } ?>
</div>
Best Regards,
PenciDesign
Thank you, it worked great.