GeoDir_Compatibility::dynamically_add_post_meta – Resource Usage high

This topic contains 8 replies, has 3 voices, and was last updated by  distressedmullet 5 years, 2 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #509999
    #510024

    Alex Rollin
    Moderator
    Post count: 27815

    It is used several/multiple times on the same page.

    Have you used it? Created a shortcode with GD Post Meta with the shortcode builder?

    #510043

    distressedmullet
    Expired Member
    Post count: 26

    On the archive item page, we call it like twice…but only there. We use the post badge a few times.

    We do have a fair history of – especially classifieds – that I could purge older listings if that would help.

    Thanks for any guidance you can provide.

    Tim

    #510054

    Alex Rollin
    Moderator
    Post count: 27815

    It is also used for each item in GD Output Location

    #510072

    distressedmullet
    Expired Member
    Post count: 26

    Yes, ok…that’s explaining its call count. Thoughts on making it faster? See my question above.

    #510560

    distressedmullet
    Expired Member
    Post count: 26

    Just checking in…thoughts?

    #510613

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Tim,

    That call usually tries to make your theme page settings work on the template pages. The call can be disabled with this code snippet (not tested)

    remove_filter( 'get_post_metadata', array( 'GeoDir_Compatibility', 'dynamically_add_post_meta' ), 10, 4 );

    What theme are you using?

    Stiofan

    #510618

    distressedmullet
    Expired Member
    Post count: 26

    Hey Stiofan,

    Using Newspaper theme. I gave it a try – and i’ll run New Relic on it and see what I see now. Thanks for the help…i’ll get back to you to report/close this out in the next day or so.

    Thanks, Tim

    #512029

    distressedmullet
    Expired Member
    Post count: 26

    Just checking back in. I think it made a difference, in that I don’t that compatibility load….so yay. thanks for the help!

Viewing 9 posts - 1 through 9 (of 9 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