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-
AuthorPosts
-
December 22, 2017 at 4:37 pm #410366This reply has been marked as private.December 22, 2017 at 4:39 pm #410367This reply has been marked as private.December 22, 2017 at 4:41 pm #410368
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 :December 22, 2017 at 5:03 pm #410371This reply has been marked as private.December 22, 2017 at 5:13 pm #410374Hi 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!
December 22, 2017 at 5:36 pm #410377This reply has been marked as private.December 22, 2017 at 5:37 pm #410378This reply has been marked as private.December 23, 2017 at 5:31 pm #410442This reply has been marked as private.December 23, 2017 at 7:40 pm #410464This reply has been marked as private.December 23, 2017 at 9:05 pm #410466Hello!
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:
December 23, 2017 at 10:30 pm #410472This reply has been marked as private.December 24, 2017 at 1:14 am #410481Hello!
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
December 24, 2017 at 11:18 am #410500This reply has been marked as private.December 24, 2017 at 2:45 pm #410504Hello!
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.
December 24, 2017 at 2:53 pm #410505This reply has been marked as private. -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket