GeoDirectory SupportRelocate the Favorite Link (ONLY) – GeoDirectory Support https://wpgeodirectory.com/support/topic/relocate-the-favorite-link-only/feed Thu, 02 Apr 2026 21:43:08 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/relocate-the-favorite-link-only/#post-53507 <![CDATA[Relocate the Favorite Link (ONLY)]]> https://wpgeodirectory.com/support/topic/relocate-the-favorite-link-only/#post-53507 Thu, 17 Sep 2015 23:56:05 +0000 Dylan Hello,

I have removed the details section from the sidebar with:

remove_action( 'geodir_detail_sidebar_inside', 'geodir_details_sidebar_place_details', 10 )

Now I want to add back the Favorite link (with the heart) ONLY, to another area of the details page.

How would this be done?

Thank you.

]]>
https://wpgeodirectory.com/support/topic/relocate-the-favorite-link-only/#post-53602 <![CDATA[Reply To: Relocate the Favorite Link (ONLY)]]> https://wpgeodirectory.com/support/topic/relocate-the-favorite-link-only/#post-53602 Fri, 18 Sep 2015 22:03:16 +0000 Paolo Hi,

with geodir_add_to_favorite.

Example:

add_action( 'geodir_detail_sidebar_inside', 'geodir_add_to_favorite', 10 );

Let us know how you went.

Thanks

]]>
https://wpgeodirectory.com/support/topic/relocate-the-favorite-link-only/#post-53605 <![CDATA[Reply To: Relocate the Favorite Link (ONLY)]]> https://wpgeodirectory.com/support/topic/relocate-the-favorite-link-only/#post-53605 Fri, 18 Sep 2015 22:47:52 +0000 Dylan Hi Paolo,

That works great for adding it back to the sidebar. However, I wanted to add it back within the geodir_details_main_content area.

I can’t seem to get it to work there?

Thanks.

]]>
https://wpgeodirectory.com/support/topic/relocate-the-favorite-link-only/#post-53610 <![CDATA[Reply To: Relocate the Favorite Link (ONLY)]]> https://wpgeodirectory.com/support/topic/relocate-the-favorite-link-only/#post-53610 Sat, 19 Sep 2015 00:53:02 +0000 Paolo Hi,

adding it this way, it seems to be working only in the sidebar for me too. I’ll ask to Stiofan to gives us details on how to move it within the main content area.

Thanks for your patience,

]]>
https://wpgeodirectory.com/support/topic/relocate-the-favorite-link-only/#post-53645 <![CDATA[Reply To: Relocate the Favorite Link (ONLY)]]> https://wpgeodirectory.com/support/topic/relocate-the-favorite-link-only/#post-53645 Sat, 19 Sep 2015 11:11:54 +0000 Stiofan O'Connor Hi Dylan,

Please use this code:

Thanks,

Stiofan

]]>
https://wpgeodirectory.com/support/topic/relocate-the-favorite-link-only/#post-53649 <![CDATA[Reply To: Relocate the Favorite Link (ONLY)]]> https://wpgeodirectory.com/support/topic/relocate-the-favorite-link-only/#post-53649 Sat, 19 Sep 2015 12:40:48 +0000 Dylan https://wpgeodirectory.com/support/topic/relocate-the-favorite-link-only/#post-53668 <![CDATA[Reply To: Relocate the Favorite Link (ONLY)]]> https://wpgeodirectory.com/support/topic/relocate-the-favorite-link-only/#post-53668 Sat, 19 Sep 2015 16:45:15 +0000 Paolo Have you tried echoing it directly within that custom HTML:


?>

	<div class="ot-detail-page-controls">
		<div class="wrap">
			<div class="wrap">
				<div class="one-third first ot-control-item"><a href="#respond"><i class="fa fa-pencil-square-o"></i>Write Review</a></div>
				<div class="one-third ot-control-item"><a href="#"><i class="fa fa-camera"></i>Add Photo</a></div>
				<div class="one-third ot-control-item"><a href="#"><i class="fa fa-star-o"></i>

<?php echo geodir_favourite_html('',$post->ID); ?>

				</a></div>
			</div>

			<div class="ot-middle-control ot-control-item"><a href="#"><i class="fa fa-cutlery"></i>Menu</a></div>

			<div class="ot-lower-control wrap">
				<div class="one-half first ot-control-item"><a href="#"><i class="fa fa-bell"></i>Request Catering</a></div>
				<div class="one-half ot-control-item"><a href="#"><i class="fa fa-pencil-square-o"></i>Write Catering Review</a></div>
			</div>
		</div>
	</div>

	<div class="ot-detail-page-photos">
		<div class="wrap">
			<p>Photos go here</p>
		</div>
	</div>

	<?php

Let us know,

Thanks

]]>
https://wpgeodirectory.com/support/topic/relocate-the-favorite-link-only/#post-53775 <![CDATA[Reply To: Relocate the Favorite Link (ONLY)]]> https://wpgeodirectory.com/support/topic/relocate-the-favorite-link-only/#post-53775 Sun, 20 Sep 2015 13:52:55 +0000 Dylan https://wpgeodirectory.com/support/topic/relocate-the-favorite-link-only/#post-53776 <![CDATA[Reply To: Relocate the Favorite Link (ONLY)]]> https://wpgeodirectory.com/support/topic/relocate-the-favorite-link-only/#post-53776 Sun, 20 Sep 2015 13:56:49 +0000 Paolo You are welcome 🙂

]]>