infosws
Forum Replies Created
-
Hi,
This is my point. They’re not.
The alt and title attributes are taken from the title of the post that the image was uploaded to, not the current one. No matter what page the image is included on.e.g.
<img width="425" height="222" src="https://example.com/wp-content/uploads/my-image.jpg" class="attachment-full size-full" alt="Test Course Display" srcset="https://example.com/wp-content/uploads/my-image.jpg 425w, https://example.com/wp-content/uploads/my-image.jpg 300w" sizes="(max-width: 425px) 100vw, 425px" title="Test Course Display" />
“Test Course Display” is the title of the page I tested the feature on, not the current page. It’s also not the title field from the media library either.
The alt attribute will change if I add an alt in the media library.I looked at your code:
plugins/clearfy/includes/classes/class.configurate-seo.php
function change_attachement_image_attributes (line 148)It’s pulling the title from the parent (which is the page it was uploaded to), not the current page (because it’s using $parent).
I played with the code in a sandbox and found it.
Please could you look at this?
Thanks.
Hi,
That screenshot was great but I don’t see those options in this version (1.6.4).
The only option I see is under SEO, Basic SEO optimization settings, and on/off switch for “Automatically set the alt attribute”.
Where do we find these other options?
Thanks.
Forum: Plugins
In reply to: [WordPress Simple Shopping Cart] The shipping price validation failedHi @mbrsolution,
I’m not sure I’d say “resolved” but the solution does work around the issue for now.
We’ll need to investigate further as it does seem an odd thing to happen when minifying a page.
I’ll set it to resolved. I might come back if we get any more information on it.
Thanks.
Forum: Plugins
In reply to: [WordPress Simple Shopping Cart] The shipping price validation failedHi,
I removed the page from the minify settings (“Never minify the following pages”).
I still don’t know why W3TC minify removes it from the page though yet as it’s not ideal.
Hope this helps.
Forum: Plugins
In reply to: [WordPress Simple Shopping Cart] The shipping price validation failedA further update for you.
It seems that W3 Total Cache minifying is removing the value if it’s zero on the shipping line.
<input type=”hidden” name=”shipping” value=”0″>
Not sure if other minification plugins would also do that.
As a workaround, for now, I’ve removed that page from the caching.
Forum: Plugins
In reply to: [Advanced Order Export For WooCommerce] Export parent SKU of productHi,
It wasn’t that the product was deleted but it may be due to some products being single and not variable products.
Strange that it didn’t seem to show the error while previewing the export.But the proposed code did work and return the correct value in the export for variable products.
Many thanks for your help.
Hi both,
I’m pleased to say that the latest version corrects my issue, thank you!
—
Привет оба,
Я рад сказать, что последняя версия исправляет мою проблему, спасибо!
Привет, Серг, у тебя есть приблизительное представление о том, сколько времени потребуется, чтобы это исправить?
Если это произойдет в течение следующих 24 часов, я могу отложить откат некоторых веб-сайтов, которые уже были обновлены.
Hi Serg,
If your able to translate this well, I found the problem simply updating to the latest version of the plugin. After the update, I clear all caches and view the website’s front end logged out in a browser with the console open.
As soon as you browse the website, you’ll notice the issue.
Firefox:
The resource from “/wp-content/plugins/clearfy/components/ga-cache/cache/local-ga.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff). local-ga.js
Loading failed for the <script> with source “https://standagainstviolence.co.uk/wp-content/plugins/clearfy/components/ga-cache/cache/local-ga.js”. local-ga.js:1:1Chrome:
local-ga.js:162 GET /wp-content/plugins/clearfy/components/ga-cache/cache/local-ga.js net::ERR_ABORTED 404
(anonymous) @ local-ga.js:162
(anonymous) @ local-ga.js:163I’ve not attempted any rollbacks just yet, if this would help please let me know.
If you need anymore info, please let me know ??
Hi!
After translating ( Which i hope it got right! ) I seem to be having this issue with the new Clearfy too.
As I notice you mentioned about checking it Monday, i’ll wait to hear from you.
If you need anymore information, please let me know!
Steven
Forum: Plugins
In reply to: [WP TFeed] Display problems because of escapingHi,
We are also facing this issue on several websites to add.
Hi,
In this example, there is no county. London is the city and that’s it. England (currently in the “County” box) is the same as UK in the Country field. Bigger cities don’t have counties.
Another example:’
55 Wellington New Rd, Taunton, TA1 5LUThe county shows as “England” but the country should be “Somerset”.
Hope this helps.
Hi,
I don’t quite understand the answer. Surely the interface in the plugin to Google should work for everywhere instead of just US addresses. It doesn’t seem to work properly for UK addresses at all.
We haven’t tried other countries (the address for this customer are primarily UK addresses).
Otherwise, it sort of makes this feature in the plugin useless?
Hi,
It doesn’t seem to be all the events so I dug further.
I noticed, using a default layout (not a template) that the events with the issue had an end date on them which is still in the future, 2 months after the start date (the events don’t actually need an end date).I assume, because of this, the events are considered future events and showing on the list?
I’ll update the events to remove the end date to double check but I’m sure that’s where the problem lays (with the data entered).Here is the template code:
<li id="list-{id}" class="mc-events"> <strong class="event-date"> <button type="button" class="mc-text-button" aria-expanded="false"> <i class="far fa-calendar"></i> {date} - {title} </button> </strong> <div id="mc_list_{id}-list" class="mc-mc_list_{id} list-event mc_general past-event vevent mc_rel_general event-details" tabindex="-1" style="display: none;"> <span class="summary"> <span class="summary screen-reader-text">{description}</span> </span> <div id="mc_list_{id}-list-details" class="details no-image" role="alert" aria-labelledby="mc_{id}-title"> <div class="time-block"> <p> <strong>Time:</strong> {time} - {endtime}<br /> <strong>Venue:</strong> <a href='{map_url}' target='_blank'>{location}</a> <br /><br /> </p> </div> <strong>Details:</strong> {description} </div> <!--end .details--> </div> </li>
Hope it helps.