Replace all X Custom headlines with SQL

Hi,

I like to replace all my X headlines with regulat “h” headlines. So:

[x_custom_headline type=“left“ level=“h2″ looks_like=“h3″]Here is the headline[/x_custom_headline]
should replaced to
<h2>Here is the headline</h2>

and

[x_custom_headline type=“left“ level=“h3″ looks_like=“h7″]Here is another headline[/x_custom_headline]
should replaced by
<h3>Here is another headline</h3>

I have more than 1000 posts, so doing this manually would take weeks or month… :frowning:

Can you maybe help me to find the right SQL query (regex) to update this directly in the database?

Hey @michaelxxx,

I’m sorry to say that we cannot provide a solution for that as writing custom codes including SQL queries is beyond the scope of our theme support.

Please consider subscribing to our One premium support where we can lead you in the right direction.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.