Solved

Change wordpress theme shortcode programmatically

Posted on 2013-12-03
1
691 Views
Last Modified: 2013-12-03
My genius managers decided to change our theme for our wordpress site and the new theme uses a different "shortcode" for tabs so now on every page I have to change:

[tabs style="boxed"]
[tab title="1. People"]

to

[neo_tabgroup]
[neo_tabs title]

Is there a way to programmatically change these codes so I dont have to cut and paste all of them.

-Thx
0
Comment
Question by:Oscar9ertango
1 Comment
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 39693622
Yes, you should be able to search and replace directly in the wp-posts table to change shortcodes.  If SQL queries are not your strong suit, you can try a plugin:

http://wordpress.org/plugins/search-and-replace/
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question