Quick and Simple WordPress Shortcode – Straight from the Developers Desk

Services: Law Firm Website Design . SEO . Internet Marketing . Law Firm Marketing Guide . Content Marketing . PPC

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 Posts

Ready to Take Your Website to the Next Level? Great Ideas & Results Only a Phone Call Away

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Let's get started.

Leave a Reply

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