I need to hook a Gravity form above the sidebar on the listing page, as shown in the following image example. The Contact form is a gravity form, so I could technically hook into it im assuming using the do shortcode function. I am new to hooking and filters, so as many baby steps as possible will help me learn. The sidebar contact form that needs to be added has the dark blue background. Another concern I had was if its possible to add layouts to child theme if I make a direct edit without using a function
EDIT: ADDED MORE DETAIL/ THIS IS FOR THE LISTING DETAIL PAGE
I did find the following function possibly helpful
function geodir_action_listings_sidebar_right()
{
if (get_option(‘geodir_show_listing_right_section’)) {
/** This action is documented in geodirectory_template_actions.php */
do_action(‘geodir_sidebar_right_open’, ‘listings-page’, ‘geodir-sidebar-right’, ‘geodir-sidebar-right geodir-listings-sidebar-right’, ‘http://schema.org/WPSideBar’);
/**
* Calls the listings page (category) right sidebar content.
*
* All the content for the listings page right sidebar is added via this hook.
*
* @since 1.0.0
*/
do_action(‘geodir_listings_sidebar_right_inside’);
/** This action is documented in geodirectory_template_actions.php */
do_action(‘geodir_sidebar_right_close’, ‘listings-page’);
}
}