Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #1480740
Nofollow links in mega-menu
Closed

Comments

  • Veronique started the conversation

    Hi,

    I am working on SEO for my blog, and I noticed that my articles in my mega-menu appear as "do-follow"... So it means that they appear as do-follow links on all my pages. How could I make them nofollow so that they don't impact my site architecture? I am ready to add some code in a child theme, but I am not a professional developper.

    I hope my question is clear enough...

    Thanks!

    Veronique


  •  2,700
    PenciDesign replied

    Hi,

    You can do that by add more this code:

    rel="nofollow"

    like on this image


    Best Regards,

    PenciDesign

  • Veronique replied

    Thank you very much!

    I am using the child theme, so I copied the penci-render.php from the parent theme, to modify it within the child theme, but it doesn't seem to work. Is there something I am not doing properly? I am supposed to add something in the stylesheet as well?

    Enclosed the screenshots.

    Thanks!

    Veronique

  •  2,700
    PenciDesign replied

    Hi,

    You're doing wrong. You can open penci-render.php file and copy the codes from line 8:

    if ( ! function_exists( 'penci_return_html_mega_menu' ) ) {

    to the end of this file.

    After that, paste it to functions.php files on your child theme and modified it.


    Best Regards,

    PenciDesign

  • Veronique replied

    Hi, 

    Thank you for your clear, fast and very patient replies, it's working now :-)

    All the best,

    Veronique