Title: Custom Shortcode Doesn&#8217;t Always Work
Last modified: November 2, 2022

---

# Custom Shortcode Doesn’t Always Work

 *  Resolved [brochite](https://wordpress.org/support/users/brochite/)
 * (@brochite)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/custom-shortcode-doesnt-always-work/)
 * I have two posts where the shortcode isn’t being rendered into HTML. After a 
   lot of HTML/CSS debugging has given me any clues. I haven’t dug into PHP because
   I’m rather inexperienced there so far.
 * The The custom shortcode [lmt-post-modified-info] is simply being skipped, not
   rendered, as I discover when using the Inspect tool in Google Chrome. The curious
   detail is that if I switch to the simple [last-modified] shortcode, it is working.
 * One of these posts was an existing post that had some page-specific CSS, and 
   the other was a brand-new post created from WP-ADMIN. In other words, it’s not
   based on another post’s template that could be masking the issue.
 * I really like the tool, and am ready to give a 5-star review once this is figured
   out because it’s in general a helpful and time-saving plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Evan Mattson](https://wordpress.org/support/users/aaemnnosttv/)
 * (@aaemnnosttv)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/custom-shortcode-doesnt-always-work/#post-16158423)
 * Hi there 👋
 * The `[last-modified]` shortcode is the only one added by this plugin so `[lmt-
   post-modified-info]` must be coming from another plugin or your theme.
 * Wish I could be of more help; good luck!
 *  Thread Starter [brochite](https://wordpress.org/support/users/brochite/)
 * (@brochite)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/custom-shortcode-doesnt-always-work/#post-16159250)
 * That teaches me to try to do debugging in the late night hours. I did have two
   separate and possibly conflicting plugins installed; I got a little plugin happy
   and installed a few too many, and recently went on a diet.
 * Thanks for taking the time to respond!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom Shortcode Doesn’t Always Work’ is closed to new replies.

 * ![](https://ps.w.org/last-modified-timestamp/assets/icon-256x256.jpg?rev=3200533)
 * [Last Modified Timestamp](https://wordpress.org/plugins/last-modified-timestamp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/last-modified-timestamp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/last-modified-timestamp/)
 * [Active Topics](https://wordpress.org/support/plugin/last-modified-timestamp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/last-modified-timestamp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/last-modified-timestamp/reviews/)

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 2 replies
 * 2 participants
 * Last reply from: [brochite](https://wordpress.org/support/users/brochite/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/custom-shortcode-doesnt-always-work/#post-16159250)
 * Status: resolved