• Resolved OG-S

    (@og-s)


    Hi!

    In my custom navigation menu, I have

    <?php link_en(wp_list_pages('title_li=&post_type=expos&sort_column=post_date')); ?>

    In my functions.php , I have

    function link_en($input) {
    $output = str_replace(array("cawilliamson.ch/"), "cawilliamson.ch/en/", $input);
    echo $output;
    }

    But the list is not coming with /en …

    Any suggestion ?

    Best regards

    https://www.ads-software.com/plugins/mqtranslate/

  • The topic ‘wp_list_pages’ is closed to new replies.