clmerle
Forum Replies Created
-
Forum: Plugins
In reply to: [List category posts] How to get helpHi,
LCP 0.83.1
WordPress 5.4.4 (cannot upgrade because it disables mobile menu functionality of theme. It’s a javascript conflict, theme has yet to be updated)
PHP 7.4.3We are using the category_count parameter and it will display the count twice. Once where it is supposed and again right before the next category name. The first one shows fine but the second one on does not.
https://nouveauraw.com/raw-recipes-list-view/
[catlist name=artisan-breads numberposts=500 orderby=title order=asc catlink=yes?category_count=yes date=no]
Artisan Breads 45
* bulleted list of posts
45 Bars 46
* bulleted list of posts
46 Beverages 63I thought I could use CSS to make the second number disappear, but after looking at the HTML source that isn’t possible. I only glanced at the source code and I didn’t see an easy way of modifying the template to suppress that second number. How can I do that?
Thanks,
ChrisForum: Plugins
In reply to: [Print, PDF, Email by PrintFriendly] Slow Response TimeI discovered the problem. The page was trying to load an unrelated non-existent resource which delayed the loading of the javascript for PrintFriendly by about a minute. We are using W3 Total Cache and I told it to defer loading javascript. Once I fixed the CSS, everything was fine again and PrintFriendly was responsive again.
Forum: Plugins
In reply to: [Print, PDF, Email by PrintFriendly] Slow Response TimeI compared our production site to our development site. They aren’t quite identical setups, but on dev the plugin is responsive and the print window comes up reasonably quickly, but on production it takes well over a minute. So this to me seems like a plugin in conflict. Do you know of any plugins that would cause such a slowness? I’ll continue to troubleshoot.
Forum: Themes and Templates
In reply to: [Twenty Fourteen] iPad Horizontal Dropdown vs. Mobile Menu woesI just tried the fix in the parent theme and it works. Both mobile menu and landscape menu works on the iPad. So it’s a problem with how I tried to implement the solution on the child theme. If you fix the theme then I don’t need to worry about the child theme.
Forum: Plugins
In reply to: [W3 Total Cache] W3TC Total Cache & Contact Form 7 IssueTry excluding the Contact Form 7’s javascript from minification. I’ve had to do that for other plugins. We’ve had issues with the scripts not getting uploaded to the CDN and Waterfall tab on GTMetrix gives a 403 error.
Forum: Plugins
In reply to: [W3 Total Cache] Minify breaks css on postsWe have the exact same problem when turning on minify for CSS. All the styles disappears.
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] Not collecting any statsIt started collecting stats finally. I switched Tracker Type to Query variable based. Also, we are using a CDN with W3 Total Cache and I checked some of the js files from Top 10 were returning a 403 error. Once I purged those files from the CDN they loaded properly.
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] Not collecting any statsIt’s https://nouveauraw.com. We also use W3 Total Cache. I did see visits when I had the box checked in the settings.
I think we finally found the culprit. We got some screenshots from two of our subscribers who use Outlook. It appears to be the Google AdWords Conversion code that we’ve pasted in the bottom of the Notification email template.
And I just noticed something in the code is that it’s src=//www NOT src=https://www. We’re going leave the code out for now. I don’t have access to Outlook to test if reinserting the http will fix it.
<!-- Google Code for newsletter optin Conversion Page --> <script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = REMOVED; var google_conversion_language = "en"; var google_conversion_format = "3"; var google_conversion_color = "ffffff"; var google_conversion_label = "REMOVED"; var google_remarketing_only = false; /* ]]> */ </script> <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"> </script> <noscript> <div style="display:inline;"> <img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/REMOVED/?label=REMOVED&guid=ON&script=0"/> </div> </noscript>
Yes, we are using it in digest mode. I’ll look at other options. Some of our recipients are using Outlook clients and our emails are causing their Outlook clients to choke on them. Outlook will become unresponsive when they try to open or preview one and sometimes crash. It looks like I’ll need to reformat our HTML emails, though not sure what has changed in our email or Outlook that could be causing the offense.
Thanks. I’m not seeing that option when I click to edit a Registered Subscriber. We are using the Subscribe2 HTML (paid version) of the plugin. Is there a setting I need to enable to see it?
Forum: Plugins
In reply to: [W3 Total Cache] Some posts appearing as garbageI have two clients with the same problem. One was using Cloudfront CDN which we just deployed and were having problems with deployment. We were getting 502 errors with the files. The sysadmin corrected the settings on the site using the CDN and it’s working now but then we started getting the garbage pages. If it had not been for the second client who is not using a CDN also having pages served up with garbage characters, I would have thought it was plugin and the CDN weren’t configured properly. Without gzip compression the pages were noticeably slower with the CDN. Your update happened at the same time we deployed the CDN.
Anyway, I applied the fix above, tested it, and then deployed it. It seems to be working so far. I will post again if we still have problems.
Thanks. I’ll check there and see what I can come up with.
Forum: Themes and Templates
In reply to: [Divina] Mobile VersionThat filter function I posted did not work. I did compare it to another commercial theme that does work on mobile and was able to figure out how it worked and used it to modify Divina. The grid based theme is called Origin and is from Elegant Themes. If you use Firebug you can inspect how it works.
https://www.elegantthemes.com/demo/?theme=Origin
I’ll try to do a write up later, sorry that I don’t have more time to post my solution.
Forum: Themes and Templates
In reply to: [Divina] Mobile VersionI also ran into the same problem. I created a child theme and I added the filter code to functions.php as you suggested and it shows up in the raw HTML but I still cannot click on the picture. If I remove the class figcaption, it will work but then the slide out text is below the image. I created a new class called divina-mobile and added it to the permalink so I could style it. Below the function is as far as I got with CSS. Any suggestions would be appreciated.
add_filter( 'post_thumbnail_html', 'my_post_image_html', 10, 3 ); function my_post_image_html( $html, $post_id, $post_image_id ) { $html = '<a class="divina-mobile" href="' . get_permalink( $post_id ) . '" title="' . esc_attr( get_the_title( $post_id ) ) . '">' . $html . '</a>'; return $html; }
.divina-mobile { display: block; height: 100%; width: 100%; } .divina-mobile:hover { border: solid white 1px; }
Update: I just realized that links cannot be nested and that’s why it’s not working. Can you suggest a solution that avoids this problem?