Raam Dev
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Independent Publisher] Menu : Sub items hiddenHi @jlou65535,
Sub-menus are not currently available in the theme, but there is a feature request open to add support for it.
As an alternative, you might try using Independent Publisher 2, which is a version of the theme updated for WordPress.com and that version does support sub-menus. If you scroll down to the bottom of that page, you’ll see a download button where you can download the theme for self-hosted sites.
Forum: Themes and Templates
In reply to: [Independent Publisher] Recent changes to theme?There haven’t been any recent changes to the theme. When I look at your site, the menu still shows up on the left.
If the browser width decreases to less than 1200px wide, a few things get moved around to make room for the content, but that has always been the case. Is that what you’re seeing?
If you make your browser wider, does the menu re-appear where you expect?
Forum: Plugins
In reply to: [Local Gravatars] Filter for get_local_gravatars_fallback_url functional?Hi @leanderbraunschweig 👋
I’m not the plugin author, but I happened to come across this plugin and your question.
You are correct that the
apply_filters()function is incorrectly passing an empty value. I’ve opened a Pull Request with the plugin author to fix this: https://github.com/aristath/local-gravatars/pull/1However, even with that issue you should still be able to override the empty value with a value of your own and I confirmed that your code looks correct.
However, I wanted to point out that
get_fallback_url()is only used in two scenarios:– When
should_process()returnsfalse
– Or when there’s a failure to move the downloaded Gravatar to the appropriate pathHave you verified that both of those scenarios were true when testing? That specific filter does not always override the Gravatar image that’s returned by WordPress. If you want to always override all Gravatar images, you can do that by overriding
get_avatar_url.I hope this helps!
- This reply was modified 5 years, 7 months ago by Raam Dev.
Forum: Themes and Templates
In reply to: [Independent Publisher] Help with ThemeHi @misstandme, it looks like you’re using Independent Publisher 2, which actually has its own support on WordPress.com and is separate and a bit different from the theme hosted here on ww.wp.xz.cn.
Please ask for help with Independent Publisher 2 here: https://wordpress.com/theme/independent-publisher-2/support
Forum: Themes and Templates
In reply to: [Independent Publisher] Use original Gravatar/Avatar image@t0pforex Apologies for the very delayed reply. I just took a look at the code and it looks like that 100×100 version is getting set here.
I’ve created an issue on GitHub to track this issue and get it fixed for the next release: https://github.com/raamdev/independent-publisher/issues/314
Forum: Themes and Templates
In reply to: [Independent Publisher] Use original Gravatar/Avatar image@t0pforex Do you have a link to a page where this is happening?
Forum: Reviews
In reply to: [Independent Publisher] Superb ThemeThanks for the 5-star review, @smitpatadiya! 🙂
Forum: Reviews
In reply to: [Independent Publisher] nice theme.Thanks for the 5-star review, @kevinkovadia! 🙂
Forum: Plugins
In reply to: [Comet Cache] URI Exclusion – home page onlyHi @sterndata,
We have an article here that covers that: https://cometcache.com/kb-article/how-can-i-exclude-the-home-page-from-being-cached/
You can use
^/$(which is regular expression for starts with and ends with /, which would be the home page).Forum: Plugins
In reply to: [Comet Cache] WooCommerce Orders FailHi @ianatkins,
The “failed to open dir: Too many open files” message is related to your hosting environment, so you’ll need to check with your web hosting company to see what can be done to increase the number of files that can be open at the same time. This article has some more information that may be helpful: https://stackoverflow.com/a/14749074
Looks like Comet Cache is clearing the site cache on order update, is it possible to disable this.
In Comet Cache Pro you can disable the automatic clear/wipe routines, however this is not recommended. The cache is cleared automatically when specific events occur specifically to ensure that an out-of-date cache file does not get served to a visitor. For example, if your site shows the quantity of an item available, you would want the quantity to change for future visitors whenever someone purchases the item. If the cache was not cleared automatically, the wrong quantity may be shown.
My recommendation would be to check with your web hosting company to increase the number of files that can be open at any given time.
Forum: Plugins
In reply to: [Comet Cache] Exclude Individual URLs@the-moose Yes, please see Comet Cache → Plugin Options → URI Exclusion Patterns
Forum: Plugins
In reply to: [Comet Cache] CDN and Domain Sharding breaks images@bereshka Thank you very much for sharing your solution here. I’m glad to hear you solved the problem. 🙂
Forum: Plugins
In reply to: [Comet Cache] At first I was happy, now my website is completely broken@hb101 I checked your site and it looks like you’re still using Comet Cache and the site appears to be loading fine.
If you’re still having trouble, I recommend trying to deactivate Comet Cache to see if that solves the problem. If it does not solve the problem, then you know it’s not Comet Cache that’s causing the problem.
Forum: Plugins
In reply to: [Comet Cache] Does Comet Cache caches OpCode as well?Hi @lucasbustamante,
OPCode caching is part of PHP itself, so you would need to enable in the PHP configuration. It’s not something that a plugin like Comet Cache can enable.
If Comet Cache detects that OPCode caching is enabled in PHP, it will automatically clear the OPCode cache when you click the Clear Cache button. In the Pro version, there’s a separate button to clear only the OPCode cache.
Forum: Reviews
In reply to: [Comet Cache] No browser caching and settings not clearly arrangedI’m sorry to hear that you were not satisfied.
Browser Caching is actually something that needs to be enabled at the web server level, so Comet Cache’s Leverage Browser Caching feature simply adds the necessary rules to your
.htaccessfile to enable browser caching in your web server.Here’s the code that Comet Cache adds; you can just copy and paste this into your
.htaccessfile to enable browser caching:# Enable browser caching. FileETag mtime size <IfModule expires_module> ExpiresActive on ExpiresDefault "access plus 1 week" </IfModule>