Custom Shortcode Doesn’t Always Work

[ad_1]

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.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer