Change outbound links in Testimonials and Portfilio to rel="nofollow"

resolved (5 posts) (2 voices)

  1. speacock
    Member

    Let me first say I really, really like the inFocus theme and that you continue to update it!

    I'd like to know where I would edit the theme files to add the attribute rel="nofollow" to the outbound links created in the portfolio and testimonials custom fields.

    Thanks so much for any assistance you can provide.

    Posted 4 months ago #
  2. Elliott
    Support

    Hello speacock,

    You can find the links in /wp-content/themes/[your_theme]/lib/shortcodes/15-portfolio.php and 27-testimonials.php.

    Which links are you wanting to change? Just the read more buttons?

    Posted 4 months ago #
  3. speacock
    Member

    On the portfolio I'd like to change the 'read more' button link to include the attribute rel="nofollow" and I'd like to do the same on the link in the testimonial custom content type.

    Posted 4 months ago #
  4. Elliott
    Support

    The the portfolio look on lines 323 and 670. For the testimonial look in /wp-content/themes/[your_theme]/classes/widget-testimonial.php on line 101.

    Posted 4 months ago #
  5. speacock
    Member

    outstanding - thank you!

    Posted 4 months 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