Plugin Author
Brecht
(@brechtvds)
Hi there,
At the moment that’s not possible, I’m afraid, but it’s on our todo list.
Brecht
Thread Starter
aaa
(@studiolost)
and what about paid customizations? 🙂
is ti possible to hire you to hijack your own work?
😛
stefano
Plugin Author
Brecht
(@brechtvds)
I’m afraid I don’t have time for freelance work. Maintaining and supporting the plugins while traveling around the world is taking up most of my time.
We do have a crp_output_list_item plugin hook available that you can use yourself to customize the output if you’re familiar with PHP.
Brecht
Thread Starter
aaa
(@studiolost)
hi,
thx Brecht for your time and your work on this useful plugin 🙂
we’ll go through the plugin hook. i don’t find documentation on line, is it available somewhere?
thx,
stefano
I have installed the Plugin, but it’s not working, I can choose a relation after saving te post none of the changes is visible. Is there a javascript conflict you know off? I have tried several WordPress websites’all on version 4.41
Thread Starter
aaa
(@studiolost)
i don’t have that conflict in my installation: pretty sure is a plugin conflict. start deactivating all of them and try to save. if it starts working, then you just have to activate one by one the plugins, until you find out which one is responsible of the failure.
if this doesn’t do the job, try the same with the installed theme, switching it twentysixteen.
i have WP 4.4.1 with all WPML suite and WP-Types suite and some other plugins installed, and everything works fine.
Plugin Author
Brecht
(@brechtvds)
@grafiron I’d try the steps that StudioLOST is suggesting (thanks for helping out!), if that doesn’t work feel free to open a new support topic.
@studiolost
No documentation on that hook yet. Basically you want to add something like this to your theme’s functions.php file:
function crp_output_list_item( $output, $post_id ) {
// Make changes to the $output here
// You can use $post_id to get the featured image
return $output;
}
add_filter( 'crp_output_list_item', 'crp_output_list_item', 10, 2 );
Hope that helps, Brecht.
@brechtvds Sorry to re-open this, but I was trying to do something similar and noticed that the $post_id
in this context is the current post, not the related post. That seems like not exactly what we’re looking for. I’m imagining the feature image is in the meta data for the post, so could you pass the $relation
as the function parameter instead of $post_id
? Seems like it would save a lookup.
Plugin Author
Brecht
(@brechtvds)
Good point, I didn’t realize that was the wrong post_id. Will look into it for the next update.
Brecht
Plugin Author
Brecht
(@brechtvds)
Good point, I didn’t realize that was the wrong post_id. Will look into it for the next update.
Brecht