Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter GroNovaAcademy

    (@gronovaacademy)

    Hi again.
    need a solution for that problem please.
    Regards, Paul

    Plugin Author chsxf

    (@chsxf)

    As seen by email with the topic author, it seems we have a bug with the way we handle bloginfo('url'); result.
    Try using esc_url( home_url( '/' ) ); instead.

    A future will fix this issue.

    This worked better for me
    <?php echo '<a href="'.get_bloginfo('url') .'/' .'"'?>

    Hi,

    Could you explain where should I paste what you suggested?

    I’ve tried in function.php, but I think I do something wrong because it doesn’t work.

    Many thanks

    Ichi

    Thread Starter GroNovaAcademy

    (@gronovaacademy)

    Hi Ichi

    as far as I can see, the problem should be fixed by plug in developer as well as the theme developer. I have made at that time, the bug existed, a child theme and modified the header.php by using the recommended code snippet. (replaced bloginfo(‘url’); by esc_url( home_url( ‘/’ ) );)

    If you don’t have the latest version either of both theme and plug in, try this first.
    regards, Paul

    Hi,

    Many thanks Paul for your help.

    I have last version of wp, last version of plugin and last version of theme. But not sure if the theme autor updated the theme fixing the bug.

    I’ve trying esc_url( home_url( ‘/’ ) );) but it the web crash, I think there are so many “)”, sorry I am an amateur.

    So if the line is

    /”>

    How should it be!

    If I do the following it doesn’t work,

    /”>

    thanks for your patience!!

    REgards,

    Ichi

    ups, the code I put didn’t show up well.

    So it would be in this line /”>

    the next? /”>

    aggg… it changes.

    now I see the backticks, sorry

    <a>/">

    </a><a>/">'</a>

    [Moderator Note: Please post code & markup between backticks (not single quotes) or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    <a href="<?php bloginfo("url"); ?>/">

    <a href="<?php esc_url( home_url( '/' ) );) ?>/">

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘pre-path mode and logo (click for home)’ is closed to new replies.