Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ sebastien
Sorry, no, there is not an option to display it after the cards.
Steven Zahm
Keymaster@ Debra
RE: I have looked in Chrome, Safari and Firefox and the images do not show on the initial page.
Must be something to your local computer/network then. I see the images. Please see the attached screenshot.
This does not seem to be a issue for the general public, like myself. Perhaps try your phone browser while not connected to your local wifi (in other words use your phone data).
Attachments:
You must be logged in to view attached files.Steven Zahm
Keymaster@ Debra
Took a look and the images seems to be displaying fine. Do you perhaps have some sort of browser addon for blocking ads. Unlikely, but possible, that it could be blocking them on your computer.
Hope this helps!
Steven Zahm
Keymaster@ sebastien
RE: I have 2 time the website ?
This is because you enabled the
show_linksshortcode option. To disable the link at the bottom addenable_website_link=falseto the existing shortcode.RE: for public the form is perfect but if my customer connect in wordpress email adress appair in the card ?
Sorry, no, this is not possible because one of the primary features in Contact is to hide the email addresses to keep them private.
RE: is possible too alphanumerique et page arrow appair up and down page
Sorry, I am not quite sure what you are asking. Can you give more details.
Steven Zahm
Keymaster@ HeatherG
Good to hear this corrected the issue. I really need to add a check that the page was set and that it does contain the shortcode before activating the customizer button. And display a user message explaining what they need to do to fix it.
Steven Zahm
Keymaster@ HeatherG
Have you setup a directory home page with the
[connections]shortcode?Have you set that page as the homepage on the Connections : Settings admin page?
Steven Zahm
Keymaster@ Jamii
Sorry, I had the page open already so I did not see your follow up up reply.
In this case, I recommend hooking in the to
cn_output_datefilter. It passes four attributes.$html:: This is the html of the date row. Return the HTML as you need with the altered date format. Refer to the../wp-content/plugins/connections/templates/entry/dates/dates-hcard.phpfile for the HTML markup.$date:: This is a cnEntry_Date object. Calling$date->getDate()returns a DateTime object. Calling$date->getType()will return the date type.$entry:: This is the current entry.$atts:: The current shortcode options.
With a filter applied to
cn_output_dateyou’ll be able to check for the date type and alter the format as needed.Hope this helps!
Steven Zahm
Keymaster@ Jamii
Navigate to the Connections Settings admin page and click the Display tab. The date format can be adjusted to omit the year.
Hope this helps!
Steven Zahm
Keymaster@ Wes
Set the list type to
familyon your existing directory page.Create a second page. The name is not important, but I recommend giving it a page name of “Individual”. Set the Page Parent to the current directory page. In the page content use just the
[connections]shortcode, no options. Take note of the page ID assigned by WordPress. This can be found in the browser address bar. The page ID will only be given after you save the page.Edit the original directory page and set the home_id shortcode option to the new page ID. Your shortcode should look like this:
[connections list_type="family" home_id=X]Xequals the page ID of the new page.After you save the change, take note of the page ID.
Now edit the new page and update the shortcode so it looks like this:
[connections home_id="Y"]Yequal the original directory page ID.On your sites menus/nav. Make sure to link to only the original directory page.
Now when you click on a family member name, it resolve to the new page showing their details. And because the directory on the original page is limited to the family type, it will display only families and not the individual entries linked to a family.
The one downside is that individuals (who are not part of a family) have to be added as a family so they show up in the directory.
Hope this helps!
Steven Zahm
Keymaster@ Joshua
RE: provide an example of adding a website link programmatically?
It is much like adding an address. Here’s and expended example from my original reply.
$entry = new cnEntry(); $entry->setStatus( 'approved' ); $entry->setEntryType( 'organization' ); $entry->setOrganization( '~Test' ); $entry->addresses->add( new cnAddress( array( 'line_1' => '1600 Pennsylvania Ave NW', 'city' => 'Washington', 'state' => 'DC', 'zipcode' => '20500', ) ) ); $entry->links->add( new cnLink( array( 'title' => 'Connections Business Directory Plugin for WordPress', 'url' => 'https://connections-pro.com', ) ) ); $result = $entry->save(); if ( FALSE !== $result ) { $default = get_option( 'cn_default_category' ); Connections_Directory()->term->setTermRelationships( $entry->getId(), $default, 'category' ); }Hope this helps!
-
AuthorPosts
