Hi,
thanks for this quick answer !
The code you give me doesn’t work if I put the modified widget in my Child-Theme.
I assume I have to change :
$filepath = get_template_directory() . '/inc/widgets/recent-posts/views/widget.php';
by this :
$filepath = get_stylesheet_directory() . '/inc/widgets/recent-posts/views/widget.php';
(change the widget path for the Child-Theme folder)
Now its work like a charm…
The other solution I found was to copy the entire widget in my Child-Theme, modify every files to declare a new Widget and adapt it as I need.
Thanks again for your work and reactivity
PS: just for your further update, I found a small error in the code of your ‘Shufflehound Recent Posts’ :
$widget_ops = array( 'description' => esc_html__( 'Recent Postss', 'jevelin' ) );
Postss with 2 s (line 7 of the class-widget-recent-posts.php) and the same in your javelin.pot
Hi,
thanks for your answer, address is : http://preprod.pizzadudomaine.fr
This is the home page of my website (preproduction)
I also create a test page at this address : http://preprod.pizzadudomaine.fr/ipad/ with a simple column and the “Woo Recent Products” shortcode (settings on screenshots)
Best regards,