Using the post title in sidebar template
I am using the ‘Great Real Estate’ plugin which allows shortcodes like [lme-module=”schools” city=”atlanta” state=”ga”]
I want the widget to dynamically fill-in the city based on the post title(which I can name the city)
Then I don’t have to manually do the shortcode for each city, which also require multiple sidebars to use on the different post pages. I can have 1 sidebar template and use it for all my cities.
*I tried to use get_tile from the codex but was unsuccessful.
Can this be done relatively easy or will it require coding to the plugin itself?
Thanks in advance
- The topic ‘Using the post title in sidebar template’ is closed to new replies.