• Resolved wolekpl

    (@wolekpl)


    Hello!
    How to integrate the following code:

    <?php pll__('Search Results for:'); ?>

    with this:

    <?php printf( __( 'Search Results for: %s', 'shape' ), '<strong>' . get_search_query() . '</strong>' ); ?>

    so that the text “Search Results for:” was created in wordpress languages

    https://ww.wp.xz.cn/plugins/polylang-theme-strings/

Viewing 1 replies (of 1 total)
  • Thread Starter wolekpl

    (@wolekpl)

    ok I found the solution:

    <h2 class="underline"><span><?php printf( pll__( 'Search Results for:') . __( ' %s', 'shape' ), '<strong>' . get_search_query() . '</strong>' ); ?></span></h2>

    It may be useful to someone 🙂

Viewing 1 replies (of 1 total)

The topic ‘How to integrate the code php’ is closed to new replies.