WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Disable comments and more on search results (4 posts)

  1. Arka3L
    Member
    Posted 2 years ago #

    Hey all,

    I have an interesting dilemma that i haven't found a solution for. I'd like to setup the search results page to only display the name of the page/post with the excerpt and not allow the viewer to see who it was posted by, the date and also to remove any add comment links. This is for professional use, not commenting/blogs.

    Any help would be greatly received!

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    make a search.php (copy of index.php - depending on your theme) and remove all what you don't want.
    http://codex.wordpress.org/Template_Hierarchy

  3. Arka3L
    Member
    Posted 2 years ago #

    Actually all those properties are saved in loop.php, but thanks for the assist.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    search.php doesn't have to use loop.php.

Topic Closed

This topic has been closed to new replies.

About this Topic