Title: How to integrate the code php
Last modified: September 1, 2016

---

# How to integrate the code php

 *  Resolved [wolekpl](https://wordpress.org/support/users/wolekpl/)
 * (@wolekpl)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/how-to-integrate-the-code-php/)
 * 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://wordpress.org/plugins/polylang-theme-strings/](https://wordpress.org/plugins/polylang-theme-strings/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [wolekpl](https://wordpress.org/support/users/wolekpl/)
 * (@wolekpl)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/how-to-integrate-the-code-php/#post-7484207)
 * 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.

 * ![](https://ps.w.org/polylang-theme-strings/assets/icon-256x256.png?rev=1428148)
 * [Polylang Theme Strings](https://wordpress.org/plugins/polylang-theme-strings/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang-theme-strings/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang-theme-strings/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang-theme-strings/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang-theme-strings/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang-theme-strings/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [wolekpl](https://wordpress.org/support/users/wolekpl/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/how-to-integrate-the-code-php/#post-7484207)
 * Status: resolved