Viewing 5 posts - 1 through 5 (of 5 total)
-
AuthorPosts
-
March 15, 2020 at 1:30 pm #1193214
Hello, is it possibile with a function add a new instagram button on feature “share this article”, in the bottom of single article?
can you help me, please?March 15, 2020 at 1:39 pm #1193215I have seen in article is it possible add custom layout of social sharing, but instagram buttom is missing! :-(
this is the section where i should create a new button by function, is it possible?thanks
March 15, 2020 at 3:26 pm #1193225Hi, i have created a function to embed instagram buttom, this is the code:
// Register new icon as a theme icon function avia_add_custom_icon($icons) { $icons['instagram'] = array( 'font' =>'entypo-fontello', 'icon' => 'ue909'); return $icons; } add_filter('avf_default_icons','avia_add_custom_icon', 10, 1); //Add items on the social share section add_filter('avia_social_share_link_arguments', 'avia_add_social_share_link_arguments', 10, 1); function avia_add_social_share_link_arguments($args) { $new_array = array( 'instagram' => array( "encode"=>true, "encode_urls"=>false, "pattern" => "https://www.instagram.com://send?text=[title]-[permalink]" ) ); return array_merge($new_array, $args); }BUT my problem is pattern not work: “https://www.instagram.com://send?text=%5Btitle%5D-%5Bpermalink%5D” :-)
What should I write to post my article to instagram?
thanks-
This reply was modified 5 years, 7 months ago by
foscolino.
March 15, 2020 at 10:14 pm #1193329No idea to solve my instagram problem? :-( I am sad
March 19, 2020 at 5:20 pm #1194463 -
This reply was modified 5 years, 7 months ago by
-
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
