• Hi All,
    I have found numerous topics on how to remove the posted by admin and date from posts, but i can’t find how to remove them from the search function of my site. I have used the below:

    .post .entry-utility, .post .entry-meta {
    	display: none;
    }

    This removes both the date and the posted by admin text from the posts page but not when i conduct a search from my search feature. How can i remove this from the search feature. Also how can i keep the date but no posted by admin?

    Many Thanks,

    Zectron1

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hiding content does not remove it from search. Hiding content simply allows such to not be displayed in a browser. Create a Page Template for this Page and use a Child Theme.

    Thread Starter Zectron1

    (@zectron1)

    Hi Pioneer Valley Web Design,
    I have a Child theme in place already. I need to find a way to remove it from search results from my page’s search feature not from Google or another search engine.

    Thanks,

    Zectron1

    [ No bumping please. ]

    Please see if your (Parent) theme has these two files:
    search.php
    searchform.php
    These are what WordPress uses by default for the search queries. You can add them to your Child Theme and edit them. Try asking this to the theme provider, or if using a theme from here, please post both a link to the site and which theme is in use.

    See: get_search_query
    and: Custom Queries.

    Thread Starter Zectron1

    (@zectron1)

    Thanks for your reply. I am using the 2010 theme. Site is middleway.com.au

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to remove posted by admin from the site search’ is closed to new replies.