Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #550961

    Hello.
    Can you help me remove word “Permanent Link” from links?
    I know I have to remove Permanent link from this code:

    		if(!empty($link) && !empty($title)) $title = "<a href='".$link."' rel='bookmark' title='".__('Permanent Link:','avia_framework')." ".esc_attr( $title )."' $markup>".$title."</a>";
    

    from functions-enfold.php but can you help me to do this using “add_filter” in child theme?
    Also I’m not sure about other instances of “Permanent Link”. I need to remove this for every item it is displayed for, like images or other links than titles, and I would like to do this using filters in functions.php inside child theme.

    Can you help me with this? I need only proper code for function.

    Thank you.

    • This topic was modified 9 years ago by Maciej.
    #551039

    Hi rimlightstudio!

    Please copy the whole “avia_title” function from functions-enfold.php file to functions.php file of your child theme and apply the changes you would like to make.

    Regards,
    Yigit

    #551583

    It works :) Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Remove "Permanent Link" using filter in child theme’ is closed to new replies.