Support ForumVIdeo Lightbox in Portfolio thumbnails (feature image) – Support Forum https://support.ishyoboy.com/forums/topic/video-lightbox-in-portfolio-thumbnails-feature-image/feed Wed, 05 Feb 2025 06:56:20 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/video-lightbox-in-portfolio-thumbnails-feature-image/#post-6519 <![CDATA[VIdeo Lightbox in Portfolio thumbnails (feature image)]]> https://support.ishyoboy.com/forums/topic/video-lightbox-in-portfolio-thumbnails-feature-image/#post-6519 Wed, 04 Feb 2015 05:05:24 +0000 zencroww Hi there,
https://karasudesigns.com/wp/3S2/

I would like to have video lightbox (vimeo or local video) effect instead of the current image lightbox when you click on the Portfolio Thumbnails Items (ie the Feature image on Portfolio post).

I’ve looked up your forum:

Is there a pop-up lightbox in the theme to open video popups?

Not sure how to implement that to replace the Feature Image..
Please help?

]]>
https://support.ishyoboy.com/forums/topic/video-lightbox-in-portfolio-thumbnails-feature-image/#post-6525 <![CDATA[Reply To: VIdeo Lightbox in Portfolio thumbnails (feature image)]]> https://support.ishyoboy.com/forums/topic/video-lightbox-in-portfolio-thumbnails-feature-image/#post-6525 Wed, 04 Feb 2015 06:44:53 +0000 IshYoBoy Hey,

To manage this you will have to override the “ish_portolio.php” analogically to this:

Override shortcode template in a child theme

Now find the place where the links are output and update them accordingly. The only “hard thing” is that you will have to find a way from where to get the video link. It needs to be saved in the setting of the Portfolio Item. Maybe use the Custom Fields.

https://codex.wordpress.org/Custom_Fields

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/video-lightbox-in-portfolio-thumbnails-feature-image/#post-6538 <![CDATA[Reply To: VIdeo Lightbox in Portfolio thumbnails (feature image)]]> https://support.ishyoboy.com/forums/topic/video-lightbox-in-portfolio-thumbnails-feature-image/#post-6538 Wed, 04 Feb 2015 10:19:18 +0000 zencroww Hey IshYoBoy,
Thanks for getting back to me.
Where is “ish_portolio.php” located? I’ve looked through my ftp and the WordPress Editor and cannot find it.

Then I change:
// LOOK FOR TEMPLATE IN THEME
$template = locate_template( $sc_filename );

to

// LOOK FOR TEMPLATE IN THEME
$template = locate_template( $this->theme_locate_path . ‘/’ . $this->SC_TEMPLATES_DIR . $sc_filename );

I’ve got Advanced Custom Fields installed, not sure how to add a field for it to take the video url (eg vimeo or youtube) for the video lightbox effect.

Please help? Cheers

]]>
https://support.ishyoboy.com/forums/topic/video-lightbox-in-portfolio-thumbnails-feature-image/#post-6552 <![CDATA[Reply To: VIdeo Lightbox in Portfolio thumbnails (feature image)]]> https://support.ishyoboy.com/forums/topic/video-lightbox-in-portfolio-thumbnails-feature-image/#post-6552 Thu, 05 Feb 2015 08:41:00 +0000 IshYoBoy Hey,

The faetured image should not be replaced as the video cannot be used inside the porrtfolio grid. So there you need to have the image. However you can set the portfolio to open a lightbox containing your video.

Regarding the question where the “ish_portfolio.php” is, please read again our reply:

Override shortcode template in a child theme

The answer is:
\ishyoboy-no8-assets\ishyoboy-shortcodes\assets\backend\vc_extend\shortcodes_templates\ish_portfolio.php

Changing of the $template variable is not necessary anymore as it is part of the latest no8 version.

Cannot really say how to do it with ACF Plugin. Please check the documentation of the plugin. With the standard Custom fields it is something like:

<?php echo get_post_meta($post->ID, 'key', true); ?>

The example is based on this article:
https://codex.wordpress.org/Custom_Fields

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/video-lightbox-in-portfolio-thumbnails-feature-image/#post-8574 <![CDATA[Reply To: VIdeo Lightbox in Portfolio thumbnails (feature image)]]> https://support.ishyoboy.com/forums/topic/video-lightbox-in-portfolio-thumbnails-feature-image/#post-8574 Wed, 03 Jun 2015 11:45:59 +0000 marcosandras Hi,
What is the directory structure in the /themes/no8-child directory to put the ish_portfolio.php file?

Also I cannot find in the portfolio items the custom field. Do I have to add it in the ish_portfolio.php file?

EDIT: I’ve found the answer for my last question:
/plugins/ishyoboy-no8-assets/ishyoboy-cpt/assets/backend/cpt/portfolio-post.php
Modify this:
$supports = apply_filters( ‘ish_cpt_plugin_portfolio_post_type_supports’, array(‘title’, ‘editor’, ‘thumbnail’, ‘comments’ ) );

to this:
$supports = apply_filters( ‘ish_cpt_plugin_portfolio_post_type_supports’, array(‘title’, ‘editor’, ‘thumbnail’, ‘comments’, ‘custom-fields’ ) );

Thanks

]]>
https://support.ishyoboy.com/forums/topic/video-lightbox-in-portfolio-thumbnails-feature-image/#post-8583 <![CDATA[Reply To: VIdeo Lightbox in Portfolio thumbnails (feature image)]]> https://support.ishyoboy.com/forums/topic/video-lightbox-in-portfolio-thumbnails-feature-image/#post-8583 Thu, 04 Jun 2015 08:21:44 +0000 IshYoBoy Hey,

Regarding the “Custom Fields” there is a safer “child theme” solution:

Enabling Custom Fields on Portfolio Items

Here is an answer how to override any shortcode template:

Override shortcode template in a child theme

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/video-lightbox-in-portfolio-thumbnails-feature-image/#post-8591 <![CDATA[Reply To: VIdeo Lightbox in Portfolio thumbnails (feature image)]]> https://support.ishyoboy.com/forums/topic/video-lightbox-in-portfolio-thumbnails-feature-image/#post-8591 Thu, 04 Jun 2015 13:37:48 +0000 marcosandras OK thanks I got it.

]]>
https://support.ishyoboy.com/forums/topic/video-lightbox-in-portfolio-thumbnails-feature-image/#post-8605 <![CDATA[Reply To: VIdeo Lightbox in Portfolio thumbnails (feature image)]]> https://support.ishyoboy.com/forums/topic/video-lightbox-in-portfolio-thumbnails-feature-image/#post-8605 Fri, 05 Jun 2015 06:55:12 +0000 IshYoBoy Resolved

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>