Skip to content

Instantly share code, notes, and snippets.

@billerickson
Created November 30, 2017 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save billerickson/55af4383792dd67485a940dc92eef8e0 to your computer and use it in GitHub Desktop.
Save billerickson/55af4383792dd67485a940dc92eef8e0 to your computer and use it in GitHub Desktop.
<?php
/*
* Future Developer: These placeholder shortcodes are for you. If you are not using the module
* template in your new theme but would like to retain the dynamic features (ex: recent posts),
* build out these shortcodes. The shortcodes have been included in the post content, but the
* `__return_false` makes them not visible on frontend. This way you can add back that functionality
* without having to manually update every page that needs it.
*/
add_shortcode( 'module_recent_posts', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment