GeoDirectory SupportIndividual fields for Template of Details Page – GeoDirectory Support https://wpgeodirectory.com/support/topic/individual-fields-for-template-of-details-page/feed Mon, 02 Feb 2026 01:28:27 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/individual-fields-for-template-of-details-page/#post-51521 <![CDATA[Individual fields for Template of Details Page]]> https://wpgeodirectory.com/support/topic/individual-fields-for-template-of-details-page/#post-51521 Mon, 31 Aug 2015 21:51:17 +0000 Dylan Does anyone have an example of a modified listing-details.php template with all the data fields being called individually? The currently template has many of the fields grouped together in actions, which is making it hard to move them around.

I greatly appreciate any help here.

]]>
https://wpgeodirectory.com/support/topic/individual-fields-for-template-of-details-page/#post-51555 <![CDATA[Reply To: Individual fields for Template of Details Page]]> https://wpgeodirectory.com/support/topic/individual-fields-for-template-of-details-page/#post-51555 Tue, 01 Sep 2015 11:50:35 +0000 Guust Can you explain what fields you want to move?
Most of the fields can be moved by changing the custom field settings:
https://wpgeodirectory.com/docs/core-place-settings/#custom

]]>
https://wpgeodirectory.com/support/topic/individual-fields-for-template-of-details-page/#post-51598 <![CDATA[Reply To: Individual fields for Template of Details Page]]> https://wpgeodirectory.com/support/topic/individual-fields-for-template-of-details-page/#post-51598 Tue, 01 Sep 2015 17:19:30 +0000 Dylan Guust,

We’re looking to move most of the fields, even if slightly.

We’ll be creating an almost completely new template for the page, but are having a hard time finding how to call each individual item from the page, that’s why we were looking to see if anyone else has made a custom template before, because we’d be able to see how they called each item.

Are the calls for each individual item available in the docs?

Thanks again

]]>
https://wpgeodirectory.com/support/topic/individual-fields-for-template-of-details-page/#post-51694 <![CDATA[Reply To: Individual fields for Template of Details Page]]> https://wpgeodirectory.com/support/topic/individual-fields-for-template-of-details-page/#post-51694 Wed, 02 Sep 2015 14:57:10 +0000 Paolo Hi,

adding this code to your functions.php will print all geodir paramenters present in the $post variable on any of your detail page.


add_action( 'geodir_details_main_content', 'my_custom_action',35);

function my_custom_action(){global $post; print_r($post);}

Once you have rebuilt the template, you can echo them individually like this:

echo $post->geodir_email;

More info here: https://wpgeodirectory.com/support/topic/change-layout-of-details-page/#post-40573

Every single function can be found in the codex.

Thanks

]]>
https://wpgeodirectory.com/support/topic/individual-fields-for-template-of-details-page/#post-52282 <![CDATA[Reply To: Individual fields for Template of Details Page]]> https://wpgeodirectory.com/support/topic/individual-fields-for-template-of-details-page/#post-52282 Mon, 07 Sep 2015 15:32:00 +0000 Dylan Perfect. Thanks!

]]>
https://wpgeodirectory.com/support/topic/individual-fields-for-template-of-details-page/#post-52283 <![CDATA[Reply To: Individual fields for Template of Details Page]]> https://wpgeodirectory.com/support/topic/individual-fields-for-template-of-details-page/#post-52283 Mon, 07 Sep 2015 15:33:12 +0000 Paolo You are welcome! 🙂

]]>