Hi,
i am testing a [adverts_add] form on your website, it seems that none of the data is being saved in wp_postsmeta table.
It is easy to check that by filling all the fields and going to Preview page the: contact name, price, phone and email that is all the data stored in wp_postsmeta will not show on preview and will be gone if you go back to the form.
I am not sure why does it work like that. I remember you had a problem with the MySQL database on this server which did not generate auto_increment id and just returned 0 for the new entry IDs, maybe it is again some issue with the database?
Regarding the images not showing this might be some issue with the function wp_get_attachment_image_src()
or more precisely with the wp_get_attachment_image_src
filter if it’s being used by some other plugin or theme to add some additional information.
You can try 2 things to fix it.
1. in your theme functions.php file add the code below
add_filter( "adverts_load_template", function() {
remove_all_filters( "wp_get_attachment_image_src" );
} );
and see if the images show.
2. in wp-admin / Media panel find one of the WPAdverts attachments and check it’s ID then in the code below replace 1000 with your actual attachment ID and paste the code in theme functions.php file.
add_action( "wp_footer", function() {
if( function_exists( "adverts_upload_item_data" ) ) {
echo "<pre>";
print_r( adverts_upload_item_data( 1000 ) );
echo "</pre>";
}
} );
Once you do that at the bottom of the page you should see some debug information, copy it and send to me using a contact form at https://wpadverts.com/contact/ and remove the code from your functions.php i should have then more details about what is not ok with the images.
3. if you installed recently a plugin related to images you can try disabling it and see if it helps.