Jump to content
Ilich

Adding icons Russian social networks.

Recommended Posts

Ilich

Tell me please, can I add to the code framework Russian social network Vkontakte and Odnoklassniki? In Russia, these networks are very popular. You can shovel framework code and insert these networks, but each time you update the framework necessary to repeat this work. Maybe you can integrate these social networks initially framework code?

And references to themselves social networks:

http://vk.com

http://vk.com/develo...-1_27987570&s=1

http://odnoklassniki.ru

http://dev.odnoklass...pageId=11108388

I apologize for my English. I do not speak much English, but I try.


-=El pueblo unido jamás será vencido!=-

Share this post


Link to post
Share on other sites
Danny

HI,

What you would be best doing is adding the custom code you have used to implement them to a child theme or the PageLines customisation plugin. This way, whenever there is an update for PageLines Framework, your custom code won't be effected.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Ilich

Correction of the code child theme is not very interesting topic. It is clear that the theme will change the code less than the framework code. But every time a new installation of the new user from Russia will be asked this question. I think it would be better to add a Russian social network directly into the framework code as the code facebook, google+, and twitter. In general, the Russian market is not so small. And the people behind the well-localized products are ready to pay money. And here on the forum for Russia, even the flag of the country in the user profile is not: (


-=El pueblo unido jamás será vencido!=-

Share this post


Link to post
Share on other sites
Danny

Well in my opinion adding the Russian social networks to the core code isn't going to happen as those networks are for Russians only. If we added these networks, we will then be getting requests to add other countries social networks such as China's Qzone and so on...

Eventually, the social icons we be taking over the settings and branding section and most likely cause confusion amongst users who are not associated to these networks.

Therefore, adding these networks via a hook is the best solution.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Ilich

Ok.

But the flag of the country you will restore the profile on the forum?:)


-=El pueblo unido jamás será vencido!=-

Share this post


Link to post
Share on other sites
Danny

Yeah I will look into this for you :D


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Ilich

Thank you! :)


-=El pueblo unido jamás será vencido!=-

Share this post


Link to post
Share on other sites
Danny

The topic was marked as resolved.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Ilich

And still edit the code is not good. After each update will have to edit the code immediately. If this code change? It may be easier to add a few empty fields, two fields in the social network. First field icons, three times for a link to a profile? The place is quite enough, is it possible?

FkwH.png


-=El pueblo unido jamás será vencido!=-

Share this post


Link to post
Share on other sites
Danny

Adding a hook to your child theme or customisation plugin does not get overwritten with each update. If you code is being removed with updates, then you're editing core files, something we do not recommend for the very reason you wrote above.

Using hook resolves this issue.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Ilich

I appear to be bad you know. Please tell me how you can apply the hook. Teach, if you is not difficult. Because everything that I myself made ​​the upgrade to the new version has been lost. Help please.


-=El pueblo unido jamás será vencido!=-

Share this post


Link to post
Share on other sites
Ilich

Oh no!

This method does not work.

I installed this plugin.

1. In the dashboard is not new section Plugin. Not possible to use the plugin.

ANL6.png

2. This plugin only edits child subject, in my case it iBlogPro. And I need to edit the framework itself. Look at http://trtr.ilich.ru - that would have to add icons and edit files wp-content/themes/includes/config.options.php and classes/sections/class.sections.php

So I do not agree with the status of the issue, he resolved and will once again ask:

And still edit the code is not good. After each update will have to edit the code immediately. If this code change? It may be easier to add a few empty fields, two fields in the social network. First field icons, three times for a link to a profile? The place is quite enough, is it possible?


-=El pueblo unido jamás será vencido!=-

Share this post


Link to post
Share on other sites
Ilich

And yet, the same issue arises when adding buttons shares.

dfhe.png

Here to add a button to edit the code, too. This is bad. It may be added here and a few fields that would insert arbitrary key codes social networks?

RV7G.png


-=El pueblo unido jamás será vencido!=-

Share this post


Link to post
Share on other sites
Ilich

Was wrong. I apologize. Theme is really closed. Problem solved.

Thank you!


-=El pueblo unido jamás será vencido!=-

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • janpeeters
      By janpeeters
      Over the last month I had extensive communications with the developer of the (premium) Anything Boxes section (in Pagelines store) (Adam Munns) and the developer of the WP Polylang Multilingual plugin (Frederic Demarle).
       
      This was because the following problem occurred:
      Anything Boxes showed all posts of two languages (Dutch and English) on the respective static frontpages for each language. It should of course have filtered posts for Dutch language on the Dutch frontpage and English on the English frontpage.
       
      The solution to this problem was simple in the end. When duplicating a page for use in another language the settings for Anything Boxes were not copied to the new page and I should have set these settings manually again on the new page. I wasn't aware of this, but it makes sense. Because of this the pages didn't know how to differentiate between posts from different languages.
       
      The dev of Polylang told me that Polylang is currently smart enough to synchronize metas like Featured images and page templates but it does not work out of the box with metas created by plugins and themes but (according to Frederic) it is rather easy to add them in the list using the filter 'pll_copy_post_metas'.
      He mentions that he is not sure that these 'PageLines Meta Settings' are stored in post meta but that would make sense according to him. He asks if the Pagelines dev team will be interested to support this feature in the future.
       
      I'm also wondering if you will consider adding Polylang translation support for manually editable strings like the 'Read more…' strings in Pagelines Settings.
       
      Well that's of course up to you but I thought to let you know to be able to take this into consideration. I also post this for other users in case they experience the same kind of trouble and are looking for an answer.
       
      Best regards,
      Jan Peeters
    • bankrollbuilder
      By bankrollbuilder
      I used a custom hook to put a banner ad in my header. It works but its not in the right position. it is centered and above my logo and I would like to float it to the right of my logo in the header. heres the link: http://shaboopie.com/shaboopie-wp/free-logos-pg1/

      thanks.

      Dan B.
    • starlit
      By starlit
      Can one have two hero sections on one page?

      I want a landing page which leads/advertises two subpages.

      Or is there another option?

      Please help.

      THANK YOU
    • hutruk
      By hutruk
      Hi!

      I am using the shortcodes for tabs, as described in the documentation.

      When I insert the following code:


      [pl_tabs][pl_tabtitlesection type="tabs"] [pl_tabtitle number="1"]Title 1[/pl_tabtitle] [pl_tabtitle number="2"]Title 2[/pl_tabtitle] [/pl_tabtitlesection] [pl_tabcontentsection] [pl_tabcontent active="yes" number="1"] Lorem ipsum dolor sit amet, consectetur adipiscing elit [/pl_tabcontent] [pl_tabcontent number="2"] Lorem ipsum dolor sit amet, consectetur adipiscing elit [/pl_tabcontent] [/pl_tabcontentsection] [/pl_tabs]

      I get a strange output (in the attachment).

      Any ideas?

      Thanks in advance!

    • MooiWeb
      By MooiWeb
      Hello,

      I would like to align my qtranslate with my breadcrumb so that the flags are on the same hight.
      I'm aware of putting a code in the custom css and tryed severall codes from your site but for now, no succes

      The site i'm working on is http://nieuw.vazdias.nl

      Thx,
      Edwin



×