Title: status4's Replies | WordPress.org

---

# status4

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Seriously Simple Podcasting] Feed validation fails due to HTTPS](https://wordpress.org/support/topic/feed-validation-fails-due-to-https/)
 *  [status4](https://wordpress.org/support/users/status4/)
 * (@status4)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/feed-validation-fails-due-to-https/#post-8202378)
 * Hey Frank, did you solved this? Facing the same issue at the moment.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Crazy Lazy] Works on page but not on front page loop](https://wordpress.org/support/topic/works-on-page-but-not-on-front-page-loop/)
 *  [status4](https://wordpress.org/support/users/status4/)
 * (@status4)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/works-on-page-but-not-on-front-page-loop/#post-6450495)
 * Got the same issue and since there was no update I had a look at it myself.
 * Quick Fix:
 *     ```
       public static function prepare_images($content) {
               /* No lazy images? */
               if ( strpos($content, '-image') === false ) {
                   return $content;
               }
   
               /* Empty gif */
               $null = 'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==';
   
               /* Replace images */
               return preg_replace(
                   array(
                       '#(<img(.*?)class=["\'](.*?(?:wp-image-|wp-post-image|attachment-post-thumbnail).+?)["\'](.+?)src=["\'](.+?)["\'](.*?)(/?)>)#',
                       '#(<img(.*?)src=["\'](.+?)["\'](.+?)class=["\'](.*?(?:wp-image-|wp-post-image).+?)["\'](.*?)(/?)>)#'
                   ),
                   array(
                       '<img${2}class="crazy_lazy ${3}" src="' .$null. '" ${4} data-src="${5}" ${6} style="display:none" ${7}><noscript>${1}</noscript>',
                       '<img${2}src="' .$null. '" data-src="${3}" ${4} class="crazy_lazy ${5}" ${6} style="display:none" ${7}><noscript>${1}</noscript>'
                   ),
                   $content
               );
           }
       ```
   
 * … find method in crazy_lazy.class.php and replace it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Caching for pages with query strings](https://wordpress.org/support/topic/caching-for-pages-with-query-strings/)
 *  [status4](https://wordpress.org/support/users/status4/)
 * (@status4)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/caching-for-pages-with-query-strings/#post-6124324)
 * Tank you for the fast reply. Yes, WP Rocket is great. If it´s not possible to
   get wordfence caching working with query strings then I am going to use it also.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Caching for pages with query strings](https://wordpress.org/support/topic/caching-for-pages-with-query-strings/)
 *  [status4](https://wordpress.org/support/users/status4/)
 * (@status4)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/caching-for-pages-with-query-strings/#post-6124322)
 * Hi Bogdan, I am facing the same problem. Did you found a solution to cache pages
   with query string?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Post types – duplicates](https://wordpress.org/support/topic/post-types-duplicates/)
 *  Thread Starter [status4](https://wordpress.org/support/users/status4/)
 * (@status4)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/post-types-duplicates/#post-2426877)
 * I will give it a try.
 * The posts are created automatically, so I have no chance to give it a name by
   myself.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Post types – duplicates](https://wordpress.org/support/topic/post-types-duplicates/)
 *  Thread Starter [status4](https://wordpress.org/support/users/status4/)
 * (@status4)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/post-types-duplicates/#post-2426853)
 * [http://pastebin.com/dhnY1KMq](http://pastebin.com/dhnY1KMq)
 * Above is my code.
 * Hi Peter. This is done. It´s [http://example.org/lifestream/postname](http://example.org/lifestream/postname)
 * But it seems like only the last part is used to identify the post.
 * E.g. I created a normal post called “Test 1” which has the slug “post-1”. Then
   I create a custom post type called “Test 1” and it automatically get the slug“
   test-1” too. And when I call [http://example.org/lifestream/test-1](http://example.org/lifestream/test-1)
   wp redirects to [http://example.org/test-1](http://example.org/test-1) (the normal
   post type article created first)
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [get_posts won't filter by post_type](https://wordpress.org/support/topic/get_posts-wont-filter-by-post_type/)
 *  [status4](https://wordpress.org/support/users/status4/)
 * (@status4)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/get_posts-wont-filter-by-post_type/#post-1902110)
 * Hey, this is what I am doing at the moment too. But I thought there would be 
   a “better” solution. Thanks anyway for your reply
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [get_posts won't filter by post_type](https://wordpress.org/support/topic/get_posts-wont-filter-by-post_type/)
 *  [status4](https://wordpress.org/support/users/status4/)
 * (@status4)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/get_posts-wont-filter-by-post_type/#post-1902108)
 * Hey, did you find a solution?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Custom Post Types, Categories and Pagination](https://wordpress.org/support/topic/custom-post-types-categories-and-pagination/)
 *  [status4](https://wordpress.org/support/users/status4/)
 * (@status4)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/custom-post-types-categories-and-pagination/#post-1714478)
 * Yes, this works for me too. But I like to have dynmaic categories and don´t want
   to add a page template for every category.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Custom Post Types and Category Navigation](https://wordpress.org/support/topic/custom-post-types-and-category-navigation/)
 *  [status4](https://wordpress.org/support/users/status4/)
 * (@status4)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/custom-post-types-and-category-navigation/#post-1745272)
 * Hey, did you find a solution? I am facing the same problem: [http://wordpress.org/support/topic/custom-post-types-and-archive-pages](http://wordpress.org/support/topic/custom-post-types-and-archive-pages)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Custom Post Types, Categories and Pagination](https://wordpress.org/support/topic/custom-post-types-categories-and-pagination/)
 *  [status4](https://wordpress.org/support/users/status4/)
 * (@status4)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/custom-post-types-categories-and-pagination/#post-1714476)
 * Hey Falkencreative. Did you find a solution? I got the same problem: [http://wordpress.org/support/topic/custom-post-types-and-archive-pages](http://wordpress.org/support/topic/custom-post-types-and-archive-pages)
 * Thanks a lot!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [custom post types and archive pages](https://wordpress.org/support/topic/custom-post-types-and-archive-pages/)
 *  Thread Starter [status4](https://wordpress.org/support/users/status4/)
 * (@status4)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/custom-post-types-and-archive-pages/#post-1907788)
 * It seems that $wp_query->max_num_pages has the wrong value. But why? Do I register
   the taxonomies (I like to use categories and tags for my custom post types) correctly?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [xml-rpc question](https://wordpress.org/support/topic/xml-rpc-question/)
 *  [status4](https://wordpress.org/support/users/status4/)
 * (@status4)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/xml-rpc-question/#post-1739373)
 * Hey tbotnik, I´ve got the same problem. Did you found a solution? Thanks a lot.
 * Status4

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