Originally Posted by
emilianoaguirre
My fix It doesn't work.
1) It shows the sticky post on top but when i do a search shows all sticky post on top and then then the resulting ones.
I think the problem is on this line:
Code:
query_posts(array('caller_get_posts' => 1, 'paged'=>$paged));
/edit/
this:
Code:
query_posts(array('caller_get_posts' => 1, 'paged'=>$paged));
works as this:
Code:
query_posts(array('ignore_sticky_posts' => 1, 'paged'=>$paged));
if i change
Code:
'ignore_sticky_posts' => 1
to
Code:
'ignore_sticky_posts' => 0
then the problem 1) appears.
Still working on a solution
YES!!!! Found It!!!
To make this plugin compatible with
Wp Custom Search plugin must edit:
/
wp-content/plugins/featured-ultimate/featured-ultimate.php
edit
Code:
function tb_sticky_on_top( $sql ){
if( is_tax(APP_TAX_CAT) || is_search() ){
to
Code:
function tb_sticky_on_top( $sql ){
if( is_tax(APP_TAX_CAT) || is_search() || $_GET['search-class'] ){
that take me long
... hope it help someone