GeoDirectory SupportRemove the CANCEL button from the Preview listings page – GeoDirectory Support https://wpgeodirectory.com/support/topic/remove-the-cancel-button-from-the-preview-listings-page/feed Sat, 15 Mar 2025 06:08:47 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/remove-the-cancel-button-from-the-preview-listings-page/#post-27426 <![CDATA[Remove the CANCEL button from the Preview listings page]]> https://wpgeodirectory.com/support/topic/remove-the-cancel-button-from-the-preview-listings-page/#post-27426 Tue, 13 Jan 2015 22:17:02 +0000 [email protected] Hi Guys

Just wondering how I can remove the CANCEL button from the Preview listings
I tried to remove the following code from the preview-buttons.php file
but it still displays it. I want to remove it because I dont want a customer to press CANCEL by accident while adding the listing..

<input type=”button” name=”Cancel” value=”<?php echo (PRO_CANCEL_BUTTON);?>” class=”geodir_button geodir_cancle_button” onclick=”window.location.href='<?php echo geodir_get_ajax_url().’&geodir_ajax=add_listing&ajax_action=cancel&pid=’.$post_id.’&listing_type=’.$post_type;?>'” />

Thanks
dave

]]>
https://wpgeodirectory.com/support/topic/remove-the-cancel-button-from-the-preview-listings-page/#post-27428 <![CDATA[Reply To: Remove the CANCEL button from the Preview listings page]]> https://wpgeodirectory.com/support/topic/remove-the-cancel-button-from-the-preview-listings-page/#post-27428 Tue, 13 Jan 2015 22:28:14 +0000 Guust Just add this to your CSS

.cancle_button {visibility: hidden}
]]>
https://wpgeodirectory.com/support/topic/remove-the-cancel-button-from-the-preview-listings-page/#post-27472 <![CDATA[Reply To: Remove the CANCEL button from the Preview listings page]]> https://wpgeodirectory.com/support/topic/remove-the-cancel-button-from-the-preview-listings-page/#post-27472 Wed, 14 Jan 2015 11:56:49 +0000 [email protected] Thanks Guust

Thats fine now

dave

]]>