• Resolved akhbarelyaom

    (@akhbarelyaom)


    Hi

    Great plugin as i came from your site … but i search for a similar plugin or function that get all Image Attributes like post title and insert it on database like your plugin do …

    i saw good functions like :

    function isa_add_img_title( $attr, $attachment = null ) {
     
        $img_title = trim( strip_tags( $attachment->post_title ) );
     
        $attr['title'] = the_title_attribute( 'echo=0' );
        $attr['alt'] = $img_title;
     
        return $attr;
    }
    add_filter( 'wp_get_attachment_image_attributes','isa_add_img_title', 10, 2 );

    and here also: https://clicknathan.com/web-design/title-attribute-on-images-in-wordpress/

    and: https://brutalbusiness.com/automatically-set-the-wordpress-image-title-alt-text-other-meta/

    but what about the bulk action for old images ??

    i think the edit can be on iaff_image-attributes-from-filename-do.php file but i’m not sure as i’m beginner … so could you please help me with tihs ??

    waiting your feedback as it really much appreciated.

    Best Regards,
    Mostafa

    • This topic was modified 7 years, 2 months ago by akhbarelyaom.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Arun Basil Lal

    (@arunbasillal)

    Hey Mostafa

    Thanks for the kind words.

    The feature for new uploads is something I am planning for next release. The code you shared should do the job.

    Regarding the bulk updater, it will be part of the Pro version of the plugin.

    I can give you hints though. You are right, its in the iaff_image-attributes-from-filename-do.php and the function you need to modify is iaff_rename_old_image()

    Hope that helps you get started.

    Regards,

    Thread Starter akhbarelyaom

    (@akhbarelyaom)

    Thank you so much Arun for your replay and help … much appreciated … i’ll try and tell you ??

    also waiting for the pro version ??

    Best Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What about better seo title ?’ is closed to new replies.