Title: Report Title based on URL Variable
Last modified: August 31, 2016

---

# Report Title based on URL Variable

 *  [andywt](https://wordpress.org/support/users/andywt/)
 * (@andywt)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/report-title-based-on-url-variable/)
 * Mike, Based on a URL parameter, I’d like to echo a line at the beginning of the
   report. Any suggestions for accomplishing this? Thanks in advance!
 * [https://wordpress.org/plugins/contact-form-7-to-database-extension/](https://wordpress.org/plugins/contact-form-7-to-database-extension/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/report-title-based-on-url-variable/#post-7047950)
 * I suggest to install my [Shortcodes Actions And Filters](https://wordpress.org/plugins/add-actions-and-filters/screenshots/)
   plugin, create a short code with just the line `echo $_REQUEST['parameter'];`
   then add that shortcode additionally to the post.
 *  Thread Starter [andywt](https://wordpress.org/support/users/andywt/)
 * (@andywt)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/report-title-based-on-url-variable/#post-7048166)
 * Michael,
    Thanks for the suggestion. I have been playing around with this but
   am missing something. How do to tell the new short code which cfdb function you
   are extending. For example if i am trying to extend the cfdb-datatable shortcode
   to include the `echo $_REQUEST['parameter']` , how do I import that functionality
   in my new shortcode?
 *  Plugin Author [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/report-title-based-on-url-variable/#post-7048168)
 * My understanding is that you want something printed at the beginning (before)
   the table. Make a short code that echos the value put that SC in your post. Follow
   it immediately by the cfdb short code in your post. They are 2 independent short
   codes.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Report Title based on URL Variable’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/contact-form-7-to-database-extension_ffffff.
   svg)
 * [Contact Form DB](https://wordpress.org/plugins/contact-form-7-to-database-extension/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-to-database-extension/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/report-title-based-on-url-variable/#post-7048168)
 * Status: not resolved