Quick and Simple WordPress Shortcode – Straight from the Developers Desk

Andrew

October 1, 2014

Interested in creating custom shortcodes in WordPress? It is really easy.  Below is an example of a shortcode that we recently used:

Screenshot on 10.1.2014 at 10.27.05 AM

You can add this directly to the functions.php file.  Something to keep in mind is that you do not want to echo anything, so just set variables then return whatever at the end.  This short code lists all practice areas when you enter “[list_practices]” in the text editor in WordPress.

Related Articles in Coding, WordPress,

Our Services for Law Firms


Leave a Reply

Your email address will not be published. Required fields are marked *

*

 

X PaperStreet slider logo

Free Consultation

Impress & Get Results.

Want a “wow” site now?

Get a quote.