WordPress.org

Forums

[resolved] "by by" shown in description (9 posts)

  1. sleighr
    Member
    Posted 1 year ago #

    I'm running the Hueman theme and "by by" shows up after the description if it doesn't take up all of the words used in the excerpt. Can someone tell me how to fix this? Thanks.

    http://dumbledrane.net

  2. Evan Herman
    Member
    Posted 1 year ago #

    You need to locate the correct php file that is used to display the quote at the top. It may be inside of index.php, page.php or some other custom file.

    Youll need to do a search for "by by" and remove this line, so its not displayed.

    I'm not familiar with Hueman so I can't give more specific instruction.

  3. sleighr
    Member
    Posted 1 year ago #

    <?php if (ot_get_option('excerpt-length') != '0'): ?>
    <div class="entry excerpt">
    <?php the_excerpt(); ?>
    </div><!--/.entry-->
    <?php endif; ?>

    That is all I could find relating to the excerpt and I can't find "by by" anywhere in the php

  4. Evan Herman
    Member
    Posted 1 year ago #

    What file is that in? How are you creating these Quotes? A custom post type?

  5. sleighr
    Member
    Posted 1 year ago #

    It is in content.php. It does not only effect the quotes, it effects any type of post that does not have enough content to fill up the excerpt. http://dumbledrane.net as you can see.

  6. Evan Herman
    Member
    Posted 1 year ago #

    hmm that is very strange. Try taking a look in functions.php. Maybe there is a function detecting length, or using str_replace or something.

  7. sleighr
    Member
    Posted 1 year ago #

    Nope, that isn't doing it. Hmmm. I'll keep playing with the code and see if I can figure it out. Thanks for your help though (:

  8. sleighr
    Member
    Posted 1 year ago #

    I wouldn't say I fixed it but I found a workaround. I replaced the_excerpt with the_content and then just placed the more tag in my posts to dictate my own excerpt.

  9. sleighr
    Member
    Posted 1 year ago #

    resolved.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.