• Hi Michael,

    First off excellent plugin, it’s helping me with so many things on my site. I’ve run into a problem though with the output of one of my shortcodes. I’m trying to filter based on the user’s submitted login but want the filter to be dynamic based on who’s currently logged in. I’ve created my own short code [user-login] to display the currently logged in user’s login name and want it to be the filter parameter in my CFDB shortcode. Right now I have it set up as:

    [cfdb-html form=”FORM NAME” show=”COLUMN1″ filter=”Submitted Login=[user-login]”]CONTENT[/cfdb-html]

    So the goal is for [user-login] to display the currently logged in user name and then the cfdb shortcode would use that as the input for the filter parameter. Is this possible? I believe I’m just trying to get shortcode functionality in the field. Or is there another way to accomplish this dynamic output?

    Thanks in advance for your help,
    Jon

    http://wordpress.org/extend/plugins/contact-form-7-to-database-extension/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dynamic Output for Shorcodes’ is closed to new replies.