Hardhat
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] Yoast won’t load with WP 6.7.1Same issue here too.
Plugin panel will not display/reveal on pages where it is installed.
Have tried plugin conflict tests: no conflicts found.
Seems to be combination of WP 6.7.1 and Yoast 23.9
Forum: Plugins
In reply to: [Contact Form 7] Contact form 7 v5.5 and WP 5.7: forms will no longer sendUpdate:
Have added a paid Akismet subscription (just in case it’s a SPAM issue) and changed the form layouts and – for now – they’re working again.
Will update again if they fail.
Very frustrating though…Forum: Plugins
In reply to: [Contact Form 7] Contact form 7 v5.5 and WP 5.7: forms will no longer sendHI
Well, the forms have stopped working again.
The theme and plugins remains the same.
I’ve tried activating the default theme and the error persists.
Sometimes I get a “There was an error trying to send your message. Please try again later.” message.
Any suggestions?
Forum: Plugins
In reply to: [Contact Form 7] Contact form 7 v5.5 and WP 5.7: forms will no longer sendHi TM
This is very weird. All the forms have started working again.
And yet all the forms were definitely not working yesterday.
I’ve no explanation for this.To answer your query, all my sites (around 25 of them) are based on the ‘Create’ theme by Themetrust.com
Most have the same list of plugins:
Black Studio TinyMCE Widget
Custom Adobe Fonts (Typekit)
Easy FancyBox
GDPR Cookie Consent Banner
Heartbeat Control by WP Rocket
Loginizer
Media Library Assistant
Rocket Maintenance Mode & Coming Soon Page Builder
Site Kit by Google
SiteOrigin Widgets Bundle
Slider Revolution
Social Share Buttons & Analytics by GetSocial.io
SVG Support
UpdraftPlus – Backup/Restore
Wordfence Security
WP Fastest Cache
Yoast Duplicate Post
Yoast SEOBoth the theme and all plugins use the very latest versions.
I don’t know if that helps.I don’t know if they’ll go offline again today.
Will monitor them closely for the next couple of days.Just to confirm, I’m having the same widgets issue.
I’m using a ThemeTrust theme, Page Builder and Site Origins Widgets Bundle.
I’ve also discovered that I have to disable WordFence temporarily if I want to edit my widgets. This only seems to have happened since the latest WF update.
Cheers
H
Forum: Fixing WordPress
In reply to: Quick php question: exclude pages from sidebar listOK chums
I get the whole ‘learn by digging’ thing too, but, considering this is my day off I guess maybe I was being somewhat lazy… ??
Alright, as a non-PHP savvy guy let me try this one on you:
As I’m using a hacked-about version of an Andreas Wiklund template, I have another string of PHP in my page template (as opposed to theheader template code I mentioned at the start of this post).
The code runs:
<?php list_subpages_andreas01(); ?> <?php // This generates the subpage menu. If you don't want to use it, delete this line. ?>
Now, Was I on the right track with the original code block, or is this the block that requires adjustment?
Please note: (if it makes any difference) that it is my right-hand sub-page menu, as opposed to my left-hand main menu that I’m trying to exclude certain pages from
H
Forum: Fixing WordPress
In reply to: Quick php question: exclude pages from sidebar listHi G
Sorry to contradict, but, no, I don’t use widgets.
I’ve got the whole “list except these few” thing but, as I’m not a PHP-happy coder, I don’t know how to incorporate that request into my existing template without destroying the existing functionality.
Again, at the risk of seeming a little pushy, I’m just hoping for someone who’s PHP-savvy to just show me the adjusted code – amended from the block I supplied – to incorporate back into my template.
Again, all help appreciated.
H
Forum: Fixing WordPress
In reply to: Quick php question: exclude pages from sidebar listHi G
I read it, but am having difficulty trying to figure out exactly where to put the ‘exclude’.
Told you I was a newbie.
Can any kind soul just give me some code on this?
H
Forum: Fixing WordPress
In reply to: How to restrict number of comments per post or page?That plugin works a treat!
File this under [resolved] !
H ??
Forum: Fixing WordPress
In reply to: How to restrict number of comments per post or page?Groovy!
Thanks for the nod DD.
I’ll try it out.
Cheers
H ??
Forum: Fixing WordPress
In reply to: How to hide child pages in submenu?And, in a moment of low wattage intelligence, I answered my own question!
The easiest solution is to use a CSS rule to hide the offending child pages.
To illustrate: in my original css the rule that contained the styling for the second-child links read:
#subpages ul.submenu li ul li a{ color: #7d6f61; background-color: #f4f2e2; text-transform: lowercase; text-align: right; margin-left: -1em; padding: 3px 5px 3px 3px; border-right: 4px solid #f90; border-left-width: 0; }
By changing the
display
property tonone
, the offending links vanished. The final rule simply reads:#subpages ul.submenu li ul li a{ display: none; }
Voila!
File under ‘hiding in plain sight’!
Many thx to Langsuyar for the earlier help.
H ??
Forum: Fixing WordPress
In reply to: How to hide child pages in submenu?OK. I’ve looked into things a bit further and think I realise what the real problem is.
As far as I can work out the theme is doing exactly what it should do in terms of defining the
$depth
for child pages. All of the various functions within the theme (ie: list subpages, etc) are contained within afunctions.php
file.The problem I face is that I think I may not have defined the problem accurately.
My real problem is to not show secondary child pages on only certain top level parent pages.
I suppose the question I’m asking is: is it possible to write a one-off rule (be php or CSS) that I can incorporate into certain template pages to not show the secondary children pages? The idea is that, by using a separate template page, the secondary children would then be shown on any first-level child page that is viewed.
Hope that makes sense! lol
Again, any input appreciated.
H ??
Forum: Fixing WordPress
In reply to: How to hide child pages in submenu?Thanks for the tips L.
I’ll give it a go and report back.
Best wishes.
H ??
Forum: Fixing WordPress
In reply to: How to hide child pages in submenu?Hi Langsuyar
The code you supplied worked exactly as I’d hoped, hiding the child pages for subpages…except if hides the child pages when you click on anyone of those subpage links. In other words, it’s an ‘all or nothing’ global rule).
Any idea how I can make it more granular?
If not, whereabout is the code would be the best place to look for, or define, the
$depth
for a particular template?Best wishes
H ??
Forum: Fixing WordPress
In reply to: Static homepage menu questiond: couldn’t agree more. ??
I suppose the only thing I’d add before wrapping this up is that the possible issue with legacy themes not supporting static homepages without tweaking should be Codex’d.
Just FYI
Thanks all
Hardhat