Is it possible to use $x = pods( $pod_type, $params);
and have two custom post types for $pod_type?
My end point is that clicking on a publication record would take you to the publication page, and clicking on one of our books would take you to the page in the store.
]]>I came across an issue with the language files where a lot of strings where not translated and not in the locale files. The reason is the POT file is outdated and, therefore, it cannot be used to update the PO files for translating the plugin.
Also, there’re a lot of strings that where changed and outdated prior translations (postcode vs post code, for example, which is not in the translation files). And a lot of other strings that have concatenations or that are missing translator comments and don’t work in other languages, at least in latin languages like Portuguese, with no neutral gender and singular/plural issues.
For example, a string like There are no
often doesn’t work, because we don’t have a neutral gender. In Portuguese, Contacts
is masculine, but Invoices
is feminine.
Vitals
is concatenated with Status
in contact record, which is clumsy and very hard to translate.
These are just a few examples. I would hope that this far in development, JCRM would already have fixed many of these issues.
It is very unproductive to contribute to the translation and try to use a quality version in our language with so many unresolved i18n issues.
Thanks.
]]>The ability to unload scripts and defer them individually is awesome, but there are other plugins that do this too. What makes Asset Cleanup really better than everything else around is the ability to then load several of those script on specific pages that need them, allowing you to streamline your site to incredible levels (my site went from a whopping 12mb and 45 seconds full load time, to 2.25mb and 10.4 seconds full load time, and I’m still fine tuning it to get it faster, THAT IS ALSO FROM A SINGLE SERVER WITH NO CDN YET!!!). And note, with the WP Rocket caching plugin, a CDN can be easily added.
** EDIT – With a Cloudflare set up as the CDN, my site is now down to 8 seconds FULL load time with NO OTHER optimisation (around 4.5 seconds for first meaningful paint, and it’s a beast of a site!!)**
Another nice feature is the ability, just like WP Rocket, to export settings to a json file, allowing you to effectively create restore points as you tweak your scripts to improve performance.
This plugin works in tandem with the WP Rocket plugin and ensures that the remaining loaded scripts are then minified and deferred (if those options are selected). Asset Cleanup when used with WP Rocket also seems to do the best job of minifying and combining scripts without generating errors.
Finally, the price to upgrade to the pro version ($40) is probably the best price around out of all the caching plugins, so on top of being the best functionally, it is also the cheapest plugin (WP Rocket is $50, making it $90 in total for the pair, around $10 less than W3 Total Cache).
As a Professional Web Developer, I cannot recommend this plug ENOUGH, IT IS THE FIRST PLUGIN YOU SHOULD BUY!!!!
]]>However, I found a bug with Wp-Rocket concatenation, linked to wp-includes/js/dist/block(*).js
Javascript errors appears on Safari & Firefox (not on Chrome).
After some research, I found the gulty : block.build.js
Does this file needs to be loaded in fronted when you’re not logged-in ?
To resolve my problem I deregistered direct-stripe-block-script from my theme if I’m not logged in and it’s working fine.
Maybe you want to do some investigations on this ?
]]>is it possible to discard any line feeds within a user’s comment? For example:
Dear customer,
thank you for getting in touch with us.
should be rendered as: “Dear customer, thank you for getting in touch with us.”
In other words: I’m looking for a parameter that removes every <p> or <br> from a comment, so that it’ll be concatenated.
Thanks in advance & kind regards,
Fichtenelch
I checked a staging version of our site in PageSpeed and GTmetrix, and it’s fine: the files show up as concatenated and minified. I tried the live site in Chrome with Lighthouse, and it’s fine also. And I cross-checked this by inspecting the html head with Chrome developer tools: it requests the appropriate concatenated and minified files. But when I analyze the live site in PageSpeed and GTmetrix, they receive all the JS and CSS as individual files, not concatenated.
We use W3TC with Cloudflare and CacheWall. Initially suspecting a problem with incorrect files cached, I tried clearing the cache in all three and turning on dev mode in Cloudflare and CacheWall to bypass the cache. No luck, and I can’t even imagine why the cache would send different files to different viewers anyway. There doesn’t seem to be a setting in W3TC to show non-concatenated files to bots (which is how I’m presuming it sees PageSpeed and GTmetrix).
I’ve even let the site sit over the weekend in case something needed to propagate or work itself out. And Googling my issue yields nothing. I’m running out of debugging ideas and concerned about PageSpeed effects on our search rankings.
Do you know why PageSpeed and GTmetrix could see the site differently than my browser, with the measures I’ve described in place?
]]>First of all, thanks for a great plugin.
Today I have noticed Loco isn’t fully extracting concatenated strings from theme’s source files. For example this will result in only the very last piece of string (‘long line’) being extracted when syncing POT template with sources:
_x(
'Some very ' .
'long line',
'context',
'domain'
);
Should this be considered a bug?
]]>