scargill
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Heading defaultsThanks ut no matter what I try – those 3 periods before headingBlock cause the editor to throw up errors…
That or the comma…
...headingBlock,I simply can’t find a ay to save the above without errors. I’m in cpanel file namager – got the empty editor.js file – edit…..
- This reply was modified 1 year ago by scargill.
Forum: Fixing WordPress
In reply to: Heading defaultsTruly sorry to waste your time – but in creating editor.js and pasting in code from the forum… I’m seeing…
wp.domReady(function () {
const { getBlockType, unregisterBlockType, registerBlockType } = wp.blocks;const headingBlock = getBlockType('core/heading'); if (headingBlock) { unregisterBlockType('core/heading'); registerBlockType('core/heading', { ...headingBlock, attributes: { ...headingBlock.attributes, level: { type: 'number', default: 3, // 👈 Set default heading level to H3 }, }, }); }});
and the editor is griping from line 12 (…headingBlock) on..
Oh I can’t show you and image of what I see (standad Win 11 PC, Chrome)as this dumb forum editor won’t let me paste in images…. expected } to match { from line 11 and instead saw ‘…’. Expected ) and instead saw headingBlock etc etc and theres a finger after default: 3, //
Possibly email [email removed by moderator] the text of that code?
- This reply was modified 1 year, 1 month ago by scargill.
- This reply was modified 1 year, 1 month ago by Steven Stern (sterndata).
Forum: Fixing WordPress
In reply to: Heading defaultsUnderstand all that thanks – not sure how to create those files you mention – can’t seen to do it in WP admin – in CPANEL ? Oh I tried that – some issue with formatting your code – is the forum adding in some special characters??
- This reply was modified 1 year, 1 month ago by scargill.
Forum: Plugins
In reply to: [No-Bot Registration] A lot of issues suddenlySorry – just realised this is WordPress forums not your own blog…. of course they’ll have that on. I just want it to be easier for myself and my blog subscribers to be able to send pretty comments with photos as against plain boring text and “choose file” at the bottom of the comment block – again, off topic, sorry.
Forum: Plugins
In reply to: [No-Bot Registration] A lot of issues suddenlyhttps://ww.wp.xz.cn/support/topic/a-lot-of-issues-suddenly/?view=all#post-16332556
Good grief I noted you let users respond in blocks with html etc etc. I’d no idea you could enable that in WordPress. But I’m off topic.. Sorry.
Forum: Plugins
In reply to: [No-Bot Registration] A lot of issues suddenlyHi – thank you. I’m assuming as I’m using hosted wordpress, the direct link won;t be of use and I need to wait for the updates, feel free to ridicule me if I’m wrong 🙂
Pete
Forum: Plugins
In reply to: [No-Bot Registration] A lot of issues suddenlyI’m glad you put this in – I have EXACTLY the same problem – but I’m being asked to “fill in the correct answer to the security question” – and I’m the site owner. I THOUGHT I was getting less comments than usual – thought I did get one today. I thing in 2 days I’ve been told I have to “fill in…” – the only way out of it is to disable the plug-in – not ideal.
I’d really appreciate if anyone comes up with the solution to this – author or anyone else. For the record my site is https://tech.scargill.net
I will.
Ta.
HAH I just spotted that down at the bottom – ok I’m off to start converting old stuff…Ah, I SEE, only files NEWLY uploaded. I just cut and re-pasted the image here…so it made a new image and that is WEBP – so how do I tell it to go through all the exxisting web pages (probably thousands of images) and convert those?
Hi there Mateusz – no I assumed the instruction re: using a cron file would do it automatically – there are LOTS of images… did I miss something?
I just looked – my images are in /wp-content/uploads and various folders underneath that – pretty much sorted by date.
It seems your software has created a folder /wp-content/uploads-webpc/ and in that is an .htaccess file and a folder called uploads and inside that, there are only 2 automatically generated test images in there.
Any ideas?
Pete
Hi there Mateusz
this page https://www.scargill.net/cats-who-would-have-them-we-do/ and cleared browser cache after loading the webP convertor… I waited maybe 30 minutes before looking at the page – and followed your advice on hitting F12, selecting NETWORK then Img and looking at the TYPE column…Am I missing something? I’m just seeing my PNG and JPG files in the TYPE column..??
Pete
Forum: Fixing WordPress
In reply to: Deleting usersI found it – gone. It would help immensely if WordPress lists of users would appear in some kind of order – alphabetical would be a good start. That dropdown list appears almost random.
- This reply was modified 5 years, 9 months ago by scargill.
You were right, I’d forgotten to delete admin….. thanks.
Hi
I sent you the screenshot as requested – admin should be being blocked instantly but it isn’t….. 3 attempts and blocked – but of course then the person moves onto another IP. I’m gettinf dozens of emails a day from Wordfence..
Pete