GeoDirectory Supporthow to modify detail page – GeoDirectory Support https://wpgeodirectory.com/support/topic/how-to-modify-detail-page/feed Sun, 29 Mar 2026 10:58:00 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/how-to-modify-detail-page/#post-8561 <![CDATA[how to modify detail page]]> https://wpgeodirectory.com/support/topic/how-to-modify-detail-page/#post-8561 Tue, 15 Jul 2014 21:08:58 +0000 j007w Hi guys,

How do I modify pages such as the detail page or the listing page? In the GeoTheme I’d make a copy of those files and put into the child theme directory and modify them. Do I do the same with WPDirectory?

For example, do I copy geodiretoy_template_actions.php into the child theme to modify?

Thanks!

]]>
https://wpgeodirectory.com/support/topic/how-to-modify-detail-page/#post-8562 <![CDATA[Reply To: how to modify detail page]]> https://wpgeodirectory.com/support/topic/how-to-modify-detail-page/#post-8562 Tue, 15 Jul 2014 21:21:38 +0000 Paolo Hi,

only templates can be moved, but you don’t really need to move them to modify them. Because you can use hooks and actions.

geodiretoy_template_actions.php isn’t a template, is the file where the templates actions are declared.

You can find examples of how to modify things within a template using hooks and actions search on the forum add_action and/or remove_action and or do_action.

example: https://wpgeodirectory.com/support/topic/removing-the-share-buttons-from-listing-sidebar/

Templates can be found in geodirectory/geodirectory_templates and have to be moved inside a geodirectory folder within your child theme to be modified.

Thanks

]]>
https://wpgeodirectory.com/support/topic/how-to-modify-detail-page/#post-8563 <![CDATA[Reply To: how to modify detail page]]> https://wpgeodirectory.com/support/topic/how-to-modify-detail-page/#post-8563 Tue, 15 Jul 2014 21:28:30 +0000 j007w Hi Paolo,

You guys are so fast in answering questions! Just want to say I really appreciate you.

OK, please let me know if this is correct. If I want to remove the slider in the detail page, do I put this in the function.php file under the child theme?

remove_action('geodir_details_slider', 'geodir_action_details_slider',10,1 );

Thanks!

]]>
https://wpgeodirectory.com/support/topic/how-to-modify-detail-page/#post-8564 <![CDATA[Reply To: how to modify detail page]]> https://wpgeodirectory.com/support/topic/how-to-modify-detail-page/#post-8564 Tue, 15 Jul 2014 22:00:29 +0000 j007w Hmm…that didn’t work. I also tried adding an action to output ” but that also didn’t work.


remove_action('geodir_details_slider', 'geodir_action_details_slider',10,1 );
add_action('geodir_details_slider', 'geodir_action_details_slider_custom',10,1 );
function geodir_action_details_slider_custom() {
	echo '';	
}

Any thoughts? THANKS!

]]>
https://wpgeodirectory.com/support/topic/how-to-modify-detail-page/#post-8565 <![CDATA[Reply To: how to modify detail page]]> https://wpgeodirectory.com/support/topic/how-to-modify-detail-page/#post-8565 Tue, 15 Jul 2014 22:14:01 +0000 Paolo Hi again,

close enough:




remove_action( 'geodir_details_main_content', 'geodir_action_details_slider',30);

Thx

]]>
https://wpgeodirectory.com/support/topic/how-to-modify-detail-page/#post-8567 <![CDATA[Reply To: how to modify detail page]]> https://wpgeodirectory.com/support/topic/how-to-modify-detail-page/#post-8567 Tue, 15 Jul 2014 22:30:20 +0000 j007w YES! It worked!

Thanks, Paolo!

]]>
https://wpgeodirectory.com/support/topic/how-to-modify-detail-page/#post-18012 <![CDATA[Reply To: how to modify detail page]]> https://wpgeodirectory.com/support/topic/how-to-modify-detail-page/#post-18012 Sat, 11 Oct 2014 05:56:34 +0000 frantletle Clarification:

When you say…

Templates can be found in geodirectory/geodirectory_templates

you mean the full path is:

/wp-content/plugins/geodirectory/geodirectory_templates

The reason I ask is because I haven’t ever seen parent/child themes setup like this (not that I’ve seen them much).

]]>
https://wpgeodirectory.com/support/topic/how-to-modify-detail-page/#post-18051 <![CDATA[Reply To: how to modify detail page]]> https://wpgeodirectory.com/support/topic/how-to-modify-detail-page/#post-18051 Sat, 11 Oct 2014 17:24:04 +0000 Paolo Hi,

yes the full path is /wp-content/plugins/geodirectory/geodirectory_templates

The way our plugin work isn’t much different from woocommerce to name one.

The main difference is that we also made it possible to perfectly integrate GD into any theme, without having to move GD templates inside your theme.

You can modify any template via hooks and actions in your child theme functions.php.

Taking one of the compatibility pack we made availalbe on wordpress.org/plugins as an example is the best way to learn how this can be done.

Thx

Thanks

]]>