Move Manage Franchise section on Add Listing Page
This topic contains 11 replies, has 3 voices, and was last updated by Alex Rollin 7 years, 3 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
July 30, 2018 at 7:34 pm #440467
Hello, I am writing on behalf of a client that has a membership. I would like to rearrange the Add Listing page so that the Manage Franchise section comes right before the Terms & Conditions section (i.e. after all of the fields have been filled in). I think it is a more logical place for it to go after the Listing Details. I looked at add listing page template but can’t figure out what controls the positioning of the Franchise language. Thanks!
July 31, 2018 at 11:15 am #440547Hello,
I don’t think that is possible without a big customization, but I will flag your question for the developers in case they know of another way to do that.
July 31, 2018 at 12:35 pm #440566This reply has been marked as private.August 28, 2018 at 4:59 pm #444380This reply has been marked as private.August 29, 2018 at 2:38 pm #444501Hello,
here is an example of how to move the franchise info on the form:
remove_action( 'geodir_before_detail_fields', 'geodir_franchise_add_listing_field'); add_action('geodir_custom_field_input_checkbox_geodir_termsandconditions','geodir_franchise_before_fields_fn',10,2); function geodir_franchise_before_fields_fn($html,$cf){ geodir_franchise_add_listing_field(); ?> <script type="text/javascript"> jQuery( document ).ready(function($) { $('#gd_is_franchise_row').prev('h5').remove(); }); </script> <?php }You can add that to your active theme’s functions.php file or as a code snippet.
Let us know how it goes
August 30, 2018 at 4:27 pm #444703This reply has been marked as private.August 31, 2018 at 6:14 am #444804This reply has been marked as private.August 31, 2018 at 6:34 pm #444875This reply has been marked as private.September 4, 2018 at 6:05 am #445227This reply has been marked as private.September 4, 2018 at 3:33 pm #445305This reply has been marked as private.September 5, 2018 at 7:28 am #445387Hello
this has been fixed, please check and let us know
thanks
September 5, 2018 at 7:29 am #445388New snippet:
<?php remove_action( 'geodir_details_main_content','geodir_action_details_slider',30); add_action( 'geodir_details_main_content','my_geodir_action_details_slider',30); function my_geodir_action_details_slider() { if ( has_post_thumbnail() ) { the_post_thumbnail('full'); add_filter("kriesi_backlink","new_nolink"); function new_nolink(){ $kriesi_at_backlink = " - <a href='http://soundviewcreative.com' target='_blank'>Soundview Creative</a>"; return $kriesi_at_backlink; } function _gd_custom_text_on_signin_signup_page() { echo __( "If you already have an account, please Sign In. If you would like to become a member and add a listing, you must first register using Sign Up Now.", "your-text-domain&" ); } add_action( "geodir_signup_forms", "_gd_custom_text_on_signin_signup_page", 9 ); } } remove_action( 'geodir_before_detail_fields', 'geodir_franchise_add_listing_field'); add_action('geodir_custom_field_input_checkbox_geodir_termsandconditions','geodir_franchise_before_fields_fn',10,2); function geodir_franchise_before_fields_fn($html,$cf){ geodir_franchise_add_listing_field(); ?> <script type="text/javascript"> jQuery( document ).ready(function($) { $('#gd_is_franchise_row').prev('h5').remove(); }); </script> <?php } -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket