Title: Webreaper's Replies | WordPress.org

---

# Webreaper

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

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

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/webreaper/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/webreaper/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/webreaper/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Full text sent to subscribers instead of snippet](https://wordpress.org/support/topic/full-text-sent-to-subscribers-instead-of-snippet/)
 *  [Webreaper](https://wordpress.org/support/users/webreaper/)
 * (@webreaper)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/full-text-sent-to-subscribers-instead-of-snippet/#post-18236128)
 * Was there any resolution to this? We’re seeing exactly the same issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[ARI Fancy Lightbox - Popup for WordPress] Layout issues – flexbox isn’t wrapping properly](https://wordpress.org/support/topic/layout-issues-flexbox-isnt-wrapping-properly/)
 *  Thread Starter [Webreaper](https://wordpress.org/support/users/webreaper/)
 * (@webreaper)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/layout-issues-flexbox-isnt-wrapping-properly/#post-15530011)
 * Closing
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[ARI Fancy Lightbox - Popup for WordPress] Layout issues – flexbox isn’t wrapping properly](https://wordpress.org/support/topic/layout-issues-flexbox-isnt-wrapping-properly/)
 *  Thread Starter [Webreaper](https://wordpress.org/support/users/webreaper/)
 * (@webreaper)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/layout-issues-flexbox-isnt-wrapping-properly/#post-15530009)
 * Okay, please ignore this – I thought ARI was converting the wordpress galleries
   to a better layout and that this was being messed up, but it seems it’s not that–
   if I disable “Convert WordPress galleries” or even disable the plugin altogether
   the layout remains the same, so I think this is unrelated to your plugin after
   all.
 * Apologies for the noise – I should have checked before raising a support thread!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JWT Authentication for WP REST API] Incorrect Password error when password has special symbols](https://wordpress.org/support/topic/incorrect-password-error-when-password-has-special-symbols/)
 *  [Webreaper](https://wordpress.org/support/users/webreaper/)
 * (@webreaper)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/incorrect-password-error-when-password-has-special-symbols/#post-13350939)
 * Seeing the same thing – seems somewhat confusing that the auto-generated WP PW
   would break this.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Zoom Lite] Masonry broken in WP5.5](https://wordpress.org/support/topic/masonry-broken-in-wp5-5/)
 *  Thread Starter [Webreaper](https://wordpress.org/support/users/webreaper/)
 * (@webreaper)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/masonry-broken-in-wp5-5/#post-13293470)
 * Update: confirm that updating to the new theme solves the masonry problem. Thanks!
 * Also looks like you have rolled those two fixes into the main theme, so I can
   revert to using my non-customised version. 🙂
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Zoom Lite] Masonry broken in WP5.5](https://wordpress.org/support/topic/masonry-broken-in-wp5-5/)
 *  Thread Starter [Webreaper](https://wordpress.org/support/users/webreaper/)
 * (@webreaper)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/masonry-broken-in-wp5-5/#post-13292606)
 * Thanks – that’s my next thing to try. The only reason I haven’t is because I’ve
   made a few enhancements to the theme, and as far as I’m aware they haven’t been
   rolled into the base theme so I have to merge before I upgrade…
 * For example, this fix I proposed: [https://wordpress.org/support/topic/bug-fix-this-entry-was-posted-in-for-custom-post-types/](https://wordpress.org/support/topic/bug-fix-this-entry-was-posted-in-for-custom-post-types/)–
   has that been merged in now?
 * Also, this bug-fix: [https://wordpress.org/support/topic/bug-fix-undefined-in-wp-pointer-while-editing-posts/](https://wordpress.org/support/topic/bug-fix-undefined-in-wp-pointer-while-editing-posts/)
    -  This reply was modified 5 years, 8 months ago by [Webreaper](https://wordpress.org/support/users/webreaper/).
    -  This reply was modified 5 years, 8 months ago by [Webreaper](https://wordpress.org/support/users/webreaper/).
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Zoom Lite] Change fonts in Zoom Lite](https://wordpress.org/support/topic/change-fonts-in-zoom-lite/)
 *  [Webreaper](https://wordpress.org/support/users/webreaper/)
 * (@webreaper)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/change-fonts-in-zoom-lite/#post-10997426)
 * Yes, you can just update the styles in the CSS to use different fonts.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Zoom Lite] Dropdown menu on mobile page](https://wordpress.org/support/topic/dropdown-menu-on-mobile-page/)
 *  [Webreaper](https://wordpress.org/support/users/webreaper/)
 * (@webreaper)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/dropdown-menu-on-mobile-page/#post-10856839)
 * I’ve found that if you press and hold the menu, rather than just tapping it, 
   you can drag your finger to a sub-menu and select it. It’s not very intuitive
   for visitors though.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Zoom Lite] Next to the mobile menu icon, add the word ‘menu’](https://wordpress.org/support/topic/next-to-the-mobile-menu-icon-add-the-word-menu/)
 *  [Webreaper](https://wordpress.org/support/users/webreaper/)
 * (@webreaper)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/next-to-the-mobile-menu-icon-add-the-word-menu/#post-10653415)
 * I’ve just followed these instructions, but this option (Mobile Menu Title Option)
   doesn’t exist. I’m on the latest version of the theme. Any clues? Did it move
   or get reverted?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Google Fonts not always working](https://wordpress.org/support/topic/google-fonts-not-always-working/)
 *  Thread Starter [Webreaper](https://wordpress.org/support/users/webreaper/)
 * (@webreaper)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/google-fonts-not-always-working/#post-10644158)
 * Thanks for replying. I think the version number is just used for cache-busting,
   so shouldn’t be the problem. Not sure though.
 * However, I tried installing the Self Hosted Google Fonts plugin, which pulls 
   the fonts into the local site and updates the CSS, and that seems to have done
   the trick – I now see Bitter as the site title and header fonts on 3 computers
   I’ve tried, and on my smartphone!
 * So you could be right, perhaps it wasn’t pulling the fonts from Google reliably.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Redirection breaking for posts with modified URLs](https://wordpress.org/support/topic/redirection-breaking-for-posts-with-modified-urls/)
 *  Thread Starter [Webreaper](https://wordpress.org/support/users/webreaper/)
 * (@webreaper)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/redirection-breaking-for-posts-with-modified-urls/#post-9372365)
 * Turned out that was the problem. Disabled redirection, and the modified post 
   urls started working again.
 * [https://wordpress.org/support/topic/automatic-redirection-not-working-for-posts](https://wordpress.org/support/topic/automatic-redirection-not-working-for-posts)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redirection] Automatic redirection not working for posts](https://wordpress.org/support/topic/automatic-redirection-not-working-for-posts/)
 *  [Webreaper](https://wordpress.org/support/users/webreaper/)
 * (@webreaper)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/automatic-redirection-not-working-for-posts/#post-9372361)
 * I’ve found the same thing. Had to disable the Redirection plugin for now as it’s
   causing a ton of 404s on my site.
 * [https://wordpress.org/support/topic/redirection-breaking-for-posts-with-modified-urls/](https://wordpress.org/support/topic/redirection-breaking-for-posts-with-modified-urls/)
 * Raised an issue here:
 * [https://github.com/johngodley/redirection/issues/276](https://github.com/johngodley/redirection/issues/276)
    -  This reply was modified 8 years, 9 months ago by [Webreaper](https://wordpress.org/support/users/webreaper/).
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [“Continue Reading” link wrong in post excerpt – anyone know the actual solution?](https://wordpress.org/support/topic/continue-reading-link-wrong-in-post-excerpt-anyone-know-the-actual-solution/)
 *  Thread Starter [Webreaper](https://wordpress.org/support/users/webreaper/)
 * (@webreaper)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/continue-reading-link-wrong-in-post-excerpt-anyone-know-the-actual-solution/#post-9029884)
 * I previously had the code using get_the_ID() – I added the explicit call to $
   post->ID to see if that solved the problem. So I don’t think this is going to
   help, unfortunately, but I’ll give it a try when I have time.
 * Re: the post thing – the post appeared, then I edited it, and then it disappeared.
   But when I posted a new post, it reappeared. Ah well. 😀
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [“Continue Reading” link wrong in post excerpt – anyone know the actual solution?](https://wordpress.org/support/topic/continue-reading-link-wrong-in-post-excerpt-anyone-know-the-actual-solution/)
 *  Thread Starter [Webreaper](https://wordpress.org/support/users/webreaper/)
 * (@webreaper)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/continue-reading-link-wrong-in-post-excerpt-anyone-know-the-actual-solution/#post-9028346)
 * I’ve just posted a reply, but it appears to have disappeared.
    Ah, there it is.
    -  This reply was modified 9 years, 1 month ago by [Webreaper](https://wordpress.org/support/users/webreaper/).
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [“Continue Reading” link wrong in post excerpt – anyone know the actual solution?](https://wordpress.org/support/topic/continue-reading-link-wrong-in-post-excerpt-anyone-know-the-actual-solution/)
 *  Thread Starter [Webreaper](https://wordpress.org/support/users/webreaper/)
 * (@webreaper)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/continue-reading-link-wrong-in-post-excerpt-anyone-know-the-actual-solution/#post-9028325)
 * Okay, so I’ve managed to put in a fix, although it’s a bit hacky and I don’t 
   understand what’s going on here. Basically, I pull out the excerpt into text,
   and then find the start and end of the wrong ‘Continue Reading’ anchor, and replace
   it with my own – using the link from the get_permalink() call I make earlier 
   on in the loop. It seems to work.
 *     ```
       while( $plant_lists->have_posts() ) : $plant_lists->the_post();
               $countPlants++;
   
               $theimage = wp_get_attachment_image_src( get_post_thumbnail_id($id) , 'plant-list');
   
               $plant_permalink = get_permalink();
               $plant_shortcode .= '<tr><td width="50%" align="center"><a href="' . $plant_permalink . '"><img src="'.$theimage[0].'" alt="" /></a></td>';
               $plant_shortcode .= '<td><div class="plant-title"><a href="' . $plant_permalink . '">'. get_the_title().'</a></div>';
   
               $plant_shortcode .= '<div class="plant-excerpt">';
   
               $family = get_post_meta( $id, '_plant_lists_family', true );
   
               if($family != NULL)
               {
                   $plant_shortcode .= '<p><strong>Family: '.$family.'</strong></p>';
               }
   
               $the_excerpt = get_the_excerpt( $post->ID );
               $start = strpos( $the_excerpt, "<a href" );
   
               if( $start !== false )
               {
                   $end = strpos( $the_excerpt, "</a>", $start + 6 );
   
                   if( $end !== false )
                   {
                       $link = " <a href='" . $plant_permalink . "'>Continue Reading &rarr;</a>";
                       $the_excerpt = substr_replace( $the_excerpt, $link, $start, $end + 4 );
                   }
               }        
   
               $plant_shortcode .= '<p>'. $the_excerpt .'</p>';
               $plant_shortcode .= '</div></td></tr>';
   
           endwhile; 
       ```
   
 * The totally bizarre thing is that if I move the code to do the string replace
   earlier in the loop, the behaviour reverts back to what it was doing before.
 * Even if I move the get_the_excerpt() call up to just below the get_permalink 
   call, it breaks again – i.e., it doesn’t work if I do this:
 * ** $plant_permalink = get_permalink();
    $the_excerpt = get_the_excerpt( $post-
   >ID );
 * It seems massively fragile. I’m presuming some subsequent code in the loop is
   messing up some global state as it runs, or there’s some race condition going
   on.
 * So basically, this hack works, but I’ve no idea if it’ll suddenly break in future
   or even why re-ordering the code doesn’t behave deterministically. Any PHP/WP
   experts out there can explain exactly what’s going on!??!
    -  This reply was modified 9 years, 1 month ago by [Webreaper](https://wordpress.org/support/users/webreaper/).
    -  This reply was modified 9 years, 1 month ago by [Webreaper](https://wordpress.org/support/users/webreaper/).

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

1 [2](https://wordpress.org/support/users/webreaper/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/webreaper/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/webreaper/replies/page/2/?output_format=md)