Search unleashed和NextGEN-Gallery冲突
      What's on
    Recent Comments
  • No Comments Found
By johnwu | No CommentsLeave a Comment
Last updated: Tuesday, December 30, 2008 | 481 Views

今天启用了Search unleashed,一开始用的时候啥也收不出, 原来是没有index. 然后就到后台去做index, 出了很多warning, 在前台搜索的时候出来的东西也不正常,

49.jpg


google了一下, 终于找到一个帖子, 是人家在WordPress上报的bug,

http://wordpress.org/support/topic/224388

in search-unleashed/modules/nextgen_gallery.php lies the reference to the nextgen searchnggallerytags hook.

// Action calls for all functions
add_filter ('the_content', 'searchnggallerytags');
add_filter ('the_excerpt', 'searchnggallerytags');

simple workaround until the author fixes the plugin dependencies is to comment the lines.

// Action calls for all functions
//add_filter ('the_content', 'searchnggallerytags');
//add_filter ('the_excerpt', 'searchnggallerytags');
照上面的改完后, 搜索就正常了

50.jpg

If you enjoyed this post, make sure you subscribe to my RSS feed!

Related posts

Comments

There are no comments just yet

Leave a Comment

:alert: :beer: :angry: :coffee: :D :) ^_^ :( 8O :o 8) ;-( :lol: xD :wink: :evil: :p :whistle: :woot: :sleep: =] :sick: :straight: :ninja: :love: :kiss: :angel: :bandit: :alien:
    Recent Comments
  • No Comments Found