Home Forums Plugin Support WP User Frontend (Free Version) How to Change Alt Text for Attachments

This topic is: not resolved

This topic contains 11 replies, has 2 voices, and was last updated by  towhid 4 years ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #42668

    mr views
    Member
    Post count: 10

    I would like to change the alt text for images using the front end editor. Please help.

    #42731

    towhid
    Participant
    Post count: 4505

    Hello,

    I did not understand your question clearly. Please attach a screenshot.

    Thank you ๐Ÿ™‚

    #42732

    towhid
    Participant
    Post count: 4505

    Hello,

    I did not understand your question clearly. Please attach a screenshot.

    Thank you ๐Ÿ™‚

    #42743

    mr views
    Member
    Post count: 10
    This reply has been marked as private.
    #42804

    towhid
    Participant
    Post count: 4505

    Hello,

    Please allow me some time. I have to test this code for me and see the result then let you know update.

    Thank you

    #42816

    mr views
    Member
    Post count: 10
    This reply has been marked as private.
    #43076

    mr views
    Member
    Post count: 10
    This reply has been marked as private.
    #43217

    towhid
    Participant
    Post count: 4505

    Hello,

    Sorry for my late reply. I did the code but did not work for me. Can you please let me know where you worked out this code ? In theme ?

    Thank you ๐Ÿ™‚

    #43322

    mr views
    Member
    Post count: 10
    This reply has been marked as private.
    #43334

    towhid
    Participant
    Post count: 4505

    Hello,

    I am really sorry, I did not understand your question clearly.

    Do you want to create a custom field for image attachments like with posts using frontend pro?

    Can you please share your plan what you want to do with the attachment custom field?

    Thank you ๐Ÿ™‚

    #43369

    mr views
    Member
    Post count: 10
    This reply has been marked as private.
    #43469

    towhid
    Participant
    Post count: 4505

    Hello,

    WP User Fronted has a feature for image attachment which you can use to attach an image.
    wp_generate_attachment_metadata( $attachment_id, $file ); function might help you to change the alt text.

    Please check yourself and let me know

    Thank you ๐Ÿ™‚

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

The topic ‘How to Change Alt Text for Attachments’ is closed to new replies.