HomePage › Forums › Themes Support › Shopic – Multipurpose WooCommerce WordPress Theme › Hello my blog page doesn’t show read more option and doesn’t have paging
- This topic has 4 replies, 3 voices, and was last updated 3 years, 4 months ago by Pavothemes.
-
AuthorPosts
-
November 6, 2020 at 2:12 pm #1261kennydaiSupport Expired
please check my blog page
see my site information
It doesn’t show paging and read more.
November 6, 2020 at 2:58 pm #1265Hi there,
Please go to edit post, add blog More for your post: https://prnt.sc/vehyt2
November 6, 2020 at 3:07 pm #1266kennydaiSupport ExpiredHi you misunderstand my meaning. I would like to have this blog page style.
see this link
https://demo2.pavothemes.com/shopic/blog/And my blog page doesn’t have paging.see the screenshot.
https://prntscr.com/vei4pkMy blog page don’t have paging.
November 6, 2020 at 3:15 pm #12701. Setup Readmore: please follow my guide at #1265
2. Paging: Go to setting -> Reading and setup post per page: https://prnt.sc/vei8jw
In Blog post, totall post must more than post per page to show paging.If you need to help, please send admin for me, I will check and help you.
November 6, 2020 at 3:40 pm #1271kennydaiSupport ExpiredThank you.
do you have any template to set up this page automatically just like https://demo2.pavothemes.com/shopic/blog/because i don’t want to set up Readmore for each post.
November 6, 2020 at 4:06 pm #1273Hi there,
Please add code in shopic-child/functions.php :function shopic_post_content() { ?> <div class="entry-content"> <?php do_action('shopic_post_content_before'); if (is_search()) { the_excerpt(); } else { if(is_single()){ the_content(); }else{ global $post; $excerpt = strip_shortcodes( $post->post_content ); $excerpt = wp_trim_words( $excerpt, 50, '...' ); echo $excerpt; echo '<p class="more-link-wrap"><a class="more-link" href="'.esc_url(get_the_permalink()).'">'.esc_html__('Read More').'<span>+</span></a></p>'; } } do_action('shopic_post_content_after'); wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html__('Pages:', 'shopic'), 'after' => '</div>', ) ); ?> </div> <?php }
Hope this help!
-
AuthorPosts
You must be logged in to reply to this topic.