hyperthalamus
Forum Replies Created
-
Forum: Plugins
In reply to: [Split Test For Elementor] Support for WidgetsIt looks like it’s displaying, but not registering views, will look into that.
Forum: Plugins
In reply to: [Split Test For Elementor] Support for WidgetsI found the offending line!
It’s in WidgetRenderContentEvent.php
~65 I replaced
if ($variation->id != $targetVariation->id && $variation->id == $variationId) { return ""; }
with
if ($variation->id != $targetVariation->id && $variation->id == $variationId) { return ""; } else { return $content; }
I hope this helps!
Forum: Plugins
In reply to: [Split Test For Elementor] Support for WidgetsIn SendHeadersEvent:
private function progressConversions($postId, $clientId) { $tests = self::$testManager->getTestsByConversionPagePostId($postId);
only retrieves tests from the post itself. I found out if I put a test in the content, the same test will work in other widgets.
I first noticed the problem in WidgetRenderContentEvent under fire() at this point in the code:
global $targetVariations;
This variable was empty on pages with posts and full on pages without posts. Going to dig further, but that’s all I’ve got so far.
Disregard my previous message, my issue isn’t WP Rocket related, it seems to be related to split testing elementor widgets in the sidebar via Elementor Pros Element Library widget.
I’m not seeing the tests at all and using WPEngine / WP Rocket. I’m not sure if it’s related to WP Rocket, but I’m seeing the divs when inspecting the DOM with display set to “none” on both via the style tag added by the split test plugin.
e.g.
<style>.elementor-split-test-1-variation-2{display:none!important;height:0!important}</style>
Does this issue seem familiar to yours? If not I’ll make a new thread, thanks!
Forum: Plugins
In reply to: [Google Universal Analytics] Disable tracking for roles not workingSeeing the same issue
Forum: Plugins
In reply to: [Socialize] Pinterest button doesn't lineupWhat I’m doing is using the nth-child selector. https://css-tricks.com/how-nth-child-works/
It’s not ideal, but it’s gotten me through it given I expose the same social links on every page. I’m seeing that on my site as well so it’s probably a universal problem.
Forum: Fixing WordPress
In reply to: 404 on author page using custom permalinks and paginationdone
Forum: Fixing WordPress
In reply to: 404 on author page using custom permalinks and paginationoh, nvm… I was way overcomplicating this, I was thinking that would affect my post urls when it has nothing to do with them. Thanks again.
Forum: Fixing WordPress
In reply to: 404 on author page using custom permalinks and paginationaha! Big blinding flash of the obvious (well, should have been obvious I guess), thanks!
It’s related to the url structure I’m trying to create, I was trying to eliminate the “author” folder and instead use the author name to give the user some context of who’s blog they were in from the url without adding the additional characters. Lot of ancient history here that I’m just now remembering. I think this gives me a lot of new stuff to chew on and troubleshoot. Thanks!
Forum: Fixing WordPress
In reply to: 404 on author page using custom permalinks and paginationinteresting, it’s not working for me? Is it still working?
Forum: Fixing WordPress
In reply to: 404 on author page using custom permalinks and paginationI don’t think so.
Forum: Fixing WordPress
In reply to: 404 on author page using custom permalinks and paginationI think what’s happening is the permalink is attempting to take the site to a post because of the permalink structure. I think I might need to add a rewrite rule to make this work?
I’m pretty sure I could construct the regex to detect the redirect, something maybe like:
/blog/[\w\d-]*/page/[\d]*/
but what I’m not sure of is how I can pass that information to the author page? Do I redirect to something like path/author.php?page=n
Forum: Fixing WordPress
In reply to: 404 on author page using custom permalinks and paginationk, I tried replacing the entire page with <?php echo “test”; ?>
and the paginated view still returned the 404… That leads me to think the problem is elsewhere?
Does this sound correct?
Forum: Fixing WordPress
In reply to: 404 on author page using custom permalinks and paginationReplaced, same result. I tried: /blog/dr-fiona-nd/page/1/ and also got the 404. I think the endpoint isn’t resolving because I tried echoing an html comment as the first line of code in author.php and I didn’t see that show up on the 404 page, but I did see it via the direct path (so I know the change was propagating).