WordPress.org

Support

Support » Themes and Templates » ComicPress » Hide transcript in archive

Hide transcript in archive

Viewing 9 replies - 1 through 9 (of 9 total)
  • Theme Author Frumph

    @frumph

    Looks like you figured out a way?

    No, sorry, I didn’t. It’s the bit at the bottom just after the arrow that starts TranscriptCyn:. (If you really can’t see it, I wonder why I can…?!)
    There isn’t any formatting – which is my problem. If it had a class on the p, or a div around it or something, I could hide it with CSS. If you know where that bit is in the PHP that could help me and I could pop that in myself. Or you could do it for future generations 🙂 If you have a better way, I’m happy to hear it!

    Theme Author Frumph

    @frumph

    huh, yeah I can’t see it .. you’re talking the archive pages right? I don’t see anything passed the click here to read more link

    Theme Author Frumph

    @frumph

    try not being logged on and see if you see it on that page you linked ?

    Theme Author Frumph

    @frumph

    You could put this into your child themes functions.php (or main themes functions.php if you’re not using a child theme)

    global $wp_query;
    if (is_search() || is_archive()) remove_filter('the_content', 'ceo_insert_comic_transcript_into_posts');

    and see if that removes it completely from being seen on search and archive pages

    I created a new functions.php for my child theme, and just put that code in it (with <?php and ?> around it).

    Sigh, sorry, still there.
    I can definitely see it, logged in or not (fresh browser too).
    Hmf.

    Anyway, it’s not really important, just cosmetic. Thanks for trying anyway 😉

    Theme Author Frumph

    @frumph

    i’ll just make sure in the next release of comic easel that it doesn’t show on the search / archive pages

    Well now, that would be extremely nice of you. Thanks Frumph! 🙂

    Theme Author Frumph

    @frumph

    whoops, forgot about this, ..

    can you post it as an issue on github ? http://github.com/frumph/comic-easel/

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Hide transcript in archive’ is closed to new replies.
Skip to toolbar