WordPress.org

Ready to get started?Download WordPress

Forums

Smart Maps - trying to use ShortCode within a template (1 post)

  1. bravenewniche
    Member
    Posted 5 years ago #

    I'm working on a real estate site and I'd like live Google maps on each house's post. But I don't want the client to have to do anything extra while creating the post - some GM plugins have an box in the post editor screen where you'd enter a location for the map. Sounds nice and simple, but we all know how clients can find even the simplest task daunting :-)

    So I'm trying to embed Smart Maps coding within the template page, immediately after the_content() runs. I figured that because I'm still in The Loop that anything using ShortCode would still work - but clearly not.

    Of course if I put the code into the post itself, it works like a charm, but again, I don't want the client to have to deal with it at all (they'll mess it up and call me...)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.