raulfg
Forum Replies Created
-
solved with workaround
I found a workaround to solve this:
Creating a second wordpress /woocommerce to import all content to this. Once imported all… create a csv directly from this woocommerce with built in export tool… and… et voilá.. the final installation import correctly all images with attachments!!!
to whom it May concern
not work.
I’m using the built-in woocommerce import utility. I will try this plugin. I suppose if the image is not attached to product in media library not works.
Forum: Plugins
In reply to: [DX Delete Attached Media] Will it delete images of old deleted posts?This works for me:
add_action( ‘before_delete_post’, function( $id ) {
$attachments = get_attached_media( ”, $id );
foreach ($attachments as $attachment) {
wp_delete_attachment( $attachment->ID, ‘true’ );
}
} );IMPORTANT: Keep in mind it will only be called when the posts are permanently deleted from the trash! If you want to change this behaviour, include the following line in your wp-config.php file:
define(‘EMPTY_TRASH_DAYS’, 0);
Forum: Plugins
In reply to: [DX Delete Attached Media] Will it delete images of old deleted posts?Forum: Plugins
In reply to: [Polylang] 2.3.9 has a conflict with Calendar WidgetIDEM! ??
[15-Aug-2018 10:26:55 Europe/Madrid] PHP Fatal error: Uncaught Error: Cannot access property PLL_Widget_Calendar::$instance in /home/mysiteweb/public_html/biodinamico/wp-content/plugins/polylang/include/widget-calendar.php:37
Stack trace:
#0 /home/mysiteweb/public_html/biodinamico/wp-includes/class-wp-widget.php(372): PLL_Widget_Calendar->widget(Array, Array)
#1 /home/mysiteweb/public_html/biodinamico/wp-includes/widgets.php(743): WP_Widget->display_callback(Array, Array)
#2 /home/mysiteweb/public_html/biodinamico/wp-content/themes/moose/footer.php(143): dynamic_sidebar(‘footer_column_2’)
#3 /home/mysiteweb/public_html/biodinamico/wp-includes/template.php(688): require_once(‘/home/clientest…’)
#4 /home/mysiteweb/public_html/biodinamico/wp-includes/template.php(647): load_template(‘/home/clientest…’, true)
#5 /home/mysiteweb/public_html/biodinamico/wp-includes/general-template.php(76): locate_template(Array, true)
#6 /home/mysiteweb/public_html/biodinamico/wp-content/themes/moose/full_width.php(176): get_footer()
#7 /home/clie in /home/mysiteweb/public_html/biodinamico/wp-content/plugins/polylang/include/widget-calendar.php on line 37
[15-Aug-2018 10:27:12 Europe/Madrid] PHP Fatal error: Uncaught Error: Cannot access property PLL_Widget_Calendar::$instance in /home/mysiteweb/public_html/biodinamico/wp-content/plugins/polylang/include/widget-calendar.php:37Forum: Plugins
In reply to: [WP Comment Policy Checkbox] No aparece nada según qué themesMuchas gracias, por eso anoté el comentario, muchos dev estamos usando estos frameworks como punto de partida ??
No obstante, buen trabajo!
https://www.nextgen-gallery.com/wp-content/uploads/2013/04/NGG_DispleyGalleries_displaytype.png the windows appears blank!!!!
no options.The links before update that my albums show are:
https://www.website.com/mypermalink?album=1&gallery=7
Now its impossible to access to the page with the shortcode after change any option from gallery plugin. But remenber that the link is different