Title: Andrew Norcross's Replies | WordPress.org

---

# Andrew Norcross

  [  ](https://wordpress.org/support/users/norcross/)

 *   [Profile](https://wordpress.org/support/users/norcross/)
 *   [Topics Started](https://wordpress.org/support/users/norcross/topics/)
 *   [Replies Created](https://wordpress.org/support/users/norcross/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/norcross/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/norcross/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/norcross/engagements/)
 *   [Favorites](https://wordpress.org/support/users/norcross/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 498 total)

1 [2](https://wordpress.org/support/users/norcross/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/norcross/replies/page/3/?output_format=md)…
[32](https://wordpress.org/support/users/norcross/replies/page/32/?output_format=md)
[33](https://wordpress.org/support/users/norcross/replies/page/33/?output_format=md)
[34](https://wordpress.org/support/users/norcross/replies/page/34/?output_format=md)
[→](https://wordpress.org/support/users/norcross/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Genesis Design Palette Pro - Google Web Fonts] Add Google Font](https://wordpress.org/support/topic/add-google-font/)
 *  Plugin Contributor [Andrew Norcross](https://wordpress.org/support/users/norcross/)
 * (@norcross)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/add-google-font/#post-9053922)
 * Hey there, first off you don’t want to modify the actual plugin files, since 
   they’ll get wiped out whenever an update is released.
 * I’ve written the code to add your font here: [https://gist.github.com/norcross/216407037d09ad49ae7aefc5e9582cdb](https://gist.github.com/norcross/216407037d09ad49ae7aefc5e9582cdb)
 * you’ll want to put that in the theme functions file or a separate functionality
   plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YOURLS Link Creator] Google Analytics Plugin](https://wordpress.org/support/topic/google-analytics-plugin-3/)
 *  Plugin Author [Andrew Norcross](https://wordpress.org/support/users/norcross/)
 * (@norcross)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/google-analytics-plugin-3/#post-8939690)
 * are you asking if mine will support his, or the other way around?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YOURLS Link Creator] Security Error](https://wordpress.org/support/topic/security-error-9/)
 *  Plugin Author [Andrew Norcross](https://wordpress.org/support/users/norcross/)
 * (@norcross)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/security-error-9/#post-8852640)
 * are we talking about the same plugin? mine isn’t called “Better YOURLS” and shouldn’t
   contain those strings.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YOURLS Link Creator] cURL error 28:](https://wordpress.org/support/topic/curl-error-28-3/)
 *  Plugin Author [Andrew Norcross](https://wordpress.org/support/users/norcross/)
 * (@norcross)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/curl-error-28-3/#post-8803037)
 * It looks like it may be a hosting issue, since a cURL error is often tied to 
   the version of cURL that’s running or changes in the firewall settings.
 * Here’s a thread explaining the issue in a different plugin: [https://wordpress.org/support/topic/wp_remote_get-failure-curl-error-28/](https://wordpress.org/support/topic/wp_remote_get-failure-curl-error-28/)
   that outlines a few things to check.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YOURLS Link Creator] SSL support in YOURLS?](https://wordpress.org/support/topic/ssl-support-in-yourls/)
 *  Plugin Author [Andrew Norcross](https://wordpress.org/support/users/norcross/)
 * (@norcross)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/ssl-support-in-yourls/#post-8802768)
 * my apologies for the delay. I’m not 100% sure what that’s the case, I’ll need
   to debug this myself and see what the issue is.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YOURLS Link Creator] Duplicate Shortlink Ref](https://wordpress.org/support/topic/duplicate-shortlink-ref/)
 *  Plugin Author [Andrew Norcross](https://wordpress.org/support/users/norcross/)
 * (@norcross)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/duplicate-shortlink-ref/#post-8802698)
 * Ahh, I see now. There’s two functions in the plugin. One to manually insert the
   link, and one to filter the core function. So in this case, it’s operating twice.
   I’ll add a check in the next release to make sure it isn’t duplicated. Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YOURLS Link Creator] Duplicate Shortlink Ref](https://wordpress.org/support/topic/duplicate-shortlink-ref/)
 *  Plugin Author [Andrew Norcross](https://wordpress.org/support/users/norcross/)
 * (@norcross)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/duplicate-shortlink-ref/#post-8722950)
 * are you running any other plugins that may add this? perhaps Jetpack?
 * as for the function names, I’m aware there are a few that are more generic in
   nature.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Content Update Notification] Notification for custom post type](https://wordpress.org/support/topic/notification-for-custom-post-type/)
 *  Plugin Author [Andrew Norcross](https://wordpress.org/support/users/norcross/)
 * (@norcross)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/notification-for-custom-post-type/#post-8256963)
 * Well, is there some way you can pull a list of the post types that are set up
   the way you want? However you can get an array of the post types you want to 
   have set up, feed that into the function above.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Content Update Notification] Notification for custom post type](https://wordpress.org/support/topic/notification-for-custom-post-type/)
 *  Plugin Author [Andrew Norcross](https://wordpress.org/support/users/norcross/)
 * (@norcross)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/notification-for-custom-post-type/#post-8251274)
 * Yes. you can use the `cun_content_types` filter. Currently the default is posts
   and pages, and the standard way would be to add them. But if you’re adding numerous
   custom post types (which is odd, but that’s neither here nor there) you would
   want to get a list of them by using the `get_post_types` function (using whatever
   criteria fits your need) and then feeding that into the function.
 * [https://codex.wordpress.org/Function_Reference/get_post_types](https://codex.wordpress.org/Function_Reference/get_post_types)
 * Here’s an example.
 *     ```
       function rkv_add_cun_type( $types ) {
   
       	// Get a list of all the available post types.
       	$list   = get_post_types( '', 'names' );
   
       	// Loop the names and add to the array.
       	foreach ( $list as $single_type ) {
   
       		// Check for the post type, then add it.
       		if ( ! in_array( $single_type, $types ) ) {
       			$types[] = $single_type;
       		}
   
       	}
   
       	// Return the post type array.
       	return $types;
       }
   
       add_filter( 'cun_content_types', 'rkv_add_cun_type' );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YOURLS Link Creator] problem in bbpress](https://wordpress.org/support/topic/problem-in-bbpress/)
 *  Plugin Author [Andrew Norcross](https://wordpress.org/support/users/norcross/)
 * (@norcross)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/problem-in-bbpress/#post-7272965)
 * there’s currently no logic set up to have any actions on the front end trigger
   a YOURLS creation. to confirm, you’ve selected the `topic` post type in the settings?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YOURLS Link Creator] Can this be used as a widget for visitors to the site to shorten URLs](https://wordpress.org/support/topic/can-this-be-used-as-a-widget-for-visitors-to-the-site-to-shorten-urls/)
 *  Plugin Author [Andrew Norcross](https://wordpress.org/support/users/norcross/)
 * (@norcross)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/can-this-be-used-as-a-widget-for-visitors-to-the-site-to-shorten-urls/#post-7694677)
 * Are you wanting to create a public URL shortener for people? So they could add
   their own links, unrelated to the actual WP site, and shorten them?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YOURLS Link Creator] Yourls url for achives](https://wordpress.org/support/topic/yourls-url-for-achives/)
 *  Plugin Author [Andrew Norcross](https://wordpress.org/support/users/norcross/)
 * (@norcross)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/yourls-url-for-achives/#post-7137271)
 * once the taxonomy work is complete, I’m going to see if I can use the existing
   functions I have in the plugin, or possibly make a new one to get the link for
   an archive page.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YOURLS Link Creator] Yourls url for achives](https://wordpress.org/support/topic/yourls-url-for-achives/)
 *  Plugin Author [Andrew Norcross](https://wordpress.org/support/users/norcross/)
 * (@norcross)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/yourls-url-for-achives/#post-7137269)
 * I am actually working on the taxonomies now as we speak. for `wp_shortlink`, 
   it’s intended to be used with a post ID, so I’m not sure there’s a way around
   that. that’s a core function, not YOURLS doing it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YOURLS Link Creator] Yourls url for achives](https://wordpress.org/support/topic/yourls-url-for-achives/)
 *  Plugin Author [Andrew Norcross](https://wordpress.org/support/users/norcross/)
 * (@norcross)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/yourls-url-for-achives/#post-7137267)
 * I can look into this a bit more, I haven’t had much free time to look.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YOURLS Link Creator] ERROR: The YOURLS API is currently NOT accessible](https://wordpress.org/support/topic/error-the-yourls-api-is-currently-not-accessible/)
 *  Plugin Author [Andrew Norcross](https://wordpress.org/support/users/norcross/)
 * (@norcross)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-the-yourls-api-is-currently-not-accessible/#post-7468991)
 * what is the URL of your YOURLS installation?

Viewing 15 replies - 1 through 15 (of 498 total)

1 [2](https://wordpress.org/support/users/norcross/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/norcross/replies/page/3/?output_format=md)…
[32](https://wordpress.org/support/users/norcross/replies/page/32/?output_format=md)
[33](https://wordpress.org/support/users/norcross/replies/page/33/?output_format=md)
[34](https://wordpress.org/support/users/norcross/replies/page/34/?output_format=md)
[→](https://wordpress.org/support/users/norcross/replies/page/2/?output_format=md)