Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
- This topic has 4 replies, 2 voices, and was last updated 11 years, 3 months ago by
Jay Philips.
-
AuthorPosts
-
05/04/2015 at 10:33 pm #333425
Jay Philips
ParticipantHi,
I want to use the form as is but I’d like to add text above the form when someone is submits an entry. I can’t seem to find the template/page that the form is using as it seems to use the same page as the main Directory page.
Can you tell me how to make the Submit an Entry to be pulled into a different page so I can add text above the form and that text won’t be displayed on the main directory page?
Thank you,
Jay-
This topic was modified 11 years, 3 months ago by
Jay Philips.
05/05/2015 at 1:56 pm #333476Steven Zahm
Keymaster@ Jay
This can be done by adding a action. Here’s how…
First, install the Code Snippets plugin.
Add a new snippet with the following code:
add_action( 'cn_form_edit_entry_before', 'cn_form_before_message' ); function cn_form_before_message() { ?> My Message Here! <?php }Change My Message Here! to what you want.
Save and activate the new snippet.
That should do it. Hope that helps!
-
This reply was modified 11 years, 3 months ago by
Steven Zahm. Reason: Syntax highlight the code
-
This reply was modified 11 years, 3 months ago by
Steven Zahm. Reason: Syntax highlight the code
05/05/2015 at 3:52 pm #333502Jay Philips
ParticipantHmm… I tried that but it doesn’t seem to work. Must be the template I’m using.
05/05/2015 at 4:06 pm #333505Steven Zahm
Keymaster@ Jay
The template will not matter because the action is a Form action. It seems I did not wrap the code correctly, so if you copy/pasted it without correcting it first, it would not work. Please try again with the above code.
05/05/2015 at 4:27 pm #333507Jay Philips
ParticipantThank you, it worked great.
-
This topic was modified 11 years, 3 months ago by
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
