Custom Shortcode Doesn’t 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.
- The topic ‘Custom Shortcode Doesn’t Always Work’ is closed to new replies.