Skip to content
View gioacchinopoletto's full-sized avatar
:octocat:
Wait for a new life!
:octocat:
Wait for a new life!

Organizations

@E-Tank-Limited

Block or report gioacchinopoletto

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Wordpress, excude some pages from se... Wordpress, excude some pages from search
    1
    /* Exclude some pages from search */
    2
    function gp_search_filter( $query ) {
    3
      if ( ! $query->is_admin && $query->is_search && $query->is_main_query() ) {
    4
        $query->set( 'post__not_in', array( 39,41 ) ); // add page ID's
    5
      }