Solved

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

Posted on 2015-01-20
6
72 Views
Last Modified: 2015-01-26
Hi

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!
0
Comment
Question by:everycloud
  • 2
  • 2
  • 2
6 Comments
 
LVL 28

Expert Comment

by:chilternPC
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?

https://wordpress.org/plugins/my-shortcodes/
0
 

Author Comment

by:everycloud
ID: 40559468
Hi

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?
0
 
LVL 7

Accepted Solution

by:
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.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 28

Assisted Solution

by:chilternPC
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..
0
 
LVL 7

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]?
0
 

Author Comment

by:everycloud
ID: 40570364
Hi.

@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.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Like there are many different versions of Wordpress, there are also a handful of related side projects WordPress users should be familiar with.   All of these projects are open source and GPL licensed, which means there are few restrictions to us…
WordPress has made it easy to create scalable sites based on their powerful CMS, but as great as WordPress is, there are some SEO issues that haven’t been addressed out of the box.  Fortunately these problems can be solved with a few plugins.  The f…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

862 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now