AliMH
Forum Replies Created
-
Forum: Plugins
In reply to: post_type_link 404 errorhttps://animup.net/anime/popeye-the-sailor-man/ is working
but
https://animup.net/animation/popeye-the-sailor-man/ return 404 errorlol, good idea, really thanks mate.
oh, i face a new problem related to this;
now, no result for ‘Aki Sora’ and i should search for ‘Aki-Sora’.Forum: Plugins
In reply to: [Relevanssi - A Better Search] better relevance_scorereally thanks,
here is my wroking code:function order_the_results($hits) { global $wp_query; $search=strtolower($wp_query->query['s']); $i=0; foreach ($hits[0] as $hit){ if ($search == strtolower($hit->post_title)){ unset($hits[0][$i]); array_unshift($hits[0] , $hit); } $i++; } return $hits; }
oh thanks, it solved my problem
Forum: Plugins
In reply to: [Relevanssi - A Better Search] query taxonomy in url stop workinghum, can you help me with some example how to do it?
i have a taxonomy named: anime_types
terms: anime,animation,manga,comic
really sorry i really dont know how to format my code to relevansiadd_filter('relevanssi_modify_wp_query', 'rlv_interpret_parameters'); function rlv_interpret_parameters($query) { return $query; }
Forum: Plugins
In reply to: [Relevanssi - A Better Search] query taxonomy in url stop workingoh sorry i have this problem from 3.3 or higher and have no problem with 3.2
Forum: Plugins
In reply to: [Relevanssi - A Better Search] query taxonomy in url stop workinghere is the result after update to 3.3.4
https://animup.net/?s=frozen&post_types=animes&types=animation&orderby=relevance_score&order=DESC
it show two result one is anime and second is animationForum: Plugins
In reply to: [Chat] Dedicated Server crushed after activate this pluginssorry mate, i changed my config from apache to nginx and it resolved. really thanks with your plugins.
do you like to have my u/p to check?
yes i”m using 1.6.5.1
re-smushit or any other actions return this to me.Forum: Plugins
In reply to: [Relevanssi - A Better Search] Special searchsthank you, workin like charm
Forum: Fixing WordPress
In reply to: get_posts Show all post return nothing!when i set numberposts => 300 it return 300 post from my query so other parameters of query is correct.
ok, i found the bug:
on file plugin_dir/code/functions.php line 72
change
"query_var" => $cpt["query"] == "yes",
to
"query_var" => $query_var,
and resolvedForum: Hacks
In reply to: count_user_posts_by_taxonomyanyway if someone able to add this query it will useful for future, maybe someone need it.