EH

Forum Replies Created

Viewing 15 posts - 46 through 60 (of 87 total)
  • Author
    Posts
  • in reply to: Ad support #187250

    EH
    Expired Member
    Post count: 96

    That worked. Thank you so much!

    in reply to: Event Tracking for website link #185563

    EH
    Expired Member
    Post count: 96

    I would like to tell how many times someone clicks on the website link in a given profile. Does that make sense?

    in reply to: Flexslider #185386

    EH
    Expired Member
    Post count: 96

    I actually ending up doing this the jQuery route which worked out better because I only wanted this to happen on the listing page slider and not on the feature listing widget slider. However just for further reference I’m curious if I have access to the slider markup.

    in reply to: Flexslider #185213

    EH
    Expired Member
    Post count: 96

    Sorry I have one more question. Before I go down the rabbit hole of moving divs around with jQuery I figure I would ask, is there someplace I can edit the flex html? I want to move <ul class=”geodir-direction-nav”> out of the geodir_flex-container and put it after the geodir_carousel.

    in reply to: redirect geodir-signup.php #185032

    EH
    Expired Member
    Post count: 96

    Actually nevermind if I put my query string first and the redirect on the end of it then it works.

    in reply to: Query string through url after redirect_to #171112

    EH
    Expired Member
    Post count: 96

    Is there a filter to remove that redirect from signup_function.php?

    in reply to: Query string through url after redirect_to #171108

    EH
    Expired Member
    Post count: 96

    This didn’t exactly work but I think I know why. I need to edit this line of code:

    
    
     if (isset($_REQUEST['redirect_add_listing']) && $_REQUEST['redirect_add_listing'] != '') {
     
                           $redirect_to = $_REQUEST['redirect_add_listing'];
                        }

    in geodirectorygeodirectory-functionssignup_function.php

    I’m assuming I can’t just copy this into my child theme and make modifications right?

    in reply to: Query string through url after redirect_to #171036

    EH
    Expired Member
    Post count: 96
    This reply has been marked as private.
    in reply to: Flexslider #168971

    EH
    Expired Member
    Post count: 96

    I had to change it up slightly but this worked for me.

    
    
    <script>
                           jQuery(function($) {
                                $(document).ready(function($) {
                                   if ($('#geodir_carousel').length == 0) {
                                       $('.geodir-direction-nav').hide();
                                   } 
                                    });   
                            });
                            </script>

    Thanks for pointing me in the right direction!

    in reply to: Add a new Tab in the listing detail page #168912

    EH
    Expired Member
    Post count: 96

    AHH of course! That worked. Thanks again for the help.

    in reply to: Add a new Tab in the listing detail page #168878

    EH
    Expired Member
    Post count: 96

    Yes, it is. However NO tabs are showing now if there isn’t content for testimonials. I was looking for a filter to remove just that tab if there was no content, not all of them.

    in reply to: Add a new Tab in the listing detail page #168876

    EH
    Expired Member
    Post count: 96

    Well, suppressing the warnings gets rid of the warning but now no tabs appear on a profile that doesn’t have a testimonial.

    This is a “nice to have feature” so for now I’m just going to add testimonials to the main tab since I can do that pretty easily.

    in reply to: Flexslider #168874

    EH
    Expired Member
    Post count: 96

    I didn’t think to try that. I’ll try it out and let you know. Thank you!

    in reply to: Flexslider #168871

    EH
    Expired Member
    Post count: 96

    Hi Stiofan,

    I have actually already tried that, but it doesn’t seem to be working. I don’t want to get rid of the direction nav completely, just when there is only one slide.

    in reply to: Add a new Tab in the listing detail page #168736

    EH
    Expired Member
    Post count: 96

    Hi Paolo,

    I tried this, it seems to work when there is something in that field but when there is not I get the errors listed below.

    
    
            //Add New tab to GeoDirectory Listing page
            add_filter('geodir_detail_page_tab_list_extend', 'geodir_detail_page_tab_list_extend');  
            function geodir_detail_page_tab_list_extend($tab_array) {
                global $wpdb;
                $id = get_the_ID();
                $CustomerTestimonials = $wpdb->get_var("SELECT geodir_testimonials FROM wp_geodir_gd_place_detail WHERE post_id = $id ");
                if ($CustomerTestimonials !=''){
                    $tab_array['testimonials_tab'] = array( 
                    'heading_text' =>  __('Testimonials',GEODIRECTORY_TEXTDOMAIN),
                    'is_active_tab' => false,
                    'is_display' =>  apply_filters('geodir_detail_page_tab_is_display', true,'testimonials_tab'),
                    'tab_content' => '');    
                    return $tab_array; 
                }
            }
            
            add_action('geodir_after_tab_content' ,'geodir_my_new_tab_content');
            function geodir_my_new_tab_content($tab_index) {
                if($tab_index =='testimonials_tab'){
                global $wpdb;
                $id = get_the_ID();
                $CustomerTestimonials = $wpdb->get_var("SELECT geodir_testimonials FROM wp_geodir_gd_place_detail WHERE post_id = $id ");
                echo $CustomerTestimonials;
                }
            }

    Warning: array_key_exists() expects parameter 2 to be array, null given in C:WampDeveloperWebsiteslocalhostwebrootehpublic_htmlwp-contentpluginsgeodirectorygeodirectory-functionscustom_functions.php on line 1334

    Warning: Invalid argument supplied for foreach() in C:WampDeveloperWebsiteslocalhostwebrootehpublic_htmlwp-contentpluginsgeodirectorygeodirectory-functionscustom_functions.php on line 1473

    Warning: Invalid argument supplied for foreach() in C:WampDeveloperWebsiteslocalhostwebrootehpublic_htmlwp-contentpluginsgeodirectorygeodirectory-functionscustom_functions.php on line 1511

    Warning: Invalid argument supplied for foreach() in C:WampDeveloperWebsiteslocalhostwebrootehpublic_htmlwp-contentpluginsgeodirectorygeodirectory-functionscustom_functions.php on line 1632
    – See more at: http://localhost/eh/public_html/places/united-states/massachusetts/boston/audio-1/testing/#sthash.V1wRXY6y.dpuf

Viewing 15 posts - 46 through 60 (of 87 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount