ivalerav
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-Appbox] App store price in other language.Привет) Чтобы поменять название на Цена и Разработчик нужно зайти в wp-appbox/tpl/simple.php и там поменять
<span class="developer"><?php _e('Разработчик', 'wp-appbox')
и<span class="price"><?php _e('Цена', 'wp-appbox')
а чтобы показывало цену из нужного магазина вставь в functions.php вот это `//WP-Appbox: Appple AppStore URL
function wpappbox_get_appstore_url() {
return(‘https://itunes.apple.com/ru/lookup?id={APPID}’);
}`
и поменяй в этом коде ru на нужный тебе магазинForum: Themes and Templates
In reply to: [Straight Up] Facebook Like buttomI tried to set the button in the Twenty Twelve theme and, unfortunately, there is also not working properly. Strange that it can be?
Forum: Themes and Templates
In reply to: [Straight Up] Facebook Like buttomThere is a social networks buttons at the bottom after the post . This is already a working site.
Forum: Themes and Templates
In reply to: [Straight Up] Facebook Like buttomCode from Facebook. This code:
<div id="fb-root"></div> <script> window.fbAsyncInit = function() { // init the FB JS SDK FB.init({ appId : '4505724383xxxx', // App ID from the App Dashboard channelUrl : '//WWW.mysite.ru/channel.html', // Channel File for x-domain communication status : true, // check the login status upon init? cookie : true, // set sessions cookies to allow your server to access the session? xfbml : true // parse XFBML tags on this page? }); // Additional initialization code such as adding Event Listeners goes here }; // Load the SDK's source Asynchronously // Note that the debug version is being actively developed and might // contain some type checks that are overly strict. // Please report such bugs using the bugs tool. (function(d, debug){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all" + (debug ? "/debug" : "") + ".js"; ref.parentNode.insertBefore(js, ref); }(document, /*debug*/ false)); </script> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/ru_RU/all.js#xfbml=1&appId=450572438334660"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script><code>I including in (header.php) after</code><body <?php body_class( 'hfeed' ); ?>>
And I including code:
<div class="fb-like" data-send="false" data-layout="button_count" data-width="450" data-show-faces="false"></div>
in (content-single.php) after</div><!-- .entry-content -->
alongside other social buttons codes.