petebm
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Using html tag in email templateHi
Thanks very much for the reply, which pretty much mirrored what I understood from reading about escaping. However, I hadn’t seen the reference to ‘wp_kses’ or ‘wp_kses_post’ before; am I right in thinking that I could use that to insert html tags – eg line breaks & bold text – in my custom email templates?
Pete
Forum: Plugins
In reply to: [WooCommerce] Shop Manager suddenly unable to change user roleAnd even later to the game, my thanks.
Apologies for the delay – I had trouble tracking down the appropriate slug (I’m not very good at this, as you may have gathered). For the benefit of any other Ultimate Member users with the same issue, it’s um_member.
So, it now works perfectly, with the snippet added – my thanks to you again.
Pete
Forum: Fixing WordPress
In reply to: Shop Manager suddenly unable to change user roleOk – will do. Thanks for the prompt attention.
Pete
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Change name of documentYup – that’s sorted it completely, and thank you for the link to the other filters.
Unfortunately, I gave you a 5 star rating some months ago for both the plugin and your support, so I can’t do it again – but I would if I could!
Pete
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Change name of documentOK – that’s explained that, thank you – but does that mean there’s no way to change the download filename shown in https://imgur.com/a/hZkN1S4, as that’s still showing as ‘invoice-xxxx.pdf’?
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Change name of documentI’m puzzled (it doesn’t take a lot); that looks like the first line of your initial code anyway, with the addition of ‘n’ in ‘ngettext’. Adding it at the start of your code doesn’t seem to have any effect . . .
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Change name of documentThank you, as always; that’s worked perfectly for the orders page (as shown in https://imgur.com/a/vMR0TZ3), but doesn’t seem to have affected the download name: https://imgur.com/a/hZkN1S4.
If this can’t be changed, I won’t lose sleep over it.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Change name of documentHi – many thanks for the reply to the OP; I changed the document title from ‘Invoice’ to ‘Order acknowledgement’ very simply with a snippet, using your example from the documentation. However, there are a couple of other places I’d like to change it, though I’m not sure whether they fall within the scope of your plugin . . .
One is the document title given to the downloaded pdf, which is still ‘invoice-xxxx.pdf, while the other is what’s shown on the user’s account order page, as in https://imgur.com/a/JTCDNyQ.Is it possible to change either of those?
Thanks
Forum: Plugins
In reply to: [WooSidebars] Format of sidebarHi Matty
Good grief, I’d forgotten about this! Thanks for the reply; unfortunately my skill with CSS is limited to following examples, so it’ll take me a while to work out how to do what you’re suggesting – however, the suggestion itself is appreciated.All the best
PeteForum: Themes and Templates
In reply to: [Storefront] Mysterious change to headerHi @jessepearson, thanks again for your patience and help with this. I still don’t know why the header – for all its faults – worked in the old version of Storefront but not in the new one, but I’m obviously going to have to go away & decide how best to cure the problem; use your CSS to accomodate the text, get rid of it as you recommend, or stick with the older version, for now, at any rate.
So, you’ll be glad to know that I won’t take up any more of your valuable time (with this issue, at any rate!) – I’m sure you’ve got better things to do.All the best
PeteForum: Themes and Templates
In reply to: [Storefront] Mysterious change to headerPhew – that’s a relief – it usually is me.
And thank you – that’s much better; I’ve taken the liberty of reducing the width to 220, with the result that the text now ends up further away from the central part of the header image, as you can see: https://imgur.com/a/tCU6UDt
I don’t want to push my luck, but is there a way to reduce that blank space at the top of the header so that it looks more like the original: https://imgur.com/a/Yjsi01R? I’m still using the same header image as in the original, & you’ve now got it so that it’s not cropped any more, thank you, but placing it as the original was would mean your value of 230 for the width would work again.
Hope that make sense, & thanks again for your perseverance.
Forum: Themes and Templates
In reply to: [Storefront] Mysterious change to headerIs that not what I did, as in the screenshot above (https://imgur.com/a/xAEHsRC)?
Or am I being really dense here – my apologies if so
Forum: Themes and Templates
In reply to: [Storefront] Mysterious change to headerI tried it on the main site, https://therileyrmcentre.co.uk, as in https://imgur.com/a/xAEHsRC.
Thank you
Forum: Themes and Templates
In reply to: [Storefront] Mysterious change to headerAs another pointer, my header image looks like this: https://imgur.com/a/ANY4thm.
As I said, its size is 1950 x 500, and when I import it, it doesn’t seem to need cropping, as shown in the lower of the two images there, yet when set as the header image, it obviously does get cropped, even in the test site.
Forum: Themes and Templates
In reply to: [Storefront] Mysterious change to headerSorry, @jessepearson, I was trying to be helpful! I took the header image off to try to show clearly that the header area – as presumably shown by the background colour – is not as tall after the theme update. I’ve now put the 1950 x 500 header back (as well as the title text) and it is if anything even more cropped than before. This seems to be at the root of it – the header area is a different size now.
Further point about the site title also noted – I’ve got a lot to learn . . .