Plugin Author
Steven
(@shazahm1hotmailcom)
@ Trickshot699
New link options can be added using a filter.
Here’s how…
Install the Code Snippets plugin and add a new snippet with the following code:
add_filter( 'cn_link_options', 'cn_custom_link_types' )
function cn_custom_link_types( $options )
$options['case_study'] = 'Case Study';
$options['youtube_channel'] = 'Youtube Channel';
return $options;
}
Save and activate the new snippet.
That should do it.
Hi.
Followed the instructions to the letter.
Unfortunately nothing has changed. Cleared cache etc but no joy. Any other suggestions?
Thanks for your help
Richard
Plugin Author
Steven
(@shazahm1hotmailcom)
Sorry, a couple small typos… use this:
add_filter( 'cn_link_options', 'cn_custom_link_types' );
function cn_custom_link_types( $options ) {
$options['case_study'] = 'Case Study';
$options['youtube_channel'] = 'Youtube Channel';
return $options;
}
Plugin Author
Steven
(@shazahm1hotmailcom)
Great to hear!
If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
https://ww.wp.xz.cn/support/view/plugin-reviews/connections