cameronbehzadpour
Forum Replies Created
-
Thanks again for all your help. And sorry for wasting time. I did it the same way three times and the last one worked for some reason. I just added the modified file to the override directory and it’s still working.
I have no idea what I was doing wrong, but thank you!
And just like that, it’s working… I literally just did everything I did over again for those screenshots and it worked… I am at a loss for how that could happen.
I agree. These changes should not have this effect. And reverting shouldn’t cause any of this to happen. I’m not sure what could cause this. (why I’m trying the blank site approach)
I’m not using Code Snippets and my site’s theme has not been modified. We are using Elementor’s Hello theme just as it comes.
Here are some screenshots of what I’m doing:
Editing the source file has the same effect. I get this error:
Then I am unable to revert the change. Uninstalling the plugin results in a full crash of WordPress.
Ahh. Now I understand the +1 year thing better. Thank you!
I’m going to try doing this on a completely blank WordPress site. I’m thinking it might be another plugin that is causing the issue maybe?
I just tried this thinking the same thing. I used FTP to make the template override file in wp-content/connections-templates/anniversary-light/anniversary-light.php with the line of code added. I got the same result. Also I was unable to revert the change which led to a site crash again.
I’m no programmer, but how does the year get advanced by one if the datecode probably looks like 20220503 and the math operation is saying ‘+1 year’? (seriously, I’m not a programmer, so if this is stupid, disregard)
I did some testing this morning and unfortunately things didn’t go according to plan…
I applied the line of code through WordPress’ Plugin File Editor and got a strange error that said “Error: Template Not Found” so I tried to revert the changes and see if that error went away, but once removing that line of code, it continued to say that error. Then I tried to specify template=’anniversary-light’ in the short code, but then it said “No,” which was the beginning of the no anniversaries text. Since the page was being talked about in our meeting this morning, I tried to just uninstall the Connections plugin and reinstall it (hoping that would just revert it to a working state), but that led to a full WordPress site crash. Thankfully I had a backup from earlier in the morning, so I restored to that just in time for the meeting.
So basically I’m back at square one. Is there a different way I should go about testing if the change to the plugin template file will work? I’m about to try again.
Yep. I can do that if I know the code I’m adding.
Forum: Plugins
In reply to: [Dynamic Conditions] Show only on SundaysNevermind. It wasn’t working because it uses server time and not client time. I was switching my client’s time to test and nothing was happening.