Skip to content

Instantly share code, notes, and snippets.

@akther80
Last active November 16, 2023 07:04
Show Gist options
  • Select an option

  • Save akther80/7b0f537ee253cbe733459d7a5556bf65 to your computer and use it in GitHub Desktop.

Select an option

Save akther80/7b0f537ee253cbe733459d7a5556bf65 to your computer and use it in GitHub Desktop.
Vodi - Rearrange Tv Show Tab and Related item position
add_action( 'init', 'rearrange_tv_shows_content');
function rearrange_tv_shows_content() {
remove_action( 'masvideos_after_single_tv_show_summary', 'vodi_template_single_related_tv_shows_carousel', 20 );
remove_action( 'masvideos_after_single_tv_show_summary', 'masvideos_template_single_tv_show_tabs', 30 );
add_action( 'masvideos_after_single_tv_show_summary', 'vodi_template_single_related_tv_shows_carousel', 21 );
add_action( 'masvideos_after_single_tv_show_summary', 'masvideos_template_single_tv_show_tabs', 20 );
}
@akther80
Copy link
Copy Markdown
Author

Please add the above code in function.php in your child theme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment