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

    Hi,

    I have a problem with a link post that does not work. It is the same as others but in this one the link is cut.

    It is the fourth post of this page “Great interview (…) Board Member”
    Link is : http://goo.gl/Md25XC

    Thanks for your help

    #205935

    Hey oliviad!

    I think Kriesi’s regex expression does not parse your link properly. Please open up /wp-content/themes/enfold/includes/helper-post-format.php and replace

    
    $pattern1 	= '!^(https?|ftp)://(-\.)?([^\s/?\.#-]+\.?)+(/[^\s]*)?!';
    

    with

    
    $pattern1 	= '$\b(https?|ftp|file)://[-A-Z0-9+&@#/%?=~_|!:,.;]*[-A-Z0-9+&@#/%=~_|]$i';
    

    Regards,
    Peter

    #206082

    Thank you very much for this amazing support ! Once again this solved the problem :)

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Problem with a custom post "link"’ is closed to new replies.