WordPress.org

Support

Support » How-To and Troubleshooting » Template help needed

Template help needed

  • 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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Josh

    @josh401

    Moderator and Editor Customizer

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

    .SL .featured {
        display: none;
    }

    Where is the “custom CSS” section? Where do I find that? I’m a newbie… all help is appreciated.

    Josh

    @josh401

    Moderator and Editor Customizer

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Template help needed’ is closed to new replies.
Skip to toolbar