WordPress.org

Support

Support » Plugins and Hacks » [Resolved] The word "by" appearing in post excerpts

[Resolved] The word "by" appearing in post excerpts

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Synved

    @synved

    I’m assuming your theme is doing something odd. Try and go in General preferences and change “full post” to “excerpt” or maybe see if the theme has settings to control this behaviour.

    I actually came here looking for a solution to this EXACT problem, but found it was because the “show credit” option was checked in the settings page. I think this was what OP was referring to, hope it helps.

    Plugin Author Synved

    @synved

    Note that this is not a complete solution. The word “by” should only appear when the icons also appear. If it’s there without the icons it means your theme is doing something unorthodox such as running the_content filter on excerpts which is something it shouldn’t do.

    Plugin Author Synved

    @synved

    Probably the theme is making a call to add_filter('the_excerpt', ...) searching for that and then making a call somewhere to remove_filter should possibly fix it, but might break some other things in the theme. It’s best if you ask the theme developers.

    Hi, I’ve got the same problem as amorgwrites: “Share This” appears in excerpts with no icons. See http://scubacat.com/ (half way down “Other Recent Posts”). I’ve been in touch with Solostream who make the Radiance theme I’m using and they say they are using the standard way of calling a post excerpt. Here is their code:

    /*-----------------------------------------------------------------------------------*/
    // Function to get the post excerpt
    /*-----------------------------------------------------------------------------------*/
    function solostream_excerpt() {
    	if ( get_option('solostream_post_content') == 'Excerpts' ) { ?>
    		<?php the_excerpt(); ?>
    		<p class="readmore"><a class="more-link" href="<?php the_permalink() ?>" rel="nofollow" title="<?php _e("Permanent Link to", "solostream"); ?> <?php the_title(); ?>"><?php _e("Continue Reading »", "solostream"); ?></a></p>
    	<?php } else {
    		the_content(__("Continue Reading »", "solostream"));
    	}
    }

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] The word "by" appearing in post excerpts’ is closed to new replies.