Title: studio481's Replies | WordPress.org

---

# studio481

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hemingway] Excerpt Not Working](https://wordpress.org/support/topic/excerpt-not-working-20/)
 *  Thread Starter [studio481](https://wordpress.org/support/users/studio481/)
 * (@studio481)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/excerpt-not-working-20/#post-11367591)
 * Thank you, Jarret! That worked! I really appreciate your assistance!
    -  This reply was modified 7 years, 1 month ago by [studio481](https://wordpress.org/support/users/studio481/).
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hemingway] Excerpt Not Working](https://wordpress.org/support/topic/excerpt-not-working-20/)
 *  Thread Starter [studio481](https://wordpress.org/support/users/studio481/)
 * (@studio481)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/excerpt-not-working-20/#post-11364817)
 * Jarret,
 * Thank you again for your assistance. So I copied content.php over to the child
   theme and restored the original to `the_content();` on line 93.
 * I also removed all content from the excerpt field on the latest post and sure
   enough, it choose the first 312 characters and put a Continue Reading button.
   Good clue, but not preferred. Not sure why I am not about to use the Excerpt 
   as a teaser with a button, as is typical.
 * Do you think this behavior is deliberated coded into the functions.php of the
   parent theme? I perused it and could find no occurrence of the word excerpt. 
   But I did find this block of code starting at line 271. But not being a PHP programmer
   myself, I am not sure it is the source of the trouble.
 *     ```
       /* ---------------------------------------------------------------------------------------------
          CUSTOM MORE LINK TEXT
          --------------------------------------------------------------------------------------------- */
   
       if ( ! function_exists( 'hemingway_custom_more_link' ) ) {
   
       	function hemingway_custom_more_link( $more_link, $more_link_text ) {
       		return str_replace( $more_link_text, __( 'Continue reading', 'hemingway' ), $more_link );
       	}
       	add_filter( 'the_content_more_link', 'hemingway_custom_more_link', 10, 2 );
   
       }
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hemingway] Excerpt Not Working](https://wordpress.org/support/topic/excerpt-not-working-20/)
 *  Thread Starter [studio481](https://wordpress.org/support/users/studio481/)
 * (@studio481)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/excerpt-not-working-20/#post-11362857)
 * Thank you Jarret!
 * The change to the parent theme’s content.php did force the excerpt. Bravo!
 * However, the code for the child theme’s function.php did not result in the Continue
   Reading button.
 * Is there another step needed? I have a few other code snippets in my function.
   php file. Not sure if that would affect the code you suggested. Posting my function.
   php code below in case it is useful for troubleshooting. Thank you again for 
   you assistance!
 *     ```
       <?php
       add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
       function my_theme_enqueue_styles() {
   
           $parent_style = 'hemingway_style'; 
   
           wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
           wp_enqueue_style( 'child-style',
               get_stylesheet_directory_uri() . '/style.css',
               array( $parent_style ),
               wp_get_theme()->get('Version')
           );
       }
   
       // Redirect Registration Page
       function my_registration_page_redirect()
       {
           global $pagenow;
   
           if ( ( strtolower($pagenow) == 'wp-login.php') && ( strtolower( $_GET['action']) == 'register' ) ) {
               wp_redirect( home_url('/registration'));
           }
       }
   
       add_filter( 'init', 'my_registration_page_redirect' );
   
       /**
       * Format WordPress User's "Display Name" to Full Name on Login
       * ------------------------------------------------------------------------------
       */
   
       add_action( 'wp_login', 'wpse_9326315_format_user_display_name_on_login' );
   
       function wpse_9326315_format_user_display_name_on_login( $username ) {
           $user = get_user_by( 'login', $username );
   
           $first_name = get_user_meta( $user->ID, 'first_name', true );
           $last_name = get_user_meta( $user->ID, 'last_name', true );
   
           $full_name = trim( $first_name . ' ' . $last_name );
   
           if ( ! empty( $full_name ) && ( $user->data->display_name != $full_name ) ) {
               $userdata = array(
                   'ID' => $user->ID,
                   'display_name' => $full_name,
               );
   
               wp_update_user( $userdata );
           }
       }
   
       function wpsupport_excerpt_more( $more ) {
           if ( ! is_single() ) {
               $more = sprintf( '<p><a class="more-link" href="%1$s">%2$s</a></p>',
                   get_permalink( get_the_ID() ),
                   __( 'Continue Reading', 'textdomain' )
               );
           }
   
           return $more;
       }
       add_filter( 'excerpt_more', 'wpsupport_excerpt_more' );
   
       ?>
       ```
   
    -  This reply was modified 7 years, 1 month ago by [studio481](https://wordpress.org/support/users/studio481/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[User Registration & Membership - Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder] How to REDIRECT /wp-login.php?action=register to the Plugin’s /registration page](https://wordpress.org/support/topic/how-to-redirect-wp-login-phpactionregister-to-the-plugins-registration-page/)
 *  Thread Starter [studio481](https://wordpress.org/support/users/studio481/)
 * (@studio481)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/how-to-redirect-wp-login-phpactionregister-to-the-plugins-registration-page/#post-11351046)
 * Thank you for your reply and the code. Much appreciated!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CP Multi View Events Calendar] Link to a Specific Month](https://wordpress.org/support/topic/link-to-a-specific-month/)
 *  Thread Starter [studio481](https://wordpress.org/support/users/studio481/)
 * (@studio481)
 * [8 years ago](https://wordpress.org/support/topic/link-to-a-specific-month/#post-10218587)
 * Thank you for the quick response and a great plugin.
 * Regarding the solution you suggested, won’t that just make the calendar start
   in May (if it is earlier than May)? Then people interested int he current month
   would need to toggle back to the previous month.
 * I guess I was hoping there would be some syntax to add syntax to a hyperlink 
   to the calendar page. Something like, [http://www.mywebsite.com/event-calendar/&cal-par=mindate:2018-05-01](http://www.mywebsite.com/event-calendar/&cal-par=mindate:2018-05-01)
   So that upon loading the page with the calendar, the calendar automatically advances
   to May. But those linking in the normal way (www.mywebsite.com/event-calendar/)
   would get the default, current month (April).
 * Possible?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Disable dashboard notifications](https://wordpress.org/support/topic/disable-dashboard-notifications/)
 *  [studio481](https://wordpress.org/support/users/studio481/)
 * (@studio481)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/disable-dashboard-notifications/#post-8899769)
 * +1 Please provide a way to opt out. Either a code work around or actual panel
   change. Sooner the better. Thank you for a great plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CP Multi View Events Calendar] Non-military time in Month View](https://wordpress.org/support/topic/non-military-time-in-month-view/)
 *  Thread Starter [studio481](https://wordpress.org/support/users/studio481/)
 * (@studio481)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/non-military-time-in-month-view/#post-7394147)
 * I figured it out. The parameters are edited on the page or post where the calendar
   will be posted. Got it. JSYK, not clear if you don’t real ALL of the documentation
   and just search for Military Time and read just that FAQ. Didn’t know where to
   find that Parameters box from just that blurb. fwiw. Thank you for the plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Event Calendar] How does one put Calendar on a page?](https://wordpress.org/support/topic/how-does-one-put-calendar-on-a-page/)
 *  Thread Starter [studio481](https://wordpress.org/support/users/studio481/)
 * (@studio481)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/how-does-one-put-calendar-on-a-page/#post-7355524)
 * Hi John,
 * Thank you for responding. When you say “theme-side,” do you mean the front end?
   In other words, it is only available in the Admin side?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Event Calendar] How does one put Calendar on a page?](https://wordpress.org/support/topic/how-does-one-put-calendar-on-a-page/)
 *  Thread Starter [studio481](https://wordpress.org/support/users/studio481/)
 * (@studio481)
 * [10 years ago](https://wordpress.org/support/topic/how-does-one-put-calendar-on-a-page/#post-7355490)
 * Anyone?

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