{"id":3701,"date":"2023-11-13T19:59:14","date_gmt":"2023-11-13T16:59:14","guid":{"rendered":"https:\/\/aqshagala.edy.kz\/?p=3701"},"modified":"2023-11-13T19:59:14","modified_gmt":"2023-11-13T16:59:14","slug":"function","status":"publish","type":"post","link":"https:\/\/aqshagala.bobekzhai.kz\/?p=3701","title":{"rendered":"function"},"content":{"rendered":"<div>&lt;?php<\/div>\n<div>\/**<\/div>\n<div>\u00a0* Child theme of Reboot<\/div>\n<div>\u00a0* https:\/\/wpshop.ru\/themes\/reboot<\/div>\n<div>\u00a0*<\/div>\n<div>\u00a0* @package Reboot<\/div>\n<div>\u00a0*\/<\/div>\n<div><\/div>\n<div>\/**<\/div>\n<div>\u00a0* Enqueue child styles<\/div>\n<div>\u00a0*<\/div>\n<div>\u00a0* \u041d\u0415 \u0423\u0414\u0410\u041b\u042f\u0419\u0422\u0415 \u0414\u0410\u041d\u041d\u042b\u0419 \u041a\u041e\u0414<\/div>\n<div>\u00a0*\/<\/div>\n<div>add_action( &#8216;wp_enqueue_scripts&#8217;, &#8216;enqueue_child_theme_styles&#8217;, 100);<\/div>\n<div>function enqueue_child_theme_styles() {<\/div>\n<div>\u00a0 \u00a0 wp_enqueue_style( &#8216;reboot-style-child&#8217;, get_stylesheet_uri(), array( &#8216;reboot-style&#8217; )\u00a0 );<\/div>\n<div>}<\/div>\n<div><\/div>\n<div>if( ! function_exists( &#8216;pll__&#8217; ) ) {<\/div>\n<div>function pll__( $string ) {<\/div>\n<div>return $string;<\/div>\n<div>}<\/div>\n<div>}<\/div>\n<div><\/div>\n<div>if( ! function_exists( &#8216;pll_e&#8217; ) ) {<\/div>\n<div>function pll_e( $string ) {<\/div>\n<div>echo $string;<\/div>\n<div>}<\/div>\n<div>}<\/div>\n<div>add_action(&#8216;init&#8217;, &#8216;truemisha_polylang_strings&#8217; );<\/div>\n<div><\/div>\n<div>function truemisha_polylang_strings() {<\/div>\n<div><\/div>\n<div>if( ! function_exists( &#8216;pll_register_string&#8217; ) ) {<\/div>\n<div>return;<\/div>\n<div>}<\/div>\n<div><\/div>\n<div>pll_register_string(<\/div>\n<div>&#8216;truemisha_footer_form_inp_name&#8217;, \/\/ \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0441\u0442\u0440\u043e\u043a\u0438<\/div>\n<div>&#8216;Your Name&#8217;, \/\/ \u0441\u0430\u043c\u0430 \u0441\u0442\u0440\u043e\u043a\u0430<\/div>\n<div>&#8216;Footer form&#8217;, \/\/ \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430<\/div>\n<div>false \/\/ \u0431\u0443\u0434\u0443\u0442 \u043b\u0438 \u0442\u0443\u0442 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u044b \u0441\u0442\u0440\u043e\u043a \u0432 \u0442\u0435\u043a\u0441\u0442\u0435 \u0438\u043b\u0438 \u043d\u0435\u0442<\/div>\n<div>);<\/div>\n<div><\/div>\n<div>pll_register_string(<\/div>\n<div>&#8216;truemisha_footer_form_inp_email&#8217;,<\/div>\n<div>&#8216;E-Mail&#8217;,<\/div>\n<div>&#8216;Footer form&#8217;,<\/div>\n<div>false<\/div>\n<div>);<\/div>\n<div><\/div>\n<div>pll_register_string(<\/div>\n<div>&#8216;truemisha_footer_form_inp_msg&#8217;,<\/div>\n<div>&#8216;Write your question&#8217;,<\/div>\n<div>&#8216;Footer form&#8217;,<\/div>\n<div>false<\/div>\n<div>);<\/div>\n<div><\/div>\n<div>pll_register_string(<\/div>\n<div>&#8216;truemisha_footer_form_inp_btn&#8217;,<\/div>\n<div>&#8216;Send&#8217;,<\/div>\n<div>&#8216;Footer form&#8217;,<\/div>\n<div>false<\/div>\n<div>);<\/div>\n<div><\/div>\n<div>pll_register_string(<\/div>\n<div>&#8216;Category&#8217;,<\/div>\n<div>&#8216;Category&#8217;,<\/div>\n<div>&#8216;Theme: Reboot&#8217;,<\/div>\n<div>false<\/div>\n<div>);<\/div>\n<div><\/div>\n<div>pll_register_string(<\/div>\n<div>&#8216;author&#8217;,<\/div>\n<div>&#8216;author&#8217;,<\/div>\n<div>&#8216;Theme: Reboot&#8217;,<\/div>\n<div>false<\/div>\n<div>);<\/div>\n<div>pll_register_string(<\/div>\n<div>&#8216;section-block__title&#8217;,<\/div>\n<div>&#8216;section-block__title&#8217;,<\/div>\n<div>&#8216;Theme: Reboot&#8217;,<\/div>\n<div>false<\/div>\n<div>);<\/div>\n<div>}<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&lt;?php \/** \u00a0* Child theme of Reboot \u00a0* https:\/\/wpshop.ru\/themes\/reboot \u00a0* [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3701","post","type-post","status-publish","format-standard","hentry","category-kategoryasiz"],"_links":{"self":[{"href":"https:\/\/aqshagala.bobekzhai.kz\/index.php?rest_route=\/wp\/v2\/posts\/3701","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aqshagala.bobekzhai.kz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aqshagala.bobekzhai.kz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aqshagala.bobekzhai.kz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aqshagala.bobekzhai.kz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3701"}],"version-history":[{"count":0,"href":"https:\/\/aqshagala.bobekzhai.kz\/index.php?rest_route=\/wp\/v2\/posts\/3701\/revisions"}],"wp:attachment":[{"href":"https:\/\/aqshagala.bobekzhai.kz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aqshagala.bobekzhai.kz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aqshagala.bobekzhai.kz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}