Forum Replies Created
-
AuthorPosts
-
Hi paolo
That all worked fine .
I did notice that on step 2 of your instructions
http://docs.wpgeodirectory.com/avada-compatibility-header-php/I could not find this line
?><div id=”main” class=”clearfix <?php echo $main_class; ?>”>But I did find this line which i presume is the correct line to add the hook before
?><div id=”main” class=”clearfix <?php echo $main_class; ?>” style=”<?php echo $main_css; ?>”>
Thanks again
daveFebruary 2, 2015 at 2:18 pm in reply to: Upgrade to 1.3.5 – redirect to create advert not working #29495Hi Guys
Can you please confirm if this is fixed before we upgrade
Thanks a lot
dave
great…
Thanks
dave
January 29, 2015 at 1:04 pm in reply to: Bullet Point appears beside Detail Listing Profile Text on Load #29156Hi Guust
Correct, once page is loaded it disappears
thanks
daveHi Guy
I have the same situation. I have a nationwide directory
http://www.showroom.ieI also need to switch off the Location locking somehow.
Thanks
daveJanuary 22, 2015 at 5:01 pm in reply to: Very strange behavior on the address field after upgrade (ver 1.3.5) #28482Thanks Stiofan
dave
Thanks again Guust
That solved it..
dave
Hi
I am using the theme: GeoDirectory – Avada Starter Child
version 1.1.5thanks
daveJanuary 14, 2015 at 11:56 am in reply to: Remove the CANCEL button from the Preview listings page #27472Thanks Guust
Thats fine now
dave
Excellent.
Thanks for that Stiofan, I will try that a bit later today..
dave
Hi Stiofan
I have a Place (I call it a Showroom)
One user can have one showroomI also have a custom post type called Portfolio
One user can have many portfolio PostsSO a User can have One Showroom with Many Portfolios
I have modified the related listings to show all the portfolios for the showroom. This all works fine.
But the search is only searching the Place post (showroom) which is fine but I want the results to also show Showrooms for Portfolios that contain the search words.
Here is the query I want (and this works fine when I use SQL executioner Plugin)
SELECT SQL_CALC_FOUND_ROWS wp_posts.*, wp_geodir_gd_place_detail.* FROM wp_posts INNER JOIN wp_geodir_gd_place_detail ON (wp_geodir_gd_place_detail.post_id = wp_posts.ID) WHERE 1=1 AND
( ( wp_posts.post_title LIKE “%renovation%” ) OR ( wp_posts.post_content LIKE “%renovation%”) OR ( wp_posts.ID IN( SELECT wp_term_relationships.object_id as post_id FROM wp_term_taxonomy, wp_terms, wp_term_relationships WHERE wp_term_taxonomy.term_id = wp_terms.term_id AND wp_term_relationships.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id AND wp_term_taxonomy.taxonomy IN ( ‘gd_place_tags’,’gd_placecategory’ ) AND (wp_terms.name LIKE”%renovation%” OR wp_terms.name IN (“renovation”)) ) )
)
AND wp_posts.post_type IN (‘gd_place’)
AND (wp_posts.post_status = ‘publish’)OR
wp_posts.post_author in (
SELECT wp_posts.post_author FROM wp_posts INNER JOIN wp_geodir_gd_portfolio_detail ON (wp_geodir_gd_portfolio_detail.post_id = wp_posts.ID) WHERE 1=1 AND ( ( wp_posts.post_title LIKE “%renovation%” ) OR ( wp_posts.post_content LIKE “%renovation%”) OR ( wp_posts.ID IN( SELECT wp_term_relationships.object_id as post_id FROM wp_term_taxonomy, wp_terms, wp_term_relationships WHERE wp_term_taxonomy.term_id = wp_terms.term_id AND wp_term_relationships.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id AND wp_term_taxonomy.taxonomy IN ( ‘gd_portfolio_tags’,’gd_portfoliocategory’ ) AND (wp_terms.name LIKE”%renovation%” OR wp_terms.name IN (“renovation”)) ) ) ) AND wp_posts.post_type IN (‘gd_portfolio’) AND (wp_posts.post_status = ‘publish’)
)
ORDER BY wp_posts.post_title asc, wp_geodir_gd_place_detail.is_featured asc, wp_posts.post_date desc, wp_posts.post_title LIMIT 0, 10So bascially I want to find out where I can add in the OR part of the query above.
Thanks again
dave
Hi
Just to clarify
Im talking about the GD Search widget..
Thanks
daveFantastic paolo
Dave
Actually I had commented out the Search Post Types Select list
All Ok now
Thanks
daveActually I think this is my own problem.
Please ignore this post for the moment and I will revert backdave
-
AuthorPosts