WordPress.org

Ready to get started?Download WordPress

Forums

TagPages
[resolved] Tags in pages not showing up in search (2 posts)

  1. rusola
    Member
    Posted 2 years ago #

    Hi I have added your plugin and added a tag to a page and then conducted a search using the standard search widget in WordPress, but the page does not return a result in the search using the search tag term - can you help?

    http://wordpress.org/extend/plugins/tagpages/

  2. Bernhard Riedl
    Member
    Plugin Author

    Posted 1 year ago #

    hi rusola,

    the search-functionality in wordpress does include the post-title and the post-content but not any taxonomies like post-tags.

    if you want to include tags in your full-text search results, you have to use an additional plugin or manipulate the search-query with the filter posts_search which is provided in wp-includes/query.php.

    $search = apply_filters_ref_array('posts_search', array( $search, &$this ) );

    greetz,
    berny

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.