Template inconsistencies

This topic contains 18 replies, has 3 voices, and was last updated by  Giri 7 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #303394

    cyril lansade
    Expired Member
    Post count: 150

    Hello again

    So I’ve moved over to the theme and yup things are much better. So that is good.

    In regard to moving the header into the page content using the following:

    remove_action(‘geodir_listings_page_title’, ‘geodir_action_listings_title’, 10);
    add_action(‘geodir_before_listing’, ‘geodir_action_listings_title’, 1);

    How do I do the same for the Search results page? I tried something like below but to be honest I really don’t know how it all works. If you have any documentation for things like this it would be great!

    remove_action(‘geodir_search_page_title’, ‘geodir_action_search_title’, 10);

    Thanks!

    #303997

    Giri
    Expired Member
    Post count: 3155

    Use this code

    
    
    remove_action('geodir_listings_page_title', 'geodir_action_listings_title', 10);
    remove_action('geodir_search_page_title', 'geodir_action_search_page_title', 10);
    add_action('geodir_before_listing', 'geodir_action_listings_title', 1);
    

    We have docs for all actions. https://wpgeodirectory.com/codex/codex_project/geodirectory_actions/

    But its intended for developers.

    Thanks

    #304287

    cyril lansade
    Expired Member
    Post count: 150

    Perfect thank you! Happy to have this marked as resolved.

    Thanks guys!

    #304639

    Giri
    Expired Member
    Post count: 3155

    You are welcome.

Viewing 4 posts - 16 through 19 (of 19 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket