Forum Replies Created
-
Author
-
exenewyorker
ParticipantI really need this option. Is there any way you can instruct us how to modify the code for blog archive or any custom post types that use archive.php?
exenewyorker
ParticipantTried the code above and it completely removed the excerpt in the archive-porfolio view. Also tried the following in the kleo-child functions.php to change the excerpt to word limit instead of characters and nothing changed:
COPY CODEif ( ! function_exists( 'kleo_excerpt' ) ) { function kleo_excerpt( $limit = 15 ) { if ( $chars ) { $excerpt = explode( ' ', get_the_excerpt(), $limit ); if ( count( $excerpt ) >= $limit ) { array_pop( $excerpt ); $excerpt = implode( " ", $excerpt ) . '...'; } else { $excerpt = implode( " ", $excerpt ) . ''; } $excerpt = preg_replace( '<code>\[[^\]]*\]</code>', '', $excerpt ); return '<p>' . $excerpt . '</p>'; } else { $excerpt = get_the_excerpt(); return '<p>'. substr( $excerpt, 0, $limit ) . ( strlen( $excerpt ) > $limit ? '...' : '' ) . '</p>'; } } }
exenewyorker
ParticipantPerfect – edited the archive-portfolio.php to kleo_switch_layout( ‘right’ ) and didn’t loose the categories filter menu.
Thanks!
exenewyorker
ParticipantThank you, had no idea that function existed! Also, my mistake, I didn’t realize that there were 2 xml files to import…
exenewyorker
ParticipantMy bad, I didn’t realize there were 2 xml files to upload. Please accept my apology!
exenewyorker
ParticipantAgree that http://seventhqueen.com/ needs to supply a specific and “detailed” doc focused only on “Theme options” and “Shortcodes”.
I was expecting to receive the demo content for all the home page examples, not just “Home Default” and “Home Simple”!
exenewyorker
ParticipantI purchased the theme and I expected to receive demos of all the home pages included on http://seventhqueen.com/themedemo/?product=kleo, but I only received Home Default and Home Simple. Where are the demo setups for Community, Black Friday, WooCommerce, etc? How can I get access to the other home page setups/layouts so I don’t have to spend hours trying to figure out WPBakery Visual Composer and K elements?
-
AuthorPosts