Plugin SEO Friendly Image won't work with inFocus

resolved (6 posts) (2 voices)

  1. ASchoene
    Member

    Hi there,

    in the past I used the Plugin SEO Friendly Image which updatesall images with proper ALT and TITLE attributes.

    Now with the theme inFocus it won't work anymore. I don't think it's an issue with TimThumb because the last theme used TimThumb as well.

    Can you tell me how to correct this?

    Thank you!

    Best Regards,
    Adrian

    Posted 1 year ago #
  2. Elliott
    Support

    Hello ASchoene,

    Just to let you know we do not offer support for third party plugins or scripts. That being said we like to help as much as possible.

    Is the plugin working but some specific images are not working with it such as slider or portfolio images?

    Posted 1 year ago #
  3. ASchoene
    Member

    Hi Elliott,

    thank you for the answer.

    The plugin should set the ALT value of the image inside a post. It should be the title of the blogpost.

    Best Regards,
    Adrian

    Posted 1 year ago #
  4. Elliott
    Support

    When you say the image inside the post do you mean the fullsize image that displays when your post is part of a portfolio? If this is the case and if you want the alt text to be the title of the post then open up /wp-content/themes/infocus/lib/includes/template-portfolio-single.php and on line 174 you should see this,

    <span class="rm_portfolio_img noscript"><img title="portfolio1" src="<?php echo $portfolio_full; ?>" alt="" /></span>

    Go ahead and change it like this,

    <span class="rm_portfolio_img noscript"><img title="portfolio1" src="<?php echo $portfolio_full; ?>" alt="<?php the_title(); ?>" /></span>

    Let us know if that is what you were wanting ASchoene.

    Posted 1 year ago #
  5. ASchoene
    Member

    Hi Elliott,

    that did the trick. I thought about that option as well but I wasn't sure about the code.

    Thank you very much!

    Best Regards,
    Adrian

    PS: How can I close a thread?

    Posted 1 year ago #
  6. Elliott
    Support

    Glad that worked for you ASchoene, I will close it for you. If you have any other questions then let us know.

    Posted 1 year ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme