Hi all,
I'm using the "Brightbox Latest News"-widget in my sidebar. So far, so good...
But: In the tumbnail-area this widget is showing the image used in the posts. (And if no image is used in the post, the tumbnail is blanc)
What I would like to do is the following:
Refer to another image to show in this tumbnail-area.
=> Now I'v hard coded it, but this is not the way I like to work.
I found the php-file where I need to change this:
=> .../Brightbox/framework/php/class-framework-widgets.php
=> I've changed:
echo title='".get_the_title()."' href='".get_permalink().;
echo "<span class='news-thumb'>";
echo $image;
And replaced "the echo $image;" By:
echo "Hardcode path of image";
This works fine but a few questions about this:
A) how can I refer to an image without have to hardcode it? (for example when I use the "Default Post Thumbnail" - Plugin? Can I get this selected picture here with a function?)
B) I am using the 'category-icons' - plugin. Is it possible to put here a function to get the icon linked to this post's category? (This would be my ultimate solution!!!!!;-))
C) My steps above (hardcoded) are working, but the image is not shown IN the tumbnail border, but right from it. Any ideas how i can put it in the border?
Thanks in advance already for your answers!
Vanwero














