GisokuBudo
Forum Replies Created
-
Update – turns out it was a similar firewall issue that I’ve had elsewhere in WP Staging with the tagDiv Newspaper theme. I moved the firewall to learning mode, updated the settings (turns out saving any setting in EWWW triggered the warning screen), switched it back to normal mode and all is sorted. Still a bit confused why it tripped WordFence but always happy to err on the side of caution with security plugins ??
Thanks @wfyann – all is working well now after cleaning up those tables. Thanks for the prompt response!!
@wfmattr: Thanks for the reply, here are my findings:
do you see a warning about LiteSpeed still?: I just checked and yes, I still see it.
I’ve checked the available config options I have on the virtual server and I don’t have access to manage/configure Litespeed to implement the changes you have suggested. I can send your instructions through to our host to see if they can make the changes though. Would your instructions suffice for what they need to do, or is there additional information I would need to pass along?
Hi wfasa – all done, thanks for looking into this!
I tried it before without any luck, but did so again last night and added the code before the WordPress gear. No luck unfortunately. There is some W3 cache code in before there, would that be causing any issues?
What’s interesting is that Wordfence will still keep me informed of admin logins and will also notify me if plugins are out of date. Does this help narrow down what’s potentially happening?
@dudo: Thanks for the tip – it turns out that updating my theme to the latest version sorted everything out! That was the only thing I hadn’t done, always the way!!
I’ll mark this as solved now.
Thanks Frank! I’ll wait for dudo to update the plugin and re-test then.
Sure do – here’s an example of one of the posts affected, the rating should hit close to the bottom of the page, just above the review source acknowledgement.
Forum: Themes and Templates
In reply to: [FlyMag] Only one column renderingI’ll mark this as resolved as it turns out some robusy optimisation has fixed this issue!
Forum: Plugins
In reply to: [Our Team Showcase] New team member pages not createdDone!
Forum: Plugins
In reply to: [Our Team Showcase] New team member pages not createdWow, thanks for the super-fast reply!
I followed your feedback by resetting the permalinks and uninstalled W3 cache (it wasn’t activated but I thought I’d do it just in case) and also unchecked the option under Yoast’s SEO plugin to remove stop words from permalinks. Unsure which did it, but it’s all fixed, thanks!!
I was messing around with some values, and managed to solve it! The trick is in the z-index properties in your CSS. I wrote a quick post about it here on my blog with all the details.
In a nutshell, the lightbox plugin uses a z-index of 90 in the default CSS that gets loaded with it, and if you have an element in your menu that has a z-index greater than that, it’ll jump on top of the image. I reduced the z-index on my dropdowns to 50 and they’re working fine; alternatively, you can edit the default lightbox.css that comes with the plugin to change the z-index so that it exceeds what you’ve set. Feel free to post up your site and I’ll take a look to see where the issue is if you like, otherwise go nuts and post up your results ??
Forum: Fixing WordPress
In reply to: Customising wp_list_pages, but only for top-level pagesNo worries, here’s my source code for the header:
<div id="header"> <!-- Header block --> <div id="header-top"> <?php include(TEMPLATEPATH .'/searchform.php'); ?> <!-- Get search box --> </div> <div id="header-bottom"> <ul id="nav-menu"> <li><a href="/">Home</a></li> <?php $my_pages = wp_list_pages('echo=0&title_li=&exclude=313'); $parts = preg_split('/(<ul|<li|<\/ul>)/',$my_pages,null,PREG_SPLIT_DELIM_CAPTURE); $insert = '<li class="nav-menu-divider"></li>'; $newmenu = ''; $level = 0; foreach ($parts as $part) { if ('<ul' == $part) {++$level;} if ('</ul>' == $part) {--$level;} if ('<li' == $part && $level == 0) {$newmenu .= $insert;} $newmenu .= $part; } echo $newmenu; ?> </ul> </div> </div>
You’ll notice I have the link to ‘Home’ hard-coded, this is left-over from when I first started using WP and wasn’t sure how to generate a link to home from within the GUI. Because I’m lazy, I’m leaving it in, and it also ensure it was easier to implement the dividers when I was designing the solution with coding it up in mind.
Extra thanks for setting this one to resolved – wasn’t sure if this happened by a mod or if it could be something I could do. Will do so once I’ve posted this.
Again, thank you so much for your help, could not have done it without your assistance!
Edit: SOrry for all the racing with my replies! I was wondering if I posted this solution as a tech tip on my blog, how would you like to be credited? Happy just to mention your name/link to this thread/plug your website, let me know by replying here or contacting me via my blog. Credit’s due where credit’s deserved. I’ve also made a note of it in my source code.
Forum: Fixing WordPress
In reply to: Customising wp_list_pages, but only for top-level pagesSorry for another reply, doesn’t look like I can edit my previous one!!
I had a wicked brainwave and gave an idea a whirl, and it worked!!
I changed the line:
if ('<li' == $part && $level == 1) {$newmenu .= $insert;}
To:
if ('<li' == $part && $level == 0) {$newmenu .= $insert;}
And it is working perfectly! For the sake of compiling the end result if someone else ever comes across this and needs help:
<?php $my_pages = wp_list_pages('echo=0&title_li=&exclude=313'); $parts = preg_split('/(<ul|<li|<\/ul>)/',$my_pages,null,PREG_SPLIT_DELIM_CAPTURE); $insert = '<li class="nav-menu-divider"></li>'; $newmenu = ''; $level = 0; foreach ($parts as $part) { if ('<ul' == $part) {++$level;} if ('</ul>' == $part) {--$level;} if ('<li' == $part && $level == 0) {$newmenu .= $insert;} $newmenu .= $part; } echo $newmenu; ?>
Thanks so much, would never had been able to code something like that up myself ?? Full results can be found at: https://www.gisoku-budo.com/
Edit: Oops, you replied while I was in the middle of posting my result!!
Forum: Fixing WordPress
In reply to: Customising wp_list_pages, but only for top-level pagesQuick update – fixed up the li/class issue by making the change as follows:
$insert = '<li class-"nav-menu-divider"></li>';
To:
$insert = '<li class="nav-menu-divider"></li>';
Go me for missing that one!
I’ve checked and it’s actively inserting the extra li in the submenu; all I need is a point in the right direction to get it to insert that code on the header line or first ul tag instead of the submenu list.