Hi Bert,
You can disable subtitles in whatever views you like. You can read the FAQ on how to do that here.
Thanks.
Thanks, but where do i need to paste that script? In which file?
And how do I change is_archive in frontpage?
You will need to put that in your theme’s functions.php file or similar. Just change is_archive to is_front_page and you should be good to go.
Ok, I did like you told but now they also dissapeared from single posts? I used this in functions.php
/**
* Disable Subtitles in frontpage views.
*
* @uses function is_archive
* @uses function in_the_loop
*/
function subtitles_mod_supported_views() {
// Ditch subtitles in archives.
if ( is_front_page() ) {
return false;
}
// Default in The Loop behavior from Subtitles.
if ( in_the_loop() ) {
return true;
}
} // end function subtitles_mod_supported_views
add_filter( ‘subtitle_view_supported’, ‘subtitles_mod_supported_views’ );
If you give me specific links I could take a look. All that does is turn the plugin off on your home page entirely. It doesn’t touch your single posts at all. Thanks.
I see subtitles on your single post. This is what you want right?
Yes I want that, but I would like to know if they can be disabled on front page?
No doesnt work…well, the owner is the site is happy with subtitles at frontpage, so i leave it for now, but if you have any suggestions, please let me know?
Best regards, Bert
Honestly those are the only two functions that you should need. Any additional digging into this would require some time. If you suspect that this is a bug in the plugin then you can file a ticket in GitHub; otherwise you might want to contact the theme makers to see if there’s a theme conflict happening. Thanks.