bloooooop
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Get template list for a custom post typeOk I will try this way, thanks for your help !
Forum: Plugins
In reply to: [Flexible Map] 2 maps in same page with directionsOk I didn’t understand it was the address. I changed it and it works like a charm, thanks for you help !
Forum: Fixing WordPress
In reply to: Get template list for a custom post typeHi keesiemeijer,
Thanks for your reply.There is no other solution but plugin ? I’d rather avoid it but if I have no choice I’ll use it
Forum: Plugins
In reply to: [Flexible Map] 2 maps in same page with directionsHi,
It’s weird, I tried with the same coordinates than Google Maps and it didn’t work.
So I tried with the same coordinates than the second map (which works) and it doesn’t work either.
To finish, I tried these coordinates in the second map, and it worked. I really think there’s an issue only for the first map, whatever its coordinates, the message is still “Origin or destination was not found.”
Forum: Plugins
In reply to: [Ultimate WP Query Search Filter] Ajax result with custom post typeI’m not allowed to give you access but tell me what you need to know and I’ll see what I can do.
Forum: Plugins
In reply to: [Ultimate WP Query Search Filter] Ajax result with custom post typeNo I don’t use any other plugin with ajax.
I can’t show any url because of confidentiality. But I tried the antialiasing css and it works well.
Thanks a lot for your help !
Forum: Plugins
In reply to: [Ultimate WP Query Search Filter] Ajax result with custom post typeI’ve found the problem, but I don’t understand why it does this. I’ve put L.267 in a comment
//'s' => esc_html($keyword),
And I have the correct results.
I haven’t enabled the string search in the parameters that’s why i don’t get it.Maybe add a test in order to know if it’s enabled or not before adding it in the query args ?
Forum: Plugins
In reply to: [Ultimate WP Query Search Filter] Ajax result with custom post typeMaybe something useful, if I see what’s in the query, there are query vars with the post type page. Maybe it overrides the main query ?
object(WP_Query)#7294 (47) { ["query"]=> array(10) { ["post_type"]=> array(1) { [0]=> string(7) "product" } ["post_status"]=> string(7) "publish" ["meta_key"]=> NULL ["orderby"]=> string(4) "date" ["order"]=> NULL ["paged"]=> string(1) "1" ["posts_per_page"]=> string(2) "20" ["meta_query"]=> NULL ["tax_query"]=> array(1) { ["relation"]=> string(3) "AND" } ["s"]=> string(0) "" } ["query_vars"]=> array(65) { ["post_type"]=> string(4) "page" ["post_status"]=> string(7) "publish" ["meta_key"]=> string(0) "" ["orderby"]=> string(4) "date" ["order"]=> string(4) "DESC" ["paged"]=> int(1) ["posts_per_page"]=> int(20) ["meta_query"]=> NULL ["tax_query"]=> array(1) { ["relation"]=> string(3) "AND" } ["s"]=> string(0) "" ["error"]=> string(0) "" ["m"]=> string(0) "" ["p"]=> int(0) ["post_parent"]=> string(0) "" ["subpost"]=> string(0) "" ["subpost_id"]=> string(0) "" ["attachment"]=> string(0) "" ["attachment_id"]=> int(0) ["name"]=> string(0) "" ["static"]=> string(0) "" ["pagename"]=> string(0) "" ["page_id"]=> int(0) ["second"]=> string(0) "" ["minute"]=> string(0) "" ["hour"]=> string(0) "" ["day"]=> int(0) ["monthnum"]=> int(0) ["year"]=> int(0) ["w"]=> int(0) ["category_name"]=> string(0) "" ["tag"]=> string(0) "" ["cat"]=> string(0) "" ["tag_id"]=> string(0) "" ["author"]=> string(0) "" ["author_name"]=> string(0) "" ["feed"]=> string(0) "" ["tb"]=> string(0) "" ["comments_popup"]=> string(0) "" ["meta_value"]=> string(0) "" ["preview"]=> string(0) "" ["sentence"]=> string(0) "" ["fields"]=> string(0) "" ["menu_order"]=> string(0) "" ["category__in"]=> array(0) { } ["category__not_in"]=> array(0) { } ["category__and"]=> array(0) { } ["post__in"]=> array(0) { } ["post__not_in"]=> array(0) { } ["tag__in"]=> array(0) { } ["tag__not_in"]=> array(0) { } ["tag__and"]=> array(0) { } ["tag_slug__in"]=> array(0) { } ["tag_slug__and"]=> array(0) { } ["post_parent__in"]=> array(0) { } ["post_parent__not_in"]=> array(0) { } ["author__in"]=> array(0) { } ["author__not_in"]=> array(0) { } ["ignore_sticky_posts"]=> bool(false) ["suppress_filters"]=> bool(false) ["cache_results"]=> bool(true) ["update_post_term_cache"]=> bool(true) ["update_post_meta_cache"]=> bool(true) ["nopaging"]=> bool(false) ["comments_per_page"]=> string(2) "50" ["no_found_rows"]=> bool(false) } ["tax_query"]=> object(WP_Tax_Query)#7296 (6) { ["queries"]=> array(1) { ["relation"]=> string(3) "AND" } ["relation"]=> string(3) "AND" ["table_aliases":protected]=> array(0) { } ["queried_terms"]=> array(0) { } ["primary_table"]=> string(18) "my_table_posts" ["primary_id_column"]=> string(2) "ID" } ["meta_query"]=> object(WP_Meta_Query)#7295 (7) { ["queries"]=> array(0) { } ["relation"]=> NULL ["meta_table"]=> NULL ["meta_id_column"]=> NULL ["primary_table"]=> NULL ["primary_id_column"]=> NULL ["table_aliases":protected]=> array(0) { } } ["date_query"]=> bool(false) ["request"]=> string(482) "SELECT SQL_CALC_FOUND_ROWS my_table_posts.ID FROM my_table_posts JOIN my_table_icl_translations t ON my_table_posts.ID = t.element_id AND t.element_type = 'post_page' JOIN my_table_icl_languages l ON t.language_code=l.code AND l.active=1 WHERE 1=1 AND my_table_posts.post_type = 'page' AND ((my_table_posts.post_status = 'publish')) AND t.language_code='fr' GROUP BY my_table_posts.ID ORDER BY my_table_posts.post_date DESC LIMIT 0, 20" ["posts"]=> array(20) { [0]=> object(WP_Post)#7297 (24) { ["ID"]=> int(280) ["post_author"]=> string(1) "1" ["post_date"]=> string(19) "2015-04-03 11:37:56" ["post_date_gmt"]=> string(19) "2015-04-03 10:37:56" ["post_content"]=> string(8617) "lorem ipsum"
Forum: Plugins
In reply to: [Ultimate WP Query Search Filter] Ajax result with custom post typeIt doesn’t seem to be the problem.
Here are the parameters I have in the query without Ajax in a search without any selection of filter (which is working nice) :
s=uwpsfsearchtrg&taxo[0][name]=format&taxo[0][opt]=3&taxo[1][name]=couleur&taxo[1][opt]=3&taxo[2][name]=collection&taxo[2][opt]=3&skeyword=
Here I can find my taxonomy filters.
And with Ajax (still with no filter) :
array(10) { ["post_type"]=> array(1) { [0]=> string(7) "product" } ["post_status"]=> string(7) "publish" ["meta_key"]=> NULL ["orderby"]=> string(4) "date" ["order"]=> NULL ["paged"]=> string(1) "1" ["posts_per_page"]=> string(2) "20" ["meta_query"]=> NULL ["tax_query"]=> array(1) { ["relation"]=> string(3) "AND" } ["s"]=> string(0) "" }
The first weird thing is that tax query doesn’t take my filters (I should have 3 taxonomies).
And the second one is that the post type is product and I have content pages in the results.Let me know if you need more information.
Forum: Plugins
In reply to: [Ultimate WP Query Search Filter] Ajax result with custom post typeHi,
I just only tried the Ajax search with your original code, and I still have every pages. So, the custom code above doesn’t matter in the results.if ( $query->have_posts() ) { $html .= '<ul>'; while ( $query->have_posts() ) { $query->the_post();global $post; $html .= '<li><a href="'.get_permalink().'" rel="bookmark">'.get_the_post_thumbnail($pos->ID, "format_306x220").'</a>'; $html .= '</li>'; } $html .= '</ul>'; $html .= $this->ajax_pagination($pagenumber,$query->max_num_pages, 4, $id,$getdata); } else { $html .= __( 'Nothing Found', 'UWPQSF' ); } /* Restore original Post Data */ wp_reset_postdata();
Forum: Plugins
In reply to: [Ultimate WP Query Search Filter] Ajax result with custom post typeHello,
I customized only HTML by removing <article> etc… to have only ul li tags. But I didn’t change any php code.
Here is what I have :
if ( $query->have_posts() ) { $html .= '<ul>'; while ( $query->have_posts() ) { $query->the_post();global $post; $html .= '<li><a href="'.get_permalink().'" rel="bookmark">'.get_the_post_thumbnail($pos->ID, "format_306x220").'</a>'; $html .= '</li>'; } $html .= '</ul>'; $html .= $this->ajax_pagination($pagenumber,$query->max_num_pages, 4, $id,$getdata); } else { $html .= __( 'Nothing Found', 'UWPQSF' ); } /* Restore original Post Data */ wp_reset_postdata();
Forum: Plugins
In reply to: [Ultimate WP Query Search Filter] Multiple choice filter with checkboxesOk, I will try like this.
Thanks for your quick reply ??
Forum: Plugins
In reply to: [Network Posts Extended] PHP BugI’ve found the issue line 453 you have the <? tag and my configuration doesn’t allow short opened tags. If I put the complete tag, it works like a charm !
Forum: Plugins
In reply to: [Network Posts Extended] PHP BugHi,
Still not working, I have the same error. I’ve installed WordPress from scratch and it doesn’t resolve the issue. If you try to install your extension on a test site, i’m sure you will have the same problem.