WordPress.org

Ready to get started?Download WordPress

Forums

Template help needed (4 posts)

  1. mixedtapegurl
    Member
    Posted 2 years ago #

    http://www.2hourparty.com

    How do I get rid of the "featured article" bit at the top that's running in to my sidebar?

    Additionally, I entered code to disable pingbacks within my own site, and it didn't seem to work. This is the code I used:

    function disable_internal_pingbacks( &$links ) {
    $home = get_option( 'home' );
    foreach ( $links as $l => $link )
    if ( 0 === strpos( $link, $home ) )
    unset($links[$l]);
    }

    add_action( 'pre_ping', 'disable_internal_pingbacks' );

    Any other suggestion? Did I enter it in the wrong section? It's in the functions.php section. What did I do wrong?

  2. If you want to get rid of the entire slider, enter this into your custom CSS:

    .SL .featured {
        display: none;
    }
  3. mixedtapegurl
    Member
    Posted 2 years ago #

    Where is the "custom CSS" section? Where do I find that? I'm a newbie... all help is appreciated.

  4. In your editor, go to your theme, and select the stylesheet style.css file. Just add it to the bottom of the file on a new line.

Topic Closed

This topic has been closed to new replies.

About this Topic