magnaromagna

Forum Replies Created

Viewing 15 posts - 121 through 135 (of 205 total)
  • Author
    Posts
  • in reply to: CPT Category goes 404, and wrong count #36561

    magnaromagna
    Expired Member
    Post count: 227
    This reply has been marked as private.
    in reply to: CPT Category goes 404, and wrong count #36494

    magnaromagna
    Expired Member
    Post count: 227
    This reply has been marked as private.
    in reply to: Avoid gdf css override Google Custom Search? #36070

    magnaromagna
    Expired Member
    Post count: 227

    Thanks. What are the css added by GDF for the search?

    in reply to: Avoid gdf css override Google Custom Search? #35894

    magnaromagna
    Expired Member
    Post count: 227

    Ok, found the issue, thanks. Hope dns are propagated correctly now.
    Can you please re-check?

    in reply to: Avoid gdf css override Google Custom Search? #35831

    magnaromagna
    Expired Member
    Post count: 227

    Strange, I’m seeing it, can you please check again?
    Thanks

    in reply to: Avoid gdf css override Google Custom Search? #35791

    magnaromagna
    Expired Member
    Post count: 227

    Hi, 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

    in reply to: Avoid gdf css override Google Custom Search? #35767

    magnaromagna
    Expired Member
    Post count: 227
    This reply has been marked as private.
    in reply to: How to change default tab (from profile to review)? #35671

    magnaromagna
    Expired Member
    Post count: 227

    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 //

    in reply to: How to change default tab (from profile to review)? #35601

    magnaromagna
    Expired Member
    Post count: 227

    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?
    Thanks

    in reply to: Widget Popular Listing not show all listings #35049

    magnaromagna
    Expired Member
    Post count: 227

    There 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

    in reply to: Widget Popular Listing not show all listings #34986

    magnaromagna
    Expired Member
    Post count: 227

    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 again

    in reply to: Widget Popular Listing not show all listings #34984

    magnaromagna
    Expired Member
    Post count: 227

    I 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 page

    if 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.

    in reply to: Widget Popular Listing not show all listings #34865

    magnaromagna
    Expired Member
    Post count: 227
    This reply has been marked as private.
    in reply to: Widget Popular Listing not show all listings #34859

    magnaromagna
    Expired Member
    Post count: 227
    This reply has been marked as private.
    in reply to: Recent rewiews widget not shown in home #34847

    magnaromagna
    Expired Member
    Post count: 227

    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”
    Thanks

    For 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

Viewing 15 posts - 121 through 135 (of 205 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount