03/23/2017 at 10:23 am
#416813
Keymaster
@ Jennifer
re: I’m not having luck importing the family name from a CSV (the other fields work fine). Am I missing something, or is it not possible to specifically import the family name?
Families can only be created in the admin after the individual have been imported.
re: I can import the link URL and title, but is it possible to specify the link target as well? If not, is there any code that can be added to the card.php file to make an entry’s web site link open in a new window by default?
Correct, the setting can not be imported at this time.
This code snippet should force all links to open in a new window (untested) regardless of the setting.
add_filter( 'cn_link', 'cn_link_target' );
function cn_link_target( $link ) {
$link->target = 'new';
return $link;
}
Hope that helps, let me know.
-
This reply was modified 5 years, 11 months ago by
Steven Zahm. Reason: Correct misspelling