Forum Replies Created

Viewing 1 replies (of 1 total)
  • Vin I could not work out how to do this either, but I’m pretty sure you could edit this part to include more matches…

    For instance I really want to avoid any links in captions as it looks very unprofessional and weird.

    Maybe someone can give us a code example of excluding say H tags like below and something like <figcaption></figcaption> etc.

    if ($options[‘excludeheading’] == “on”) {

    $text = preg_replace_callback(‘%(<h.*?>)(.*?)(</h.*?>)%si’, function($m) {
    return $m[1].SEOAutoReSpecChar($m[2]).$m[3];
    },
    $text

Viewing 1 replies (of 1 total)