Tagged: x
-
AuthorPosts
-
April 12, 2016 at 11:53 am #878619
Fred CParticipantHi,
i want the desctiption of the blog page to work. I am using the Renew stack.
The website is http://www.wellcoll.nl
Can you guide me in the right direction?
April 13, 2016 at 12:44 am #879423
DarshanaModeratorHi there,
Thanks for writing in!
Before doing any customizations, you will need to setup a Child Theme first. This allows you to keep your own custom changes separately while updating the main X theme.
Follow the steps below.
#1. Copy the file: x/framework/views/renew/_landmark-header.php it into your child theme: x-child/framework/views/renew/_landmark-header.php
#2. Open the the file that you have copied into the child theme using a text editor and locate the following section:
<?php elseif ( is_category() || x_is_portfolio_category() || x_is_product_category() ) : ?> <?php $meta = x_get_taxonomy_meta(); $title = ( $meta['archive-title'] != '' ) ? $meta['archive-title'] : __( 'Category Archive', '__x__' ); ?> <h1 class="h-landmark"><span><?php echo $title; ?></span></h1>#3. Edit the above section as follows:
<?php elseif ( is_category() || x_is_portfolio_category() || x_is_product_category() ) : ?> <?php $meta = x_get_taxonomy_meta(); $title = ( $meta['archive-title'] != '' ) ? $meta['archive-title'] : __( 'Category Archive', '__x__' ); ?> <h1 class="h-landmark"><span><?php echo $title; ?></span></h1> <p class="p-landmark-desc"> <?php echo category_description(); ?> </p>4) Finally you can style the p-landmark-desc class by adding the CSS rules into your child theme’s style.css file or via Customizer, Custom > CSS section using the menu Appearance -> Customize.
.p-landmark-desc { font-size: 14px; color: #336699; }After setting up your child theme make sure to check our Customization Best Practices Guide.
Hope that helps.
April 16, 2016 at 9:54 am #885780
Fred CParticipantHello,
I followed your instructions. I used already a child theme. I copied the landmark header php in the child section and edited it.
Somehow it does not work. Can you check if I did something wrong?
Thanks!
April 17, 2016 at 2:52 am #886535
Rue NelModeratorHello There,
Thanks for the updates!
Placed the file
_landmark-header.phpin your child theme’s folderwp-content/themes/x-child/framework/views/renew/.Please let us know how it goes.
April 17, 2016 at 6:40 am #886687
Fred CParticipantDear Rue,
now it works. I run into another small problem.
https://www.wellcoll.nl/category/autoaanpassingen/ is a link the blog category “Autoaanpassingen” . I want to achieve that the full text of each post is shown here.
Any suggestions how to do that?
April 17, 2016 at 11:53 am #886936
Fred CParticipantHi there,
what I found out is that cornerstone based blogpages text is nog shown. Is there a wasy to bypass this?
April 17, 2016 at 7:39 pm #887281
RadModeratorHi Fred,
Post created with cornerstone contains shortcodes. And by default, WordPress will remove all HTML, Scripts, and shortcodes to generate plain text excerpt.
Because of that limitation, WordPress has its own built-in feature for manual excerpt. You can do that by editing your post and clicking Screen Options on the very top of the page. Toggle Excerpt on, then scroll down until you find the excerpt section and manually add you text excerpt.
Hope this helps.
May 18, 2016 at 3:41 am #996977
knowmatesParticipantThis reply has been marked as private.May 18, 2016 at 4:25 am #997022
ChristianModeratorHey there,
Regretfully this isn’t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this.
Thanks for understanding. Take care!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-878619 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
