VFHwebdev
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can’t install plugins after update– As an alternative, if you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.
That sounds attractive. Thanks!
Forum: Fixing WordPress
In reply to: Can’t install plugins after updateNone that I can see. I do think it’s an out of date plugin. I tried temporarily renaming my plugin directory and that made my plugin search work. I’ve got A LOT of plugins so finding the one is going to take some time.
- This reply was modified 8 years, 3 months ago by VFHwebdev.
Yes. Here’s what that section shows:
MySQL
Checking if MySQL user has DELETE privilege OK
Checking if MySQL user has INSERT privilege OK
Checking if MySQL user has UPDATE privilege OK
Checking if MySQL user has SELECT privilege OK
Checking if MySQL user has CREATE TABLE privilege OK
Checking if MySQL user has ALTER TABLE privilege OK
Checking if MySQL user has DROP privilege OK
Checking if MySQL user has TRUNCATE privilege OKPerfect! Thank you.
I’ll look to see if I can disable the tooltip functionality in my theme. Given a choice between running an outdated plugin version or modifying the plugin, I’ll just stick with the outdated plugin and hope you address it in a future update.
The site is at http://vabook.org.
Forum: Plugins
In reply to: [Add From Server] add checkbox – import all the files from eacch yearYes!! Please, this would be so useful. It would be great if we could select an entire folder to add at the same time. I’ve got many years worth of images I need to add and it takes forever having to go into each year/month folder.
Forum: Fixing WordPress
In reply to: Stuck in a login loopNever mind. It was a browser issue. I don’t know why it didn’t occur to me sooner, but once I tried a different browser everything was fine.
Forum: Plugins
In reply to: [SoundCloud Is Gold] Json errorThanks!
Forum: Plugins
In reply to: [SoundCloud Is Gold] Json errorThat’s what I thought might be going on. I applied for an app ID more than a week ago. SoundCloud’s form says it can take up to two weeks for approval, which just feels like an interminably long time.
Forum: Plugins
In reply to: [Gravity Forms: Post Updates] Creates new post instead of updatingThe documentation says it should be possible:
https://github.com/jupitercow/gravity-forms-post-updates
Allow the public to edit posts
add_filter(‘gform_update_post/public_edit’, ‘__return_true’);
And there’s an option on the post field in Gravity Forms for “default post author”.
All that lead me to think this was doable. But it isn’t? Only logged in users can update post content?
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Indexing ACF fieldsI think I may have found the problem. I have more than one participant per event and I think the additions to $content need a space between them.
add_filter('relevanssi_content_to_index', 'bookfest_add_participant', 10, 2); add_filter('relevanssi_excerpt_content', 'bookfest_add_participant', 10, 2); function bookfest_add_participant($content, $post) { $participants = get_field('participants', $post->ID); if($participants){ foreach ($participants as $participant) { $content .= get_the_title( $participant->ID ); $content .= " "; } } return $content; }Forum: Plugins
In reply to: [Relevanssi - A Better Search] Indexing ACF fieldsI’m making progress but there are a couple of things about the example I’m having trouble understanding.
Here’s the example for reference:
add_filter('relevanssi_content_to_index', 'beautymed_add_product', 10, 2); add_filter('relevanssi_excerpt_content', 'beautymed_add_product', 10, 2); function beautymed_add_product($content, $post) { $tplName = get_post_meta( $post->ID, '_wp_page_template', true ); if ($tplName === 'template-types.php') { $products = get_field('produits'); foreach ($products as $product) { $content .= get_field('description', $product->ID); $content .= get_field('infos', $product->ID); $content .= get_field('conseils', $product->ID); } } return $content; }And here’s what I’m trying to do.
add_filter('relevanssi_content_to_index', 'bookfest_add_participant', 10, 2); add_filter('relevanssi_excerpt_content', 'bookfest_add_participant', 10, 2); function bookfest_add_participant($content, $post) { $participants = get_field('participants', $post->ID); if($participants){ foreach ($participants as $participant) { $content .= get_the_title( $participant->ID ); } } return $content; }Checking for the page template isn’t working for me. I guess my theme is using the default template. So I thought it made more sense to check for the existence of the Participants field. But this isn’t working. I tried removing the “if (participants)” condition and still no dice. Any suggestions?
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Indexing ACF fieldsThanks! I’ll take a look and see if I can apply it to my situation. I appreciate the quick and helpful response.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Indexing ACF fieldsAt a minimum it’d be great if it could index at least the post title of related posts.
Here’s an example use case.
We’re running a web site for a festival. The festival has events and speakers, both of which are custom post types. There’s a relationship field that connects speakers with the events they are speaking at.
Right now, when you search for a speaker by name, you don’t get the events at which they are speaking.