-
AuthorPosts
-
May 1, 2015 at 10:46 pm #263554
willpursellParticipantHello, How can I display the description you can input into the tag section onto my tag page.
Thanks!
May 2, 2015 at 12:18 am #263597
Rue NelModeratorHello There,
Thanks for writing in!
To display the description of your tags, please go to Posts > Tags and edit the tag and insert the Archive title and Archive subtitle. Please see the screenshot http://prntscr.com/70jgx4
Please let us know how it goes.
May 4, 2015 at 12:04 pm #265142
willpursellParticipantHello,
Thanks. Changing the title works great, I am looking to display the description section (the area right above where you have highlighted)Thanks
May 4, 2015 at 2:33 pm #265269
ZeshanMemberHi Will,
Thanks for writing in! To assist you with this, we’ll first need you to provide us with your URL as stated on the forum entrance page. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you.
In the meantime, you can only insert the title and subtitle to your category or tag page. The category/tag description field won’t display it on the site.
Thanks!
May 4, 2015 at 4:35 pm #265355
willpursellParticipantHello,
My URL is http://www.willpursell.com I am using the renew stack.The pages I am trying to add descriptions to are the archive pages (tags, categories and custom taxonomies) Example: http://www.willpursell.com/style/luxury/
thanks
May 4, 2015 at 9:18 pm #265484
DarshanaModeratorHi there,
Please refer to the following post on how to add category descriptions (https://theme.co/x/member/forums/topic/how-to-display-category-name-and-description-in-renew/#post-125646).
Hope that helps.
May 5, 2015 at 2:14 am #265607
willpursellParticipantGreat! worked with the descriptions. Is there a way to make it work with Tags and custom Taxonomies as well?
Thanks!
May 5, 2015 at 4:57 am #265715
Paul RModeratorHi,
To make it work on tags and custom taxonomies, edit your file x-child/framework/views/renew/_landmark-header.php.
In ~ line 68-77 code reads
<?php elseif ( is_tag() || x_is_portfolio_tag() || x_is_product_tag() ) : ?> <?php $meta = x_get_taxonomy_meta(); $title = ( $meta['archive-title'] != '' ) ? $meta['archive-title'] : __( 'Tag Archive', '__x__' ); ?> <h1 class="h-landmark"><span><?php echo $title ?></span></h1>Please change it to be
<?php elseif ( is_tag() || x_is_portfolio_tag() || x_is_product_tag() ) : ?> <?php $meta = x_get_taxonomy_meta(); $title = ( $meta['archive-title'] != '' ) ? $meta['archive-title'] : __( 'Tag Archive', '__x__' ); ?> <h1 class="h-landmark"><span><?php echo $title ?></span></h1> <p class="tag-desc"><?php echo tag_description(); ?></p>Hope that helps.
May 5, 2015 at 12:06 pm #266138
willpursellParticipantThanks so much, It works for tags (http://www.willpursell.com/tag/barn/) but custom taxonomies won’t work ( http://www.willpursell.com/venues/hycroft/ ). I have a description in both.
Thanks!!!
May 6, 2015 at 1:07 am #266732
Paul RModeratorHi,
Sorry, for custom taxonomy, you can add the code below before the code on ~line no. 68 that reads
<?php elseif ( is_category() || x_is_portfolio_category() || x_is_product_category() ) : ?><?php elseif ( is_tax()): ?> <?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="term-desc"><?php echo term_description(); ?></p>Hope that helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-263554 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
