deviceguru
Forum Replies Created
-
… and if I edit the line in the current plugin’s statement from <div style=”clear:both”></div> to <dif style=””></div> it fixes the problem for my theme.
And here’s where the culpret lives:
/wp-content/plugins/contextual-related-posts$ grep -R clearfix *
contextual-related-posts.php: $clearfix = ‘<div style=”clear:both”></div>’;
contextual-related-posts.php: * Filter the clearfix div tag. This is included after the closing tag to clear any miscellaneous floating elements;
contextual-related-posts.php: * @param string $clearfix Contains: <div style=”clear:both”></div>
contextual-related-posts.php: $output .= apply_filters( ‘crp_clearfix’, $clearfix );Ajay: I just compared html of the above page that doesn’t render correctly with the html of a page on another one of my sites that has the previous version of the plugin, and there is one key difference: in the newer version of the plugin, there is the following additional directive:
<div style=”clear:both”></div>
I’ll attempt to patch the plugin to eliminate that statement, which should make the newer version work.
Ajay: sorry, I had reverted my site to the prior version of the related posts plugin, which is why you did not see the blank space.
I just upgraded to the latest version of the plugin, and the space is now evident. For example, on this page there is a big gap between the related posts section and the horizontal google adsense ad that should come directly below the last related post:
https://deviceguru.com/linux-based-tor-gadget-protects-ip-identity/
As bliniko mentioned in his comment, whatever comes after the related posts section in its column does not render until the content in the right-hand column finishes rendering. I suspect if I shortened the right-hand by removing most of the widgets that are there, the gap from related posts to the google ad in the left would disappear. Which seems like it might be a “br clear=all” sort of problem.
Ajay, any news on this..? thanks!
My settings for the list are:
HTML to display before the list of posts: ul-tag
HTML to display before each list item: li-tag
HTML to display after each list item: /li-tag
HTML to display after the list of posts: /ul-tag
And I have it configured to not show thumbnails. As I’ve said it worked fine previously.I don’t mind some delay in your reply, and very much appreciate your excellent support!
I upgraded one of my sites to 2.0.1 and tried adding that function to my theme’s file. When I added it to functions.php my site goes blank (no text showing), so maybe I didn’t added it correctly. My theme’s functions.php file normally contains one function as follows:
<?php
if ( function_exists(‘register_sidebar’) )
register_sidebar();
?>I tried adding the lines you provided after the line, “register_sidebar();”, and when that didn’t work I added a separate php directive, i.e. the lines you provided surrounded by <?php … ?>
Both ways resulted in the site going all white, so I had to ssh in to it to return the functions.php to normal.
Currently you can see the blank space on this page:
https://deviceguru.com/linux-based-tor-gadget-protects-ip-identity/I’ll give that fix a try and will let you know if it cures the blank space. I don’t have 2.0.1 activated at the moment, so I can’t get you a screenshot, but if the above function doesn’t cure the issue with 2.0.1 I’ll send you a screenshot. Many thanks!
Forum: Plugins
In reply to: [Simple Share Buttons Adder] share count reset to zeroI just noticed that two of my share buttons have cleared to zero on all my posts: the ones for Facebook and G+. Yet the ones for Twitter and LinkedIn remain functional. I’m also using v4.7 of the plugin, and my WP version is v3.9.2
Forum: Reviews
In reply to: [Missed Schedule Fix WP Failed Future Posts] Cool!Thanks for the quick reply! Your plugin is very useful and much appreciated. I don’t think the overhead will be a burden at all. ??
Forum: Plugins
In reply to: [Simple Share Buttons Adder] version 4.1 mess up Twenty Fourteen-themed siteDavid, it seems fine now. Just checked on my PC. Thanks!
Forum: Plugins
In reply to: [Simple Share Buttons Adder] version 4.1 mess up Twenty Fourteen-themed siteI installed the update from my android tablet, but could not see the format problem beforehand, due to the tablet’s small screen size, so I don’t know if the new version of the plugin fixed the formatting glitch. Did it? see: https://deviceguru.com
Forum: Plugins
In reply to: [Simple Share Buttons Adder] version 4.1 mess up Twenty Fourteen-themed sitetesting 1, 2, 3…..
I installed the update from my android tablet, but could not see the format problem beforehand, due to the tablet’s small screen size, so I don’t know if the new version of the plugin fixed the formatting glitch. Did it? see: https://deviceguru.comForum: Plugins
In reply to: [Simple Share Buttons Adder] version 4.1 mess up Twenty Fourteen-themed sitehi David,
OK, I’ve gone ahead and upgraded to 4.1 on DeviceGuru.com. Take a look at the homepage and you’ll see what’s going wrong. On LinuxGizmos.com I’m using the same theme but with v3.6 of the plugin. I’ll leave DeviceGuru looking broken overnight so you can see it. It sounds like problems it’s causing other folks are more dramatic, but you can easily see the problem the plugin is creating relative to the left margin of the headline/blurb summaries.
Good luck! And thanks again for your excellent plugin ??
p.s. The formatting problem also affects category pages, e.g.:
https://deviceguru.com/category/apple/Forum: Plugins
In reply to: [Simple Share Buttons Adder] Activating latest 4.0 update changes site4.1 just broke my site’s main page (summaries of posts) format, so I rolled back to 3.6 and it’s fine now.