Hello,
I am looking to customize the details page and have been through tons of forum answers on this subject and have gotten everything to work however I can not figure out how to pull these 4 things into my first tab.
1. Post address
2. Add to favorite button
3. Email/send to friend
4. The image slider
This is the code that I came across and I can echo text into my tab but can not get these to display.. https://wpgeodirectory.com/support/topic/change-layout-of-details-page/
Here is the code I have that will echo the text but not the post functions..
add_action('geodir_before_tab_content' ,'geodir_my_new_tab_content');
function geodir_my_new_tab_content($tab_index)
{
if($tab_index =='post_profile')
{
echo 'hello';
echo $post->geodir_email;
}
}
Thank you for any help on this..
Attached is what I am looking to do.. Where the tabs are above the slider.