Title: Patrick Vuichard's Replies | WordPress.org

---

# Patrick Vuichard

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] Security check failure on unencrypted album](https://wordpress.org/support/topic/security-check-failure-on-unencrypted-album/)
 *  [Patrick Vuichard](https://wordpress.org/support/users/vuichard/)
 * (@vuichard)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/security-check-failure-on-unencrypted-album/#post-18099953)
 * Ok, thanks, I thought it may be something like that, so I’ll have a look at the
   best way to tell Google to stop trying to check those URLs without hindering 
   URLs with encrypted IDs.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] Security check failure on unencrypted album](https://wordpress.org/support/topic/security-check-failure-on-unencrypted-album/)
 *  [Patrick Vuichard](https://wordpress.org/support/users/vuichard/)
 * (@vuichard)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/security-check-failure-on-unencrypted-album/#post-18098525)
 * Also have the “Security check failure on unencrypted album ID” error with this
   kind of URL: [https://www.chevaliers4vents.com/association/galerie-photo?wppa-album=3](https://www.chevaliers4vents.com/association/galerie-photo?wppa-album=3)
   
   And also a similar issue but on a picture with this kind of URL: [https://www.chevaliers4vents.com/association/galerie-photo?wppa-album=3&wppa-photo=208](https://www.chevaliers4vents.com/association/galerie-photo?wppa-album=3&wppa-photo=208)
 * It’s something the Google Search Console has warned me about.
 * WordPress 6.6.2, WPPA 8.8.07.004 and Php 8.1 (same thing with Php 8.3).
    -  This reply was modified 1 year, 6 months ago by [Patrick Vuichard](https://wordpress.org/support/users/vuichard/).
    -  This reply was modified 1 year, 6 months ago by [Patrick Vuichard](https://wordpress.org/support/users/vuichard/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Excerpt] Extension not working](https://wordpress.org/support/topic/extension-not-working-2/)
 *  Thread Starter [Patrick Vuichard](https://wordpress.org/support/users/vuichard/)
 * (@vuichard)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/extension-not-working-2/#post-17093757)
 * Thanks but I had already figured that out and fixed the code 😉
 * I had not posted the fix because I still have an issue: it works with articles,
   but static pages now start with an excerpt. I thought it was the “echo” that 
   was causing it but apparently it’s something else. Still working on it…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Excerpt] Extension not working](https://wordpress.org/support/topic/extension-not-working-2/)
 *  Thread Starter [Patrick Vuichard](https://wordpress.org/support/users/vuichard/)
 * (@vuichard)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/extension-not-working-2/#post-17088867)
 * And here is the solution… In the OceanWP child folder, I’ve edited the functions.
   php file to add this at the end:
 *     ```wp-block-code
       /**
        * Override the oceanwp_excerpt() function by the standard the_excerpt() 
        *
        * @link http://codex.wordpress.org/Child_Themes
        */
       function alternative_text_for_oceanwp_excerpt()
       {
       	// Render for all posts	
       	echo the_excerpt();
       }
       add_filter( 'oceanwp_excerpt', 'alternative_text_for_oceanwp_excerpt', 999 );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Excerpt] Extension not working](https://wordpress.org/support/topic/extension-not-working-2/)
 *  Thread Starter [Patrick Vuichard](https://wordpress.org/support/users/vuichard/)
 * (@vuichard)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/extension-not-working-2/#post-17088858)
 * And here is the solution… In the OceanWP child folder, I’ve edited the functions.
   php file to add this at the end:
 *     ```wp-block-code
       /**
        * Override the oceanwp_excerpt() function by the standard the_excerpt() 
        *
        * @link http://codex.wordpress.org/Child_Themes
        */
       function alternative_text_for_oceanwp_excerpt()
       {
       	// Render for all posts	
       	echo the_excerpt();
       }
       add_filter( 'oceanwp_excerpt', 'alternative_text_for_oceanwp_excerpt', 999 );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Excerpt] Extension not working](https://wordpress.org/support/topic/extension-not-working-2/)
 *  Thread Starter [Patrick Vuichard](https://wordpress.org/support/users/vuichard/)
 * (@vuichard)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/extension-not-working-2/#post-17087658)
 * Ok, I think I have the answer, found on this page: [https://www.relevanssi.com/knowledge-base/oceanwp/](https://www.relevanssi.com/knowledge-base/oceanwp/)
 * “OceanWP does that (<use `[the_excerpt()](https://developer.wordpress.org/reference/functions/the_excerpt/)`
   >), but only for posts that have hand-made excerpts. If the post doesn’t have
   an excerpt, OceanWP uses
 * `echo wp_trim_words( strip_shortcodes( $post->post_content ), $length );`
 * I’ll try the solution given in this page (I already have a child theme) and let
   you know.

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