bkalish
Forum Replies Created
-
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Custom ExcerptsAh! That was the problem!
I modeled my “add filter” after the illustration in the documentation (https://www.relevanssi.com/user-manual/filter-hooks/relevanssi_excerpt_part/), but of course that example only used the first two parameters. Thanks for catching this.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Custom ExcerptsStrange. When I define my filter with the signature
function my_relevanssi_excerpt_part( string $excerpt_text, array $excerpt) : string
it works fine but when I use
function my_relevanssi_excerpt_part( string $excerpt_text, array $excerpt, int $post_id ) : string
I get a fatal error:Fatal error: Uncaught ArgumentCountError: Too few arguments to function my_relevanssi_excerpt_part(), 2 passed in ... and exactly 3 expected ...
- This reply was modified 3 years, 4 months ago by bkalish.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Custom ExcerptsAh, I just found relevanssi_highlight_terms. I’m all set. Thanks for making Relevanssi so comprehensive and customizable! I work at a small non-profit, and I really appreciate having this in the basic version of the plugin.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Custom ExcerptsI now have something very much along the lines of what I wanted. One more question: is there an easy way to apply Relevanssi’s highlighting to my customized excerpt?
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Custom ExcerptsOne note from my work so far: relevanssi_excerpt_part does not in fact get called with the post ID, and defining a filter that expects a third argument results in an error. That said, get_the_ID() and similar functions seem to be working fine, so that may not be necessary.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Custom ExcerptsWonderful! I hadn’t found that filter yet and I agree it looks like it has what I need. I’ll give it a try.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] errors with jetpack-carousel9.8.1 fixed it for me as well.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] class.jetpack.php missingThanks!
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] class.jetpack.php missingThank you, that does appear to be discussing the same problem. Subscribed!
Forum: Plugins
In reply to: [User Access Manager] Prompts to update database after it has been updatedForum: Plugins
In reply to: [User Access Manager] Prompts to update database after it has been updatedHi, @gm_alex. I don’t know how to tell if it solved the problem. I’m not getting prompts to update the database, but since I just reset the plugin I presumably wouldn’t get any such notices until the next update that required a database update.
Forum: Plugins
In reply to: [User Access Manager] Prompts to update database after it has been updatedDone. Just so you know, though, resetting the plugin deleted the backups that I had made through UAM as well. This is fine since recreating our settings was easy, but might have been a problem for folks with a more complex use case.
Forum: Plugins
In reply to: [User Access Manager] Prompts to update database after it has been updatedIt certainly appears to be that way.
Forum: Plugins
In reply to: [User Access Manager] Prompts to update database after it has been updatedNone of
PREFIX_options
andPREFIX_BLOGID_options
tables have auam_db_version
entry. There were variousPREFIX_BLOGID_uam_accessgroups
andPREFIX_BLOGID_uam_accessgroup_to_object
tables with the ids of blogs that do not have UAM installed.Forum: Plugins
In reply to: [User Access Manager] Prompts to update database after it has been updatedThank you!