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.
Tagged: 8.4, initial_results, shortcode, str_select
- This topic has 8 replies, 3 voices, and was last updated 7 years, 10 months ago by
Steven Zahm.
-
AuthorPosts
-
08/19/2015 at 1:14 pm #343461
Al Llamas
ParticipantAfter implementing code snippet via QuickTip to hide initial results… I can’t get both
initial_results='false'
andstr_select="I've been changed"
to work at the same time. If I removestr_select="I've been changed"
it works. Any changes I can make to the snippet to get it to play nice together? Thanks!08/19/2015 at 2:14 pm #343471Steven Zahm
Keymaster@ Al
Sounds like you have invalid characters or HTML within the shortcode. Edit the page where you inserted the shortcode and its option. Switch the page editor to the Text tab. Now remove any invalid characters and HTML in and around the shortcode. I do not know what you full shortcode looks like but the options you shown me should look like this:
[connections initial_results='false' str_select="I've been changed"]
Anything else in there would be wrong and should be removed except other options that their values.
Hope helps!
09/21/2015 at 3:39 pm #347584Cyndy
ParticipantSteven, we love your plugin! We are really wanting just one thing to work and would love your help figuring out how to hide the initial results. We’ve followed the QuickTip mentioned in this thread. We’ve added the snippets plugin, the code snippet and activated it, and put the initial_results=’false’ in our Connections shortcode. However, the results still show the first time the page comes up. We also made sure there was no HTML in our Connections shortcode.
Here is the page for our directory:
http://www.parliamentarians.org/directory/Here is the short code we use:
[connections initial_results='false' image='photo' str_image='No Photo Available']Is there any way you could help us figure out why this isn’t working?
Thank you!09/21/2015 at 4:29 pm #347593Steven Zahm
Keymaster@ Michael
The shortcode does look fine… the number two reason is the snippet was not activated. When you add a new snippet, the default action is to save only, not save and activate. Double check to make sure you’ve activated the snippet.
09/21/2015 at 6:48 pm #347614Cyndy
ParticipantThanks for the quick response! I show the snippet as active. Any other ideas?
09/22/2015 at 11:00 am #347762Steven Zahm
Keymaster@ Michael
I just doubled checked the QuickTip to make sure it still works and it does for me. The only other reason it would not work is that there was a copy/paste error. Try copy/pasting it again making sure to carefully to select all the code.
10/17/2015 at 6:36 pm #350885Cyndy
ParticipantHi Steven. I was on vacation for a week and just now saw that you replied with another thing to try. We updated our Snippets plugin and Connections plugins and then recreated the snippet very carefully, making sure that the syntax editor was color coding the sections properly, and it was. We created a test page here:
http://www.parliamentarians.org/test/that only has this code in it:
[connections initial_results='false']Is there anything else you can think of for us to try? Thank you so much for helping us through this.
10/19/2015 at 10:28 am #350941Steven Zahm
Keymaster@ Cyndy
If you give me a temp WP admin login, I’ll take a quick look.
11/17/2015 at 11:03 am #355333Steven Zahm
Keymaster@ Cyndy
Please do not reply to the automatic posting notification emails. Generally I never receive replies to these emails because they are generated by an automated mailer in an unmonitored account. Thanks!
The issue is that you placed the Connections shortcode in a visual page builder of sorts which I’m guessing is provided by the theme. Correct? The code snippet will only be run on a filter applied to the actual page content. If you move the shortcode from the page builder and put it at the bottom of the page content (make sure you use the text tab when you copy paste) the initial search result snippet will work just fine.
Hope that helps!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.