Forum Replies Created
-
AuthorPosts
-
January 18, 2016 at 10:42 am in reply to: Mysterious paragraph tags on first page of archive only #1057988
theukedge
ParticipantHey there,
archive.php: https://gist.github.com/theukedge/0bb695b22d95686142ff
loop-archive.php: https://gist.github.com/theukedge/943c1f6d706f5590e8c0January 14, 2016 at 8:27 am in reply to: Mysterious paragraph tags on first page of archive only #1056061theukedge
ParticipantJanuary 13, 2016 at 8:53 am in reply to: Mysterious paragraph tags on first page of archive only #1055356theukedge
ParticipantSadly, deactivating all plugins did not serve to find the issue. I have no events calendar templates in my theme and here is archive.php and the associated loop-archive.php (in the parent theme).
January 6, 2016 at 12:46 pm in reply to: Mysterious paragraph tags on first page of archive only #1051403theukedge
ParticipantI just checked again and reverted to the 2015 theme, and everything works normally. Another curiosity: using my main theme, if I click on Next Events and then click on the back button to go back to the main screen, the paragraphs issue doesn’t happen. Apparently it’s only on the initial load of the page. Any idea what might be behind that?
January 6, 2016 at 12:45 pm in reply to: Mysterious paragraph tags on first page of archive only #1051401theukedge
ParticipantThis reply is private.
January 22, 2015 at 8:08 am in reply to: Jetpack's Widget Visibility broken by updating to ECP 3.9.1 #936204theukedge
ParticipantYep, I just replaced the code as well and it has worked for me too.
Thanks
January 19, 2015 at 7:33 am in reply to: Jetpack's Widget Visibility broken by updating to ECP 3.9.1 #934676theukedge
ParticipantThat’s correct. The Widget Visibility settings are all still there and programmed as they should be, but it is not functioning correctly on the front-end.
I tried removing the Events Calendar widgets, refreshed the page, but still the issue persists.
January 16, 2015 at 10:30 am in reply to: Jetpack's Widget Visibility broken by updating to ECP 3.9.1 #933777theukedge
ParticipantThis reply is private.
theukedge
ParticipantYep, all fixed. Much thanks!
theukedge
ParticipantOh wait… the file didn’t upload when I thought it did. It seems that that might have done it after all. Let me just check…
theukedge
ParticipantNope, no dice. Here’s my revised code, but the outcome is the same…
theukedge
ParticipantHi Casey,
That was a good start, but my function doesn’t seem to be working. Perhaps you can see what the issue might be. When I use this function, it does return events that only have the meta_value of _ecp_custom_1 set to Featured, but it shows all of these events, including ones that have already passed, starting with the oldest. Furthermore, when showing these old events, it shows the start date as today’s date, but shows the end date correctly. Any idea why it’s not just showing upcoming events? (see screenshot: https://cloudup.com/cMET9659K3t)
Can you please let me know where I’m going wrong? Thanks
theukedge
ParticipantSorry – slip of the tongue. How about the query? If I want to modify the widget query (by adding in a meta_query), am I able to directly edit that, or run it through a filter. I checked through the links you sent and couldn’t see what I needed.
theukedge
ParticipantCasey,
The post about what changed at 3.6 with the widgets indicated that the loops are now contained within the template files. At first glance, it’s not massively obvious where the loop is, or if there’s a filter we can use to tweak it. Can you point me in the right direction?
-
AuthorPosts
