Support for Envato Buyers › Forums › OldCar › Gallery Feature Image
- This topic has 9 replies, 3 voices, and was last updated 9 years, 8 months ago by
FocuxTheme Support.
-
AuthorPosts
-
-
May 5, 2014 at 7:07 am #4829
Katef0313
MemberFor some reason, when I set a feature image, and also include it in the gallery, it doesn’t appear in the gallery. What am I missing?
-
May 5, 2014 at 1:55 pm #4833
FocuxTheme Support
KeymasterHi
Yes, the featured image will not show up by default, because sometimes, user only need a small featured image on the homepage, so you have to upload the picture twice, then it will show up in the gallery slider.
Thanks!
-
September 15, 2015 at 2:16 am #8971
insidesouthwest
MemberThis reply has been marked as private.-
September 15, 2015 at 4:58 pm #8981
FocuxTheme Support
KeymasterHi
You can let me know your WP login details, I will help you change the code in single-portfolio.php file
Thanks
-
-
September 15, 2015 at 11:08 pm #8988
insidesouthwest
MemberThis reply has been marked as private. -
September 16, 2015 at 3:46 pm #8992
FocuxTheme Support
KeymasterHi
I found you’ve created a child theme, that’s great. I have changed single-portfolio.php file, so you just copy it from parent theme folder to your child theme folder.
Thanks
-
September 17, 2015 at 1:04 am #9000
insidesouthwest
MemberThis reply has been marked as private. -
September 17, 2015 at 8:40 pm #9006
FocuxTheme Support
KeymasterMaybe I understood you incorrectly, I was thought that you said the portfolio gallery. Now I changed theme-functions.php file, you can backup it.
-
February 8, 2016 at 9:24 pm #9649
insidesouthwest
MemberHello, what was the change that you made here? The theme was updated and erased the changes you made. If you just provide the code I can copy/paste it for future reference. Thank you.
-
February 9, 2016 at 4:34 pm #9653
FocuxTheme Support
KeymasterLook at the following codes
<?php if($portfolio_type=="Image"){ if($portfolio_slider==''){ if ( $images = get_children(array( 'post_parent' => get_the_ID(), 'post_type' => 'attachment', 'numberposts' => 50, 'order' => 'ASC', 'orderby' => 'menu_order', 'exclude' => get_post_thumbnail_id(), 'post_mime_type' => 'image',))) { ?>I just comment out or delete ‘exclude’ => get_post_thumbnail_id(), as
<?php if($portfolio_type=="Image"){ if($portfolio_slider==''){ if ( $images = get_children(array( 'post_parent' => get_the_ID(), 'post_type' => 'attachment', 'numberposts' => 50, 'order' => 'ASC', 'orderby' => 'menu_order', //'exclude' => get_post_thumbnail_id(), 'post_mime_type' => 'image',))) { ?>
-
-
AuthorPosts
- You must be logged in to reply to this topic.
