Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
planetcappe
tagDiv Member

Well, I should double check the existence of the form and then repeat all the steps… otherwise wait for the support!

planetcappe
tagDiv Member

Ok… at the moment, as I said, I’m developing locally, so no ftp involved… I hope all will be fine when I’ll upload all online! Thanks.

planetcappe
tagDiv Member

Yes, I understand. Is it possible for you to do some test to see if I am the only one getting this error?

planetcappe
tagDiv Member

Thanks for the response. I did it many times and never had errors, at the moment I’m using the latest version of the theme, 8.0, and the child theme that comes bundled. As you know, the child theme doesn’t seem to be updated to the 8.0 version, it also has a presentation image of version 7. I’m using it locally to develop my project.
The strange thing is that it’s searching an editor-style.css file that is not present in the child folder, so I’m wondering: should it be there?

planetcappe
tagDiv Member

Alright, it works. In Visual Composer there was an even simpler way for non technical users using the GUI, but maybe there will be in Tagdiv Composer in the future!
Bye!

planetcappe
tagDiv Member

Ok, I don’t care about the validator, but it was only to point out that there are some paragraph errors in the code and the validator helped to see where.
I understand maybe it’s not so important, but the point is there are some paragraphs opened and not closed or viceversa.
Thanks.

planetcappe
tagDiv Member

Ok, I understand, even if there shouldn’t be two ids with the same name…
But for the paragraphs?

planetcappe
tagDiv Member

I didn’t understand they were media pages… I added no-index via Yoast plugin. I’ll check Google the next days. Thank you!

planetcappe
tagDiv Member

You should try it locally cause I can’t disable plugins on the live site. The screenshot above is relative to a local install with only the child theme and the Visual Composer installed, nothing else: no other plugins, no customizations, nothing of nothing. So I think you can be able to reproduce the error on your pc.
Thanks

planetcappe
tagDiv Member

I followed your advice. I did a fresh install of wordpress on my pc and installed the latest version of Newspaper theme, with only the Visual Composer plugin. I created some articles without images, so the default one is picked up. I keep getting the same problem, saying that without content on the page (plugins, ads, images, nothing) it loads faster and it’s harder to see the issue, but it persists. I had to take a photowith my smartphone (it isn’t perfect but you see the problem it’s the same).
Can you help me?

planetcappe
tagDiv Member

Hi, thanks for the response!
Are you sure you looked in the right spot? Cause the problem is manifesting during initial loading of page, like you can see here, instead here is how it looks when the slider is fully loaded. If you can retry I used larger screenshots to be more accurate.
Thanks!

planetcappe
tagDiv Member

Maybe it was my fault. Because Thumbnail Upscale Plugin was causing problems with other plugins, I added some code to handle upscale of smaller images, but it didn’t take account of crop position. Here is the correct code for future reference.
/* Thumbnail upscale
/* ------------------------------------ */
function alx_thumbnail_upscale( $default, $orig_w, $orig_h, $new_w, $new_h, $crop ){
if ( !$crop ) return null; // let the wordpress default function handle this

$aspect_ratio = $orig_w / $orig_h;
$size_ratio = max($new_w / $orig_w, $new_h / $orig_h);

$crop_w = round($new_w / $size_ratio);
$crop_h = round($new_h / $size_ratio);

$s_x = floor( ($orig_w - $crop_w) / 2 );
$s_y = floor( ($orig_h - $crop_h) / 2 );

if( is_array( $crop ) ) {
if( $crop[ 0 ] === 'left' ) {
$s_x = 0;
} else if( $crop[ 0 ] === 'right' ) {
$s_x = $orig_w - $crop_w;
}
if( $crop[ 1 ] === 'top' ) {
$s_y = 0;
} else if( $crop[ 1 ] === 'bottom' ) {
$s_y = $orig_h - $crop_h;
}
}

return array( 0, 0, (int) $s_x, (int) $s_y, (int) $new_w, (int) $new_h, (int) $crop_w, (int) $crop_h );
}
add_filter( 'image_resize_dimensions', 'alx_thumbnail_upscale', 10, 6 );

planetcappe
tagDiv Member

I’m investigating because in a local environment crop of higher images seems to work, but the cropping is not made from top. I made a screenshot. Thanks!

planetcappe
tagDiv Member

Thanks for your reply.
In this way it seems that comment form is only visible for articles that already had comments, in other articles it disappears.
P.S.: I copied the file comments.php in the root of child theme.

Viewing 15 posts - 1 through 15 (of 15 total)