Forum Replies Created
-
AuthorPosts
-
Ian
ParticipantThanks for your reply.
You suggest I could tap into a filter
apply_filters( 'tribe_get_prev_event_link', tribe( 'tec.adjacent-events' )->get_prev_event_link( $anchor ), $event_id );and then; ‘check if it’s a past event’… Would you be able to suggest how this last part might be achieved?
Thanks
Ian
ParticipantOK thanks – That works well enough – looks a little odd but at least visible.
I don’t really understand why it is going up when the page initially loads on the month view given that the list view and others drop down?!
Ian
ParticipantHaving tried another theme I guess it is not to do with Themify after all…
June 30, 2017 at 11:35 am in reply to: Pro only activated once but getting 'out of installs' message #1314688Ian
ParticipantThis reply is private.
January 15, 2016 at 2:17 pm in reply to: Ampersand causing display errors when used in event summary and list widget #1056834Ian
ParticipantThis seems to work I think…
<?php // based on code by Chirp Internet $excerp = tribe_events_get_the_excerpt(); $break = " "; $limit = 85; $pad = "..."; // return with no change if string is shorter than $limit if(strlen($excerp) <= $limit) { $printexcerp = $excerp; }else{ // is $break present between $limit and the end of the string? if(false !== ($breakpoint = strpos($excerp, $break, $limit))) { if($breakpoint < strlen($excerp) - 1) { $printexcerp = substr($excerp, 0, $breakpoint) . $pad; } } } echo $printexcerp; ?>January 14, 2016 at 10:21 am in reply to: Ampersand causing display errors when used in event summary and list widget #1056114Ian
ParticipantYes, I should have said I did a number of customisations to get the list to display as needed. The first three may be relevant.
/../child-theme/functions.php ( see http://pastebin.com/dyUSRVsY )
/../child-theme/tribe-events/widgets/list-widget.php ( see http://pastebin.com/jd3GGpmJ )
/../child-theme/tribe-events/widgets/modules/single-event.php ( see http://pastebin.com/hAy8J9yc )
/../child-theme/tribe-events/list/single-event.php ( see http://pastebin.com/BFxLFWiV )January 13, 2016 at 4:09 pm in reply to: Ampersand causing display errors when used in event summary and list widget #1055661Ian
ParticipantThis reply is private.
January 13, 2016 at 4:07 pm in reply to: Ampersand causing display errors when used in event summary and list widget #1055657Ian
ParticipantWell – I have run some more tests and it seems as though the problem is when there are between 65 and 66 characters in whatever is entered in the excerpt field with one of the characters being an ampersand.
OK
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz&zzzzzzzzzzzzzzzzzzzzzNG
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz&zzzzzzzzzzzzzzzzzzzzzzzOK
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz&zzzzzzzzzzzzzzzzzzzzzzzzzOK
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzbzzzzzzzzzzzzzzzzzzzzzzNG
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz&zzzzzzzzzzzzzzzzzzzzzzzNG
zzzzzzzzzzzzzz&zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzNG
&zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzOK
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzaIan
ParticipantI have had problems with ‘curly quotes’ before now, but never found the ‘invisible’ causing the problem in my case. If this does seem to be the cause of your difficulties, and you are able to spot anything do post back.
Ian
ParticipantHi Michael
I had a similar problem which in my case was down to odd ‘invisible’ characters which had been pasted into an event entry. When the event was re-created from scratch it was fine.
December 23, 2015 at 5:51 am in reply to: Search results list repeating events – how to limt results? #1045739Ian
ParticipantI have added a feature request.
Meantimes – any further syntactical detail on how to exclude event child posts or do I just need to wade in there and spend some hours looking for the relevant code sections and calls? Any example code out there at your end?
December 22, 2015 at 1:14 pm in reply to: Search results list repeating events – how to limt results? #1045571Ian
ParticipantCan’t say I have a huge knowledge of WP_Query, but have modified WordPress template files before now in PHP so should be able to find my way around if you can give me some help with this.
Shame if it used to be an easy thing to switch off repeating events from the admin interface it is not presently supported in this way…
Ian
ParticipantIn my case correct styling returned without my doing anything! Unsettling when things change for no obvious reason! Perhaps it was a local browser issue? Thought I checked in more than the one.
-
This reply was modified 10 years, 4 months ago by
Ian.
August 25, 2015 at 3:08 pm in reply to: License Key not being saved n subdomain – upgrade unavailable #998977Ian
ParticipantMaybe I clicked ‘save changes’ too fast before – seems to have saved properly now and the update worked! Thanks.
Ian
ParticipantWell that’s Weird – I just added the code again to run it in order to see what was on ‘line 28’ where a spurious ‘&’ was being reported in the error log, and it ran OK and cleared the problem! I don’t think I added an & by mistake before as it was just a paste, but I have to assume it was something like that. Anyhow all seems good now which is a relief!
-
This reply was modified 10 years, 4 months ago by
-
AuthorPosts
