for question 3, has found this code in ad.php
$slug = StringUtf8::makePermalink($ad->title);
how to replace the html from $ad->title to the custom field that I want in the database? example in the database -> ad_field_description, i’ve a custom field name Block, I want to retrieve the value of Block and replace it with $ad->block, how to do that? please advice, help……….