GD > Twitter,Facebook and Google+ buttons

This topic contains 33 replies, has 4 voices, and was last updated by  Kor 6 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #410366

    don quixote
    Expired Member
    Post count: 667
    This reply has been marked as private.
    #410367

    don quixote
    Expired Member
    Post count: 667
    This reply has been marked as private.
    #410368

    Kor
    Moderator
    Post count: 16516

    Hi Don,

    The FTP credentials consist of the below. Could you double check? Please remember to use the private reply option below. If you wish to deactivate the “Code Snippet” plugin on your own, just rename the plugin folder.

    FTP Access
    FTP Host :
    FTP Username :
    FTP Password :

    #410371

    don quixote
    Expired Member
    Post count: 667
    This reply has been marked as private.
    #410374

    Kor
    Moderator
    Post count: 16516

    Hi don,

    Looks like your hosting provide deactivated the “Code Snippet” plugin by renaming it. Please follow this guide to create a new FTP user https://my.godaddy.com/help/add-ftp-users-1236 . Then share it to us in private reply and we’ll assists you further with this.

    Thanks!

    #410377

    don quixote
    Expired Member
    Post count: 667
    This reply has been marked as private.
    #410378

    don quixote
    Expired Member
    Post count: 667
    This reply has been marked as private.
    #410442

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #410464

    don quixote
    Expired Member
    Post count: 667
    This reply has been marked as private.
    #410466

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    Glad you can login!

    You will need to follow the prompts from the Code Snippets plugin. If it tells you there is a problem, and to discard the changes, then please do that so you don’t have additional problems.

    There are lots of examples of how members have worked on the sidebar in the past throughout the forum. If that snippet doesn’t work for you, you could try a different one:

    https://wpgeodirectory.com/support/search/?bbp_search=geodir_detail_page_sidebar_content

    Snippets are a type of customization. It’s important to be careful when you copy and paste because even an extra ‘space’ character can cause the code not to work.

    There are other ways to add the code snippet, yes, like creating a child theme for Whoop:

    http://codex.wordpress.org/Child_Themes

    #410472

    don quixote
    Expired Member
    Post count: 667
    This reply has been marked as private.
    #410481

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    I have tested the Snippet myself and it works and it does not cause errors on my test site:

    
    
    
    // Re-order detail page sidebar content
    function _gd_custom_reorder_sidebar_content( $hooks = array() ) {
        $hooks = array();
    
        $hooks[] = 'geodir_social_sharing_buttons';         // Sharing buttons
        $hooks[] = 'geodir_detail_page_google_analytics';   // Google Analytics
        $hooks[] = 'geodir_detail_page_review_rating';      // Rating Stars
        $hooks[] = 'geodir_detail_page_more_info';          // Custom Fields
        $hooks[] = 'geodir_edit_post_link';                 // User Links
    
        return $hooks;
    }
    add_filter( 'geodir_detail_page_sidebar_content', '_gd_custom_reorder_sidebar_content', -10, 1 );
    

    This is some code to get you started on your customization. You may want to hire a developer to maintain and make further changes to your customizations: https://geodirectoryexperts.com

    #410500

    don quixote
    Expired Member
    Post count: 667
    This reply has been marked as private.
    #410504

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    Yes, I tested it, and yes it changed the order of the sidebar.

    I tested it with Whoop and Supreme Directory and it will re-order the sidebar in both.

    The code snippet should work with any theme, that’s one of the special features of GD, that these code snippets work with any theme.

    However, any code snippet can cause conflicts. Code Snippets plugin will give you a warning. The conflict may be that the snippet was already added, or that something similar was already added. If you do experience conflicts like that, you can follow the directions to deactivate the snippet, and then hire a developer to continue the customization of your site.

    #410505

    don quixote
    Expired Member
    Post count: 667
    This reply has been marked as private.
Viewing 15 posts - 16 through 30 (of 34 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount