AndrewQuick and Simple WordPress Shortcode – Straight from the Developers Desk

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.

Comments? Let us know your thoughts.

Leave a Reply

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




Our Newsletter

About Us

PaperStreet is a law firm web design and attorney internet marketing company, and provides law firm SEO. We create websites for lawyers that impress and get results. Founded by a lawyer, for lawyers, we have helped over 1,300+ law firms since 2001.

Free Website Analysis & Consultation. Contact Us Today