WPIntell

Source evidence

Issue with Episode Widget Tabs Not Activating

MAS Elementor · support · 2025-02-12T14:04:00+00:00

complaintsentiment
mediumseverity
0.92relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 26 rows with source links

15.4% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

22 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
MihanTheme unresolved
Hello, I’m experiencing an issue with the episode tabs in the Mas Video plugin. When I place the Mas Episodes widget inside the episode section, the tabs do not activate or function properly. However, when I use the Mas TV-Show Episodes widget, the tabs work correctly, but this widget only functions within the TV-Show section and does not work inside the episode section. Is there a way to enable the tabs when using the Mas Episodes widget inside the episode section, or make the Mas TV-Show Episodes widget work within episodes? Looking forward to your guidance. Best regards, I replaced the following code in line 304 of the file: modules/mas-tv-shows-episodes/widget/mas-tv-shows-episodes.php $tv_shows = masvideos_get_tv_show( get_the_ID() ); with this: if ( is_singular( 'episode' ) ) { $episode = masvideos_get_episode( get_the_ID() ); if ( ! empty( $episode ) ) { $tv_show_id = $episode->get_tv_show_id(); $tv_shows = masvideos_get_tv_show( $tv_show_id ); } else { $tv_shows = false; } } else { $tv_shows = masvideos_get_tv_show( get_the_ID() ); } This temporarily resolved the issue. Please include these changes in the next update. This reply was modified 1 year, 3 months ago by MihanTheme . This reply was modified 1 year, 3 months ago by MihanTheme . Hi @mihantheme , By default tabs are only loaded in the Single TV show page and not the Episode page. You can proceed with your code. I contact our developer team regarding this tab feature to add in a single episode page or not. Thanks, Abbas

Comments

2 shown
MihanTheme 2025-02-12T15:49:00+00:00

I replaced the following code in line 304 of the file: modules/mas-tv-shows-episodes/widget/mas-tv-shows-episodes.php $tv_shows = masvideos_get_tv_show( get_the_ID() ); with this: if ( is_singular( 'episode' ) ) { $episode = masvideos_get_episode( get_the_ID() ); if ( ! empty( $episode ) ) { $tv_show_id = $episode->get_tv_show_id(); $tv_shows = masvideos_get_tv_show( $tv_show_id ); } else { $tv_shows = false; } } else { $tv_shows = masvideos_get_tv_show( get_the_ID() ); } This temporarily resolved the issue. Please include these changes in the next update. This reply was modified 1 year, 3 months ago by MihanTheme . This reply was modified 1 year, 3 months ago by MihanTheme .

jmabbas 2025-02-14T12:49:00+00:00

Hi @mihantheme , By default tabs are only loaded in the Single TV show page and not the Episode page. You can proceed with your code. I contact our developer team regarding this tab feature to add in a single episode page or not. Thanks, Abbas