Tagged: x
-
AuthorPosts
-
November 30, 2016 at 6:49 pm #1276789
KiljanParticipantWordPress 4.6.1
X Version: 4.6.4
Cornerstone 1.3.3Hi.
I am setting up a portfolio using the video portfolio item.
but in the tag archive, I don’t see the featured videos only featured images.Is there something I could do to fix that?
Here is a portfolio tag archive page. LINK
Thanks
November 30, 2016 at 7:48 pm #1276865
Rue NelModeratorHello There,
Thanks for writing in! To assist you better with this issue, would you mind providing us the url of your site with login credentials so we can take a closer look and fix this issue? 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 with everything.
To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thank you.
December 1, 2016 at 6:37 pm #1278089
KiljanParticipantThis reply has been marked as private.December 1, 2016 at 10:38 pm #1278386
Rue NelModeratorHello There,
Thanks for providing the information. The videos will only display in your portfolio page. It will just display the featured image (if there are any) and the excerpt if you are going to view the items in portfolio category or portfolio taxonomy archive pages.
To display the video in the category or portfolio archive pages, please do the following:
1] Because what you are trying to accomplish requires a template customization, we would like to suggest that you use a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.2] After the child theme is set up, please add the following code in your child theme’s functions.php file
// Add Featured portfolio in portfolio arcive pages // ============================================================================= function add_featured_portfolio(){ ?> <?php if ( x_is_portfolio_category() || x_is_portfolio_tag() ) : ?> <div class="entry-featured mao ni"> <?php x_featured_portfolio( 'cropped' ); ?> </div> <?php endif; ?> <?php } add_action('x_after_the_excerpt_begin', 'add_featured_portfolio'); // =============================================================================3] And please edit each of your portfolio item and make sure that the featured content is set to “Media”. You can find this setting in the Portfolio Item Settings. Please see the screenshot below:

Hope this helps. Please let us know how it goes.
December 8, 2016 at 9:29 am #1286155
KiljanParticipantThanks, it worked
December 8, 2016 at 9:41 am #1286171
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1276789 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
