magnaromagna
Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.This reply has been marked as private.
Thanks. What are the css added by GDF for the search?
Ok, found the issue, thanks. Hope dns are propagated correctly now.
Can you please re-check?Strange, I’m seeing it, can you please check again?
ThanksHi, maybe I have not specified, but the search results are controlled by google, but the search form I created was completely different and has been override by gdf css. Please check the attached: is the search form created through Google tools, and has this style if uploaded into a non gdf page
This reply has been marked as private.Thanks but maybe I didn’t put in right mode:
Parse error: syntax error, unexpected '{' in /home/../public_html/wp-content/themes/geodir_gdf-modern/functions.php on line 68
I added it before the add_filter
// begin change order tabs //
/** https://wpgeodirectory.com/support/topic/how-to-change-default-tab-from-profile-to-review/#post-24021 **/add_filter(‘geodir_detail_page_tab_list_extend’, ‘geodir_detail_page_tab_list_extend’) ;
if ( ‘gd_place’ == get_post_type() {
function geodir_detail_page_tab_list_extend($tab_array)
{
// here u can modify this array, u can create a completely new one too.
if(isset($tab_array[‘reviews’])){
$new_tab_array[‘reviews’] = $tab_array[‘reviews’];// set in new array
$new_tab_array[‘reviews’][‘is_active_tab’]=’1′;
unset($tab_array[‘reviews’]);//unset in old one
}
if(isset($tab_array[‘post_profile’])){
$new_tab_array[‘post_profile’] = $tab_array[‘post_profile’]; // set in new array
$new_tab_array[‘post_profile’][‘is_active_tab’]=”;
unset($tab_array[‘post_profile’]);//unset in old one
}// if(isset($tab_array[‘post_map’])){ //
// $new_tab_array[‘post_map’] = $tab_array[‘post_map’];// set in new array //
// unset($tab_array[‘post_map’]);//unset in old one ////
// } ////if(isset($tab_array[‘special_offers’])){
$new_tab_array[‘special_offers’] = $tab_array[‘special_offers’];// set in new array
unset($tab_array[‘special_offers’]);//unset in old one
}if(isset($tab_array[‘post_info’])){
$new_tab_array[‘post_info’] = $tab_array[‘post_info’];// set in new array
unset($tab_array[‘post_info’]);//unset in old one
}if(isset($tab_array[‘post_images’])){
$new_tab_array[‘post_images’] = $tab_array[‘post_images’];// set in new array
unset($tab_array[‘post_images’]);//unset in old one
}if(isset($tab_array[‘post_video’])){
$new_tab_array[‘post_video’] = $tab_array[‘post_video’];// set in new array
unset($tab_array[‘post_video’]);//unset in old one
}if(isset($tab_array[‘special_offers’])){
$new_tab_array[‘special_offers’] = $tab_array[‘special_offers’];// set in new array
unset($tab_array[‘special_offers’]);//unset in old one
}// now we set any remaining tabs that have not been assigned an order
foreach($tab_array as $key=>$tab){
$new_tab_array[$key]=$tab;
}return $new_tab_array ;
}}
// end change order tabs //I noticed that it modifies both listing reviews and events. Is there a way to make it different? I mean, let this hack work only for listing reviews, not for events?
ThanksThere is no link anywhere on your site to /luoghi/italia/emilia-romagna/bologna/name-of-listing, onlt to /CPT/COUNTRY/REGION/CITY/LISTING NAME, so /locali/italia/emilia-romagna/bologna/name-of-listing is the only link on you site.
So Google will not index any duplicates.Try, for example: site:www.baltazar.it/luoghi/italia/emilia-romagna/bologna/
There are many listings indexed by Google. Any chance to redirect 301 them to the right lising url?Thanks
And I was forgotten a related question: since I changed the Permalink Structure as explained above, and Google indexed all listings as
/luoghi/italia/emilia-romagna/bologna/name-of-listing
instead of
/locali/italia/emilia-romagna/bologna/name-of-listing
do you know the right string to put into .htaccess to do the right redirect?
Thanks againI think I fixed the database issue. I updated all plugins and now I’m looking into this:
in LISTING DETAIL PERMALINK SETTINGS I put the same name both for “listing” and “location”
They can’t be the same.
Ok, I put them differently: “locali” and “luoghi”
Now, city structure is still something like
http://www.baltazar.it/luoghi/italia/emilia-romagna/bologna/
is loading a GD home pageif I click on link See all listings (“Guarda lista completa locali”) it brings to
http://www.baltazar.it/locali/italia/emilia-romagna/bologna/is it correct? Is not redundant? Why the Locator Switcher (or the Search) not goes directly to the 2nd link?
Thank for confirmation is the right path, and for explanation.This reply has been marked as private.This reply has been marked as private.So, is not correct adding the widget Recent Reviews in GD Home Sections (like in the attached)?
How can I show -for a specific city- the last reviews? Like the widget “Best of”, that shows the best for the particular zone selected. Best should be: in GD Home, the widghet Popular Post View ordered by something like “last review”
ThanksFor the update: every time I update, some Addons get reset, and I have to manually re-select options. Would you like to perform the update through the wp-admin panel and see what happens? (If the bug come again, I remember the options to set up)
Thanks again -
AuthorPosts