Image alt tags

This topic contains 5 replies, has 2 voices, and was last updated by  Stiofan O’Connor 7 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #395514

    Dennis Wolf
    Expired Member
    Post count: 5

    I can’t figure out how to add alt tags to the uploaded images, using the file name is just terrible for seo purposes. Adding custom alt tags to thousands of directory images greatly boosted my ranking on other websites. If Geodirectory used the standard WordPress file upload I could just add the alt tag to the code, but it uses a custom function which directly calls the images attached to the post.So the question is how can I add custom alt tags, or how can I modify the existing code to my purpose?

    Thanks in advance!

    #395584

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Dennis,

    It in our plans to let users add their own titles and descriptions, we have already added the DB columns and most of the code to display it but not the code to input it.

    Also in most places the images are shown as background images and give the title of the listing instead of an alt tag.

    It depends how you would like to proceed but i can give you snippets of how you can edit things if you wish.

    Stiofan

    #395595

    Dennis Wolf
    Expired Member
    Post count: 5
    This reply has been marked as private.
    #395692

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Where exactly on the front end do u want this to show? As i said most images are not img tags but background images of a div.

    Stiofan

    #395695

    Dennis Wolf
    Expired Member
    Post count: 5
    This reply has been marked as private.
    #395726

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    It will add the alt and title from the DB, it pulls the title from the table wp_geodir_attachments

    Stiofan

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount