How do I document the shortcodes on existing WordPress website that I have inherited?

Posted on 2015-01-20
Last Modified: 2015-01-26

I have inherited a Wordpress website with no documentation. I can see lots of shortcodes in the page designs. I can also see lots of parameters within some of the shortcodes.

Is there any way to interrogate/view some config files to at least see what the shortcodes and options are? In that way I could then play with each short code on a new page to see what it does?

Thanks in advance!
Question by:everycloud
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
LVL 29

Expert Comment

ID: 40559315
I think this plugin called "My shortcodes" will export your shortcodes as script into a file,
you could then see the list from there?

Author Comment

ID: 40559468

Thanks for your prompt response. I have installed this plugin, but it only seems to allow me to export shortcodes that have been created within this plugin. It doesn't work for the many shortcodes that were already coded before the plugin was installed.

Do you know of anything that will collate all of my pre-existing shortcodes?

Accepted Solution

Alicia St Rose earned 150 total points
ID: 40562653
I would simply go file by file and do a search for "shortcode". Starting with functions.php file. You may find them all there.
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

LVL 29

Assisted Solution

chilternPC earned 350 total points
ID: 40563983
a lot of  the shortcodes will be in the plugins as well as the current theme.

copy the site locally and use a package like Dreamweaver and search the entire file system of the website (well wp-content folder)  the code for  "add_shortcode"

this will list all the short codes registered and the associated function
you'd have to then open  the function to see the options etc..

Expert Comment

by:Alicia St Rose
ID: 40565765
One thing I guess I forgot to ask:

When you say you see them in the "page design" are you talking about the template files (ending in .php on the server with "do_shortcode", "add_shortcode") or in the editor as shortcodes: [shortcode][/shortcode]?

Author Comment

ID: 40570364

@LaughHearty - i meant in the Editor. Sorry for not being clear! Thanks for the advice to use Dreamweaver. I have a copy lying around so will give it a go.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

If you are looking for plug-ins to add functions to your WordPress small business web site, take some time to read though this comprehensive list.  These are all the plugins I use for my customers WordPress web sites, as well as my own.  Be sure to …
I want to start by talking about the use of plug-ins for WordPress. I started a web-site for a company I was working for a few years ago; I had extremely basic knowledge of HTML. I am a Graphic Designer by trade so I invited the opportunity as a cha…
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and Log…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: : Click on Too…

734 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