Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Philip Arthur Moore

    (@philiparthurmoore)

    I suggest using the custom template tags outlined here as well as disabling automatic subtitles, which I’ve also outlined on that page. Let me know if that helps. Cheers.

    Thread Starter Kristof

    (@mkristof)

    Doing both doesn’t seem to work.

    If I activate plugin and add subtitle, it displays inline with H1 (as it’s default setup).

    Once I disabled automatic subtitles AND added template tag, it displayed just as I wanted. Problem is that subtitle box no longer available to add subtitles for other pages/posts. Looks like I’d have to add subtitles to every page and post, then go back and disable it with the function.

    Guessing I’m missing something because that seems way too complicated?

    Plugin Author Philip Arthur Moore

    (@philiparthurmoore)

    Problem is that subtitle box no longer available to add subtitles for other pages/posts.

    Don’t disable subtitles by removing post type support. In your case you should just always return false for subtitle_view_supported and then use the custom tags. But keep support for subtitles active for your post types. That’s a separate issue.

    Plugin Author Philip Arthur Moore

    (@philiparthurmoore)

    So, for example:

    function subtitle_views() {
        return false;
    }
    add_filter( 'subtitle_view_supported', 'subtitle_views' );

    Pretty sure that should do it.

    Thread Starter Kristof

    (@mkristof)

    Think that did it. And thanks for being proactive with the function code – was just about to ask.

    Plugin Author Philip Arthur Moore

    (@philiparthurmoore)

    Sweet. Leave the plugin a review if you like it and let me know if you run into any other problems! Cheers.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove H1’ is closed to new replies.