WordPress.org

Ready to get started?Download WordPress

Forums

About meta tags (1 post)

  1. InterArt
    Member
    Posted 2 years ago #

    Hello everyone.
    I need delete string in posts of next type:
    <meta name="Robots" ... />
    And I wrote regular expression
    $content = preg_replace('#<meta name=\'robots\'[^>]+>#i', '', $content);
    But this not help me. And I do not know how to change code between <head> ... </head>).
    Thanks for Help.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.