• Resolved manonetc

    (@manonatelier)


    I need a conditional tag for listings marked as sold, so that I can add it to the body class.

    Anyone know what that would be?

    I tried if (is_mark_as_sold), but it didn’t work.

    Thanks for any help!

Viewing 1 replies (of 1 total)
  • Plugin Author RadiusTheme

    (@techlabpro1)

    Hello,

    Use this code it will work.

    use RtclPro\Helpers\Fns;
    global $listing;
    if(Fns::is_mark_as_sold($listing->get_id())) {
    // write code here
    }

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Conditional Tag for Sold Listing’ is closed to new replies.