Move category description

This topic contains 7 replies, has 3 voices, and was last updated by  cyril lansade 7 years, 9 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #366867

    cyril lansade
    Expired Member
    Post count: 150

    Hello,

    Previously you helped me move the Listing page title to just before the listings (I use your starter theme). I’ve just started using the category description field and want move that as well.

    I’ve managed to add the description to where I want, but can’t remove it.
    https://medrate.asia/sg/doctors/doctors-singapore/

    Could you take a look at my code?

    
    
    remove_action('geodir_listings_page_description', 'geodir_action_listings_description', 10);
    add_action('geodir_before_listing', 'geodir_action_listings_description', 1);

    Many thanks!

    #367021

    Paolo
    Site Admin
    Post count: 31206

    Hi Cyril,

    sorry for the late reply, a developer has been alerted and he’ll let you know asap.

    Thanks for your patience,

    #367121

    Giri
    Expired Member
    Post count: 3155

    Try this code instead.

    
    
    
    remove_action('geodir_listings_page_description', 'geodir_action_listings_description', 10);
    // CPT description
    if (defined('GEODIR_CP_TEXTDOMAIN')) {
        remove_action('geodir_listings_page_description', 'geodir_cpt_pt_desc', 10);
    }
    add_action('geodir_before_listing', 'geodir_action_listings_description', 1);
    #367147

    cyril lansade
    Expired Member
    Post count: 150

    Hello,

    No worries about the delay 🙂

    I’ve tried that code and unfortunately it doesn’t seem to work – the description is still in it’s original position.

    Any ideas?

    #367151

    Giri
    Expired Member
    Post count: 3155

    Can you post your login details?

    Thanks

    #367197

    cyril lansade
    Expired Member
    Post count: 150
    This reply has been marked as private.
    #367200

    Giri
    Expired Member
    Post count: 3155

    Modified the snippet.

    Thanks

    #367206

    cyril lansade
    Expired Member
    Post count: 150

    Great thank you! By the looks of the code I had no hope of getting there by my self!

    🙂

Viewing 8 posts - 1 through 8 (of 8 total)

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount