gobbetto
Forum Replies Created
-
hi,
well, I honestly have no idea, I’m not an expert
what do you mean by lazy loading?can i do something when i upload pictures?
for the alt attribute I found this code online:
//creo la funzione function alt_immagini($html, $id) { return str_replace('alt=""','alt="'.get_the_title($id).'"',$html); } add_filter('image_send_to_editor', 'alt_immagini', 10, 2); //10 è il parametro $priority predefinito //2 è il $accepted_args cioè il numero di parametri assegnati alla funzione function auto_alt_immagini($attributes, $attachment){ if ( !isset( $attributes['alt'] ) || '' === $attributes['alt'] ) { $attributes['alt']=get_the_title($attachment->ID); } return $attributes; } add_filter('wp_get_attachment_image_attributes', 'auto_alt_immagini', 10, 2);
to put in the function.php file
for the rest I don’t know, I refer you to your advice
thanks
Forum: Fixing WordPress
In reply to: Site Healthhi
Thanks for the reply
I honestly don’t remember exactly
initially I had created the site on altervista and then I migrated to a paid hostI also checked the page on https://validator.w3.org
and there are tons of other mistakes but i don’t know if they affect with Site Healththanks
hi,
thanks for your answer
I took the test using https://validator.w3.org
there are several errors affecting the plug-in
at least from what I could understandthanks
solved
Forum: Fixing WordPress
In reply to: problems with Permalinkhi ave
static page
homepage: Homethanks
Forum: Fixing WordPress
In reply to: problems with Permalinkin part I solved it
home-2 was the slug, changed the slug to home and everything came back as before
but why if I have selected categories and post name settings also puts me home?in practice, because my links are for example https://www.aeki.biz/home/idee-luminose/ancella
and not only https://www.aeki.biz/idee-luminose/ancella
thanks
Forum: Fixing WordPress
In reply to: problems with Permalinkthanks for your answer
I did what you told me
I disabled the plug-in and changed the settings of the permalinks
but nothing changesForum: Fixing WordPress
In reply to: problems with PermalinkHi and thanks for the reply
yes, i use Duplicate Post, I used it to clone the home before making changes
where is that you see too many slashes ?
what do you mean by “resaving your permalinks” ?
thanks a lot
Forum: Fixing WordPress
In reply to: WordPress update problems, PHP version not adequateI solved
thanksForum: Fixing WordPress
In reply to: WordPress update problems, PHP version not adequatethanks for the reply
I found how to update the PHP on my host, but all PHP are the same and compatible?
also, my doubt is if I have to do some checks on the wordpress site x to verify plug-in or other compatibility
thanks
Forum: Plugins
In reply to: [Recent Posts Widget With Thumbnails] can show recent pages ?thanks for your answer
I was looking for something free but thanks for the info
Forum: Themes and Templates
In reply to: [Hemingway] different menu for different pagethanks for reply, I solved with Page Specific Menu Items for different menu for the different page
but how I can make a drop down menu?thanks a lot
bye