• Resolved Phillip Dews

    (@phillipdewsblogger)


    Hello everyone,

    I am a theme developer and I have created a custom theme for a client to replace the Genesis dependant Magazine Pro theme already on his main site.

    I installed the plugin on my test site and created 1 simple form called quote form, using the shortcode I have insalled the form as a modal popup in my header.php file as well as on my homepage.php and I have created 2 sidebars called sidebar-page.php & sidebar-post.php and placed the form at the top of those 2 sidebars so they show up on all pages and all posts as well.

    The site itself has a total of 49 pages and 172+ posts. I have since learned off my client that he wants to know the specific page/post the user on the site submitted the quote form from and im wondering if this is possible to find out using this plugin or if there is a specific function needed to placed in my functions.php file.

    Many thanks,
    Phillip Dews

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @phillipdewsblogger — Good question!

    You can absolutely achieve this by:
    1. Add a Single Line Text field.
    2. Add the smart tag of {page_title} in the Default Value of the above mentioned field.

    3. Using CSS hide the Single Line Text field — this way the field will not be visible on the front end.

    Hope this helps! ??

    Thread Starter Phillip Dews

    (@phillipdewsblogger)

    Hi @niksebastian,

    Thank you I thought so as well, I hope it helps a few others out there as well.
    Yes it did help and it works perfectly for my client now having tested it a couple of times. Looks like I am nearly ready to launch the site so for this I thank you.

    Phillip

    Thread Starter Phillip Dews

    (@phillipdewsblogger)

    Hi @niksebastian,

    Is it possible to get the page/post URL instead of the page/post title at all?
    Many thanks,

    Phillip

    Hi @phillipdewsblogger – to achieve what you have mentioned, please use the smart tag {page_url}

    Hope this helps ??

    Hi @phillipdewsblogger – We haven’t heard back from you in a few days, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Page/Post details on Submission’ is closed to new replies.