Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author kasal

    (@kasal)

    You can avoid this by locating code for “read more” in your theme files and disable Hupso hare buttons there. Put this PHP code at the start of “read more” function:
    <?php $HUPSO_SHOW = false; ?>

    Thread Starter stevenmanuel

    (@stevenmanuel)

    having trouble locating the “read more” code. any ideas where it might be? I know it’s not your theme, but I’m betting you have more experience at this than me. 😉

    Plugin Author kasal

    (@kasal)

    I would have to look at the code. I suggest you contact theme author and ask him where it is.

    Thread Starter stevenmanuel

    (@stevenmanuel)

    Sorry, I’m not an expert at this. Here is what one of my pages looks like:

    <?php /* if the post has a WP 2.9+ Thumbnail */
    if( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) { ?>
        <div class="post-thumb">
    
            <?php if( !is_singular() ) { ?>
    
        	    <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('blog-large'); ?></a>
    
        	<?php } else {
    
        	    the_post_thumbnail('blog-large');
    
        	} ?>
    
        </div>
    <?php } ?>
    
    <!-- BEGIN .entry-content -->
    <div class="entry-content">
    	<?php
            the_content( __ ('', 'zilla') );
            wp_link_pages(array('before' => '<p><strong>'.__('Pages:', 'framework').'</strong> ', 'after' => '</p>', 'next_or_number' => 'number'));
        ?>
    <!-- END .entry-content -->
    </div>

    It used to say “Read More…” in the ” right before ‘zilla’. I’ve tried placing the code in several places around this area. Am I in the wrong place?

    – Steven

    Plugin Author kasal

    (@kasal)

    Try to place this code before this line:
    the_content( __ (”, ‘zilla’) ):

    global $HUPSO_SHOW;
    $HUPSO_SHOW = false;

    Does that work?

    Thread Starter stevenmanuel

    (@stevenmanuel)

    That got rid of everything on the homepage, yes! But it also deleted the icons in the sidebar of my posts. The widget is still there, but the icons are just gone.

    Sorry this has been such trouble.

    – Steven

    http://www.stvnmnl.com

    Thread Starter stevenmanuel

    (@stevenmanuel)

    I fixed it by adding

    `global $HUPSO_SHOW;
    $HUPSO_SHOW = true;’

    in sidebar.php.

    All good. Thank you so much! And thanks for adding custom icons!

    – Steven

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Share Buttons showing up outside Sidebar’ is closed to new replies.