Title: Sean Turtle's Replies | WordPress.org

---

# Sean Turtle

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Drag and Drop Multiple File Upload for Contact Form 7] Does not work with CF7 Smart Grid Design Extension ?](https://wordpress.org/support/topic/does-not-work-with-cf7-smart-grid-design-extension/)
 *  [Sean Turtle](https://wordpress.org/support/users/turts/)
 * (@turts)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/does-not-work-with-cf7-smart-grid-design-extension/#post-14295176)
 * Hi Metusalem, I seem to have the same issue (also using the same plugins) – can
   you explain what you did to fix this please?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front End PM] fep_filter_user_name – don’t show in blocking alerts](https://wordpress.org/support/topic/fep_filter_user_name-dont-show-in-blocking-alerts/)
 *  Thread Starter [Sean Turtle](https://wordpress.org/support/users/turts/)
 * (@turts)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/fep_filter_user_name-dont-show-in-blocking-alerts/#post-13625846)
 * Thank you so much!
    -  This reply was modified 5 years, 9 months ago by [Sean Turtle](https://wordpress.org/support/users/turts/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front End PM] Add ACF user field](https://wordpress.org/support/topic/add-acf-user-field-2/)
 *  Thread Starter [Sean Turtle](https://wordpress.org/support/users/turts/)
 * (@turts)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/add-acf-user-field-2/#post-13625832)
 * `$profile_image = get_field('profile_image', 'user_'.$member->ID);`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front End PM] Add ACF user field](https://wordpress.org/support/topic/add-acf-user-field-2/)
 *  Thread Starter [Sean Turtle](https://wordpress.org/support/users/turts/)
 * (@turts)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/add-acf-user-field-2/#post-13624241)
 * It’s not the WP avatar I’m using – it’s an ACF image field.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front End PM] fep_filter_user_name – don’t show in blocking alerts](https://wordpress.org/support/topic/fep_filter_user_name-dont-show-in-blocking-alerts/)
 *  Thread Starter [Sean Turtle](https://wordpress.org/support/users/turts/)
 * (@turts)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/fep_filter_user_name-dont-show-in-blocking-alerts/#post-13624234)
 *     ```
       add_filter( 'fep_filter_user_name', function( $name, $id ){
       	if ( $name && fep_get_the_id() ) {
           $name = '<a href="/member/' . $id .'">' . $name . '</a>';
       	}
       	return $name;
       }, 10, 2);
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front End PM] fep_filter_user_name – don’t show in blocking alerts](https://wordpress.org/support/topic/fep_filter_user_name-dont-show-in-blocking-alerts/)
 *  Thread Starter [Sean Turtle](https://wordpress.org/support/users/turts/)
 * (@turts)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/fep_filter_user_name-dont-show-in-blocking-alerts/#post-13613858)
 * So, in the alert box when you click to block someone, I don’t want the new string
   I’ve applied using that filter to be shown.
 * For the alert box, I just want it to remain as you’ve coded it.
 * Does that make sense?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front End PM] Automatically insert hyperlinks](https://wordpress.org/support/topic/automatically-insert-hyperlinks/)
 *  Thread Starter [Sean Turtle](https://wordpress.org/support/users/turts/)
 * (@turts)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/automatically-insert-hyperlinks/#post-13512492)
 * That doesn’t appear have changed anything?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Inject custom field into header](https://wordpress.org/support/topic/inject-custom-field-into-header/)
 *  Thread Starter [Sean Turtle](https://wordpress.org/support/users/turts/)
 * (@turts)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/inject-custom-field-into-header/#post-1962701)
 * Sorry, that code wasn’t even correct. This is the code in place:
 *     ```
       <?php
       $css_query = new WP_Query();
       $css_query->query('category_name=mag_post&showposts=1');
       while ($css_query->have_posts()) : $css_query->the_post(); ?>
       <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_url' ); ?>/css/<?php echo get_post_meta($post->ID, 'custom_css', true); ?>" />
       <?php endwhile; ?>
       ```
   
 * But still nothing.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Load a single post as homepage](https://wordpress.org/support/topic/load-a-single-post-as-homepage/)
 *  Thread Starter [Sean Turtle](https://wordpress.org/support/users/turts/)
 * (@turts)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/load-a-single-post-as-homepage/#post-1827640)
 *     ```
       // Custom Stylesheet box in Pages/Posts
       add_action('admin_menu', 'digwp_custom_css_hooks');
       add_action('save_post', 'digwp_save_custom_css');
       add_action('wp_head','digwp_insert_custom_css');
       function digwp_custom_css_hooks() {
       	add_meta_box('custom_css', 'Name of custom CSS file', 'digwp_custom_css_input', 'post', 'normal', 'high');
       	add_meta_box('custom_css', 'Name of custom CSS file', 'digwp_custom_css_input', 'page', 'normal', 'high');
       }
       function digwp_custom_css_input() {
       	global $post;
       	echo '<input type="hidden" name="custom_css_noncename" id="custom_css_noncename" value="'.wp_create_nonce('custom-css').'" />';
       	echo '<input type="text" name="custom_css" id="custom_css" style="width:100%;" value="'.get_post_meta($post->ID,'_custom_css',true).'" />';
       }
       function digwp_save_custom_css($post_id) {
       	if (!wp_verify_nonce($_POST['custom_css_noncename'], 'custom-css')) return $post_id;
       	if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) return $post_id;
       	$custom_css = $_POST['custom_css'];
       	update_post_meta($post_id, '_custom_css', $custom_css);
       }
       function digwp_insert_custom_css() {
       	if (is_page() || is_single()) {
       		if (have_posts()) : while (have_posts()) : the_post();
       		  $filename = get_post_meta(get_the_ID(), '_custom_css', true);
       		  if ($filename) {
       			echo "<link rel='stylesheet' type='text/css' href='" . get_bloginfo('template_url') . "/css/" . $filename . "' />";
                 }
       		endwhile; endif;
       		rewind_posts();
       	}
       }
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Load a single post as homepage](https://wordpress.org/support/topic/load-a-single-post-as-homepage/)
 *  Thread Starter [Sean Turtle](https://wordpress.org/support/users/turts/)
 * (@turts)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/load-a-single-post-as-homepage/#post-1827638)
 * As potentially going forward, they’ll be a fair few custom css files, and I don’t
   want to load them all when they’re not required.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Load a single post as homepage](https://wordpress.org/support/topic/load-a-single-post-as-homepage/)
 *  Thread Starter [Sean Turtle](https://wordpress.org/support/users/turts/)
 * (@turts)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/load-a-single-post-as-homepage/#post-1827634)
 * Hi dhunink
 * Sorry if it wasn’t clear. I’m using a script I found at ‘Digging into WordPress’,
   and it allows you to reference a custom css file when you’re putting the post
   together.
 * Problem is, it only loads the custom css file once you’ve clicked on the link.
   If <?php the_content(); ?> is referenced in the home page (minus the css) it 
   looks cack, as it’s using the default css.
 * Does that make sense?
 * Turts

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