Title: shortcode for organization
Last modified: April 27, 2023

---

# shortcode for organization

 *  Resolved [dtomas](https://wordpress.org/support/users/dtomas/)
 * (@dtomas)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/shortcode-for-organization/)
 * I created a page and added 3 short codes to show specific organizations as follows.
 * [connections organization=’Company1′ show_alphahead=’false’ show_alphaindex=’
   false’]
 * [connections organization=’Company2′ show_alphahead=’false’ show_alphaindex=’
   false’]
 * [connections organization=’Company3′ show_alphahead=’false’ show_alphaindex=’
   false’]
 * The page shows the connections as expected but the issue I’m running into is 
   when I click on either Company2 or Company3 name links, the page refreshes the
   page and removes any of the connections as if they don’t exist for all connections
 * If I click on Company1, it expands the Company1’s connection info but Company2&
   Company3 then disappears.
 * If I create a page and just add the shortcode [connections], the connections 
   behaves properly.
 * What would cause this to behave this way?
 * The site is not a public site; it is for our internal local network use only.
 * TIA

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

 *  Plugin Author [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * (@shazahm1hotmailcom)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/shortcode-for-organization/#post-16693416)
 * If I understand what you are attempting to accomplish, please try adding the `
   lock` shortcode option. Here’s the link to the documentation where you can learn
   more:
    - [https://connections-pro.com/documentation/shortcodes/connections/#lock](https://connections-pro.com/documentation/shortcodes/connections/#lock)
 * Alternatively, perhaps the `[cn-entry]` shortcode would be a better option. Here’s
   an example:
 * `[cn-entry id=n]`
 * The `n` in the above example would be the Entry ID. This can be found on the 
   Connections Manage admin page.
 * I hope this helps; please let me know.
 *  Thread Starter [dtomas](https://wordpress.org/support/users/dtomas/)
 * (@dtomas)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/shortcode-for-organization/#post-16693462)
 * Hey Steven,
   Thank you for reply. Adding the lock=’TRUE’ did not resolve the issue.
   using the cn-entry have its own weird behavior. When you enter the page, Company1
   shows its connection info while Company2 & Company3 only shows the organization
   link name. When you click on Company1, it expands connections info as expected
   but it also expands Company2 & Company3 but without content and displays “Go 
   back to directory”
 *  Plugin Author [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * (@shazahm1hotmailcom)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/shortcode-for-organization/#post-16693624)
 * Since I can not see the site, can you please share screenshots of both the shortcodes
   in use and the results? Thanks!
 *  Thread Starter [dtomas](https://wordpress.org/support/users/dtomas/)
 * (@dtomas)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/shortcode-for-organization/#post-16695471)
 * Good morning Steven,
   I updated the plugin and the behavior changed quite a bit
   better. Now the page shows the proper connections for each company but if I click
   on a company, it still expands all of the connections for all companies. I tried
   to add the lock=’TRUE’ but it did not make any difference. I tried to attach 
   screenshots but “File uploading is disabled”. I can email them to you if you 
   could share your email address. thank you.
 *  Plugin Author [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * (@shazahm1hotmailcom)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/shortcode-for-organization/#post-16695897)
 * **RE: I updated the plugin and the behavior changed quite a bit better. Now the
   page shows the proper connections for each company**
 * That is odd; the last update has had no functionality changes. Primarily it was
   removing old unused code to reduce resource usage. What version did you upgrade
   from? A much older version?
 * **RE: I tried to attach screenshots but “File uploading is disabled”.**
 * You must use the insert from URL option when adding the Image block in your reply.
 * **RE: if I click on a company, it still expands all of the connections for all
   companies.**
 * I’ve noticed you said this a few times. What do you mean by expanding? Are you
   using one of the premium templates?
 *  Thread Starter [dtomas](https://wordpress.org/support/users/dtomas/)
 * (@dtomas)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/shortcode-for-organization/#post-16696097)
 * The site is fairly new, about 4 weeks old so the plugin would have been the prior
   version to 10.4.40.
 * I uploaded the screenshots temporarily to another site for you to see the images.
 * [https://transporter.icl-imaging.com/admin/configuration/branding/assets/01-page-shortcode.png](https://transporter.icl-imaging.com/admin/configuration/branding/assets/01-page-shortcode.png)
 * [https://transporter.icl-imaging.com/admin/configuration/branding/assets/02-page-view.png](https://transporter.icl-imaging.com/admin/configuration/branding/assets/02-page-view.png)
 * [https://transporter.icl-imaging.com/admin/configuration/branding/assets/03-page-clicked-on-1st-link-expanded-view.png](https://transporter.icl-imaging.com/admin/configuration/branding/assets/03-page-clicked-on-1st-link-expanded-view.png)
 *  Plugin Author [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * (@shazahm1hotmailcom)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/shortcode-for-organization/#post-16696144)
 * I’m receiving an _Oops! This page doesn’t exist…_ error when I visit those links.
   Are they private, do they need to be made public?
 *  Thread Starter [dtomas](https://wordpress.org/support/users/dtomas/)
 * (@dtomas)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/shortcode-for-organization/#post-16696200)
 * Sorry about that, please use these links. I tested these and they work.
 * [https://www.icl-imaging.com/wp-content/uploads/01-page-shortcode.png](https://www.icl-imaging.com/wp-content/uploads/01-page-shortcode.png)
 * [https://www.icl-imaging.com/wp-content/uploads/02-page-view.png](https://www.icl-imaging.com/wp-content/uploads/02-page-view.png)
 * [https://www.icl-imaging.com/wp-content/uploads/03-page-clicked-on-1st-link-expanded-view.png](https://www.icl-imaging.com/wp-content/uploads/03-page-clicked-on-1st-link-expanded-view.png)
 * Thank you.
 *  Plugin Author [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * (@shazahm1hotmailcom)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/shortcode-for-organization/#post-16696233)
 * Ok, the screenshots helps a lot. Now I understand. there is not an issue, this
   is as designed. I’ll try to explain.
 * There are two views for most templates (all but one currently). In this case 
   there are two. A list view and the single entry detail/profile view. When you
   click thru to a single entry, the detail/profile view is “triggered” and displayed.
 * I think I understand what you are trying to accomplish, here’s how:
 * Create a new page and add the `[connections]` shortcode.
 * Set this new page as the directory home page:
    - [https://connections-pro.com/documentation/settings/#Home_Page](https://connections-pro.com/documentation/settings/#Home_Page)
 * Edit the existing page that has the `[cn-entry]` shortcodes and add `force_home
   =true` to each instance:
    - [https://connections-pro.com/documentation/shortcodes/cn-entry/#force_home](https://connections-pro.com/documentation/shortcodes/cn-entry/#force_home)(
      I coincidently just finished the first draft of this doc page. It `[cn-entry]`
      has existed in the code for a while. Version 10.4.40 is the first public release
      for it.)
 * With this configuration, when you click on the entry name, you will navigate 
   to the directory home page and display only the clicked entry.
 * I hope this helps; please let me know.
 *  Thread Starter [dtomas](https://wordpress.org/support/users/dtomas/)
 * (@dtomas)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/shortcode-for-organization/#post-16696416)
 * This worked. I actually have a connection home but was currently set to only 
   show [connections category_in=#]. Adding force_home=true to my digital cutter
   page still functioned as you described above. Just one thing though, once it 
   navigates to the clicked entry, I noticed that the Notes field was not displaying.
   In fact, I created a new home page with just [connections] as you described above
   and clicking on entries on this page also does not show the Notes of the connection.
   Is this limited to the premium version of the plugin?
 * Thank you again.
 *  Plugin Author [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * (@shazahm1hotmailcom)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/shortcode-for-organization/#post-16696428)
 * **RE: Notes of the connection. Is this limited to the premium version of the 
   plugin?**
 * No, from the screenshots, it appears you are using the Default template. Correct?
   You can enable the notes using the Template Customizer:
    - [https://connections-pro.com/documentation/template-customizer/#Starting_the_Template_Customizer](https://connections-pro.com/documentation/template-customizer/#Starting_the_Template_Customizer)
 * While in the template Customizer, click an entry name; it does not matter which.
   The preview will refresh, displaying the template’s single-entry detail/profile
   view.
 * Enable the display of the Notes field in the Customizer, save, and publish the
   change. Exit the Customizer.
 * I hope this helps; please let me know.
 *  Thread Starter [dtomas](https://wordpress.org/support/users/dtomas/)
 * (@dtomas)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/shortcode-for-organization/#post-16696448)
 * That’s awesome! Thank you!

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

The topic ‘shortcode for organization’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/connections_2b7e99.svg)
 * [Connections Business Directory](https://wordpress.org/plugins/connections/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/connections/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/connections/)
 * [Active Topics](https://wordpress.org/support/plugin/connections/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/connections/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/connections/reviews/)

## Tags

 * [query](https://wordpress.org/support/topic-tag/query/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 12 replies
 * 2 participants
 * Last reply from: [dtomas](https://wordpress.org/support/users/dtomas/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/shortcode-for-organization/#post-16696448)
 * Status: resolved