I’m not 100% sure what you mean by this. Can you link me to such a page on your site, or at least send a screenshot of the issue?
Thanks!
Hi Adam,
Thanks for your reply.
We are creating multiple Gravity Forms forms and inserting these into job detail pages using the appropriate Gravity Forms shortcode. The reason we are doing this is because we want different job enquiries to be sent to different email addresses.
The issue is that when I insert the Gravity Form shortcode it displays in the job summary on the list page.
For example, [gravityform id=”1″ title=”true” description=”true”] displays in the job listing summary.
I was wondering if there was a way to stop this shortcode from displaying in the job listing page. We only want this to display the actual form on the job detail page.
Thanks!
Hi Adam,
Here is a link to a screenshot:
https://www.dropbox.com/s/gd53f8uswlxottu/screenshot.png?dl=0
Thanks again for your help!
We are creating multiple Gravity Forms forms and inserting these into job detail pages using the appropriate Gravity Forms shortcode. The reason we are doing this is because we want different job enquiries to be sent to different email addresses.
Why not just have whoever needs to receive the applications post the job? That way, their email is attached to the job listing and they will get notified when people apply.
Is there some reason you aren’t doing that?
I was wondering if there was a way to stop this shortcode from displaying in the job listing page. We only want this to display the actual form on the job detail page.
I’m not sure what theme or custom code you’re using to display the excerpts on the job listing page (doesn’t look familiar to me), but you might try running the excerpt through the strip_shortcodes function before outputting it:
https://codex.wordpress.org/Function_Reference/strip_shortcodes
Like I said, you may need to override a theme template to do this, I’m not sure, but I would think that’d strip out the shortcode from the excerpt at least.
Let me know if there’s anything else I can help with! 🙂 Thanks!
Hi Adam,
That sounds like it will work nicely. I will let you know if I have any further issues.
Thanks so much!