Jump to content

Archived

This topic is now archived and is closed to further replies.

fabienfons

Paste ShareBar inside a post

Recommended Posts

fabienfons

Hi,

 

Is it possible to paste ShareBar inside a Wordpress post ?

Thanks

Fabien

Share this post


Link to post
Share on other sites
JudithKlinger
17 minutes ago, fabienfons said:

Hi,

 

Is it possible to paste ShareBar inside a Wordpress post ?

Thanks

Fabien

Couldn't you just paste the code inside the post? 

Share this post


Link to post
Share on other sites
fabienfons

Which code ??

Share this post


Link to post
Share on other sites
fabienfons

OK, i found : Inside the post, there is a pagelines sortcode Button :)

It works, it is fantastic, but : 

  • I'like to choose which icon i want to display
  • I'd like to center them on the left
  • i'd like for example to paste the shareware at the end of every posts on my blog

It would be nice !

 

Share this post


Link to post
Share on other sites
fabienfons

OK, i found how to center, you can just clic and edit, it's fantastic.

2 questions : 

  • I'like to choose which icon i want to display (i don't want Pinterest, and i'd like Google+)
  • i'd like for example to paste the sharebare at the end of every posts on my blog

Share this post


Link to post
Share on other sites
JudithKlinger

If you want the share bar to be at the end of every post, you need to set up the builder something like this. 

The top container is holding text boxes for various loops: [loops_title] [loops_author] etc. 

The bottom container is holding [loops_content] and the share bar. 

Screen Shot 2015-11-30 at 7.13.20 PM.png

Share this post


Link to post
Share on other sites
fabienfons

hum, in fact, it is not really what i want...

In this case, socialbar appears at the end, at the bottom of the comments.

I want that the social bar appears inside the post, at the end.

I can do it manually, it works perfectly with the pagelines; but i would like to do on every posts.

Do you see what i mean ?

Share this post


Link to post
Share on other sites
fabienfons

nobody ?

Share this post


Link to post
Share on other sites
Aires

To do as want you will need to use a hook to apply to every post.

Currently the hooker plugin is not in PL5 so you will have to code it in manually.  


ndTgvai.jpg

Visit iheartpagelines.com for the latest tutorials on PageLines related products.

 

Share this post


Link to post
Share on other sites
fabienfons

Thank you.

Here is my shortcode : [pl_section section="sharebar" id="1356524174"]

Would you know which code to add in CSS to display Share bar at the end, inside each post of my blog ?

Sorry, i don't know code, that's why i'm using Pagelines :)

Share this post


Link to post
Share on other sites
Aires

I really am not comfortable giving out such code.

There are too many thing that can go wrong, your site could fail to load and I can't be liable for issues with your website. Errors  may occur and will need to ftp into the server and remove the code. 

The best way to learn it is to experiment as I did on a test site and learn as go. There are tons of tutorials to choose from. 

 


ndTgvai.jpg

Visit iheartpagelines.com for the latest tutorials on PageLines related products.

 

Share this post


Link to post
Share on other sites
fabienfons

hum, ok !

It is a little bit frustrating, because i just want to display social icons under each posts, and it is complicated :(

Share this post


Link to post
Share on other sites
Andrew
add_filter('the_content', 'my_function');

function my_function( $content ){

	$pt = get_post_type(); 

	if( 'post' == $pt ){
		$content .= 'add something'; 
	}

	return $content; 

}

something like this...

Share this post


Link to post
Share on other sites
Simon

Or, to add to Andrews snippet...

...

$content .= do_shortcode( '[pl_section section="sharebar" id="1356524174"] );

Share this post


Link to post
Share on other sites
chrisayers

You guys all make this so hard......  

[pl_section section="sharebar" id="whateverIfeellikenamingthisitdoesnotreallymatter"]

sharebar.png

Share this post


Link to post
Share on other sites
batman

Hi chrisayers

7 hours ago, chrisayers said:

You guys all make this so hard......  

[pl_section section="sharebar" id="whateverIfeellikenamingthisitdoesnotreallymatter"]

sharebar.png

I believe that the function is to add the sharebar inside each post an existing blog post. If I want to do this in my blog I have more than 7.000 post.

:geek:


Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites
chrisayers
On 11/30/2015 at 7:32 PM, fabienfons said:

Hi,

 

Is it possible to paste ShareBar inside a Wordpress post ?

Thanks

Fabien

He did not ask all that.

Share this post


Link to post
Share on other sites
chrisayers
1 hour ago, batman said:

Hi chrisayers

Yes if he wanted to do that on 7,000 posts it would be tough. But his question was answered. He said he was not a coder so giving him PHP hooks is like handing him nothing. I personally can go up and click the shortcodes button as fast as I can type "Thanks for reading this blog post". If he has a ton of post will be a lot of work. But if he is starting fresh then adding that to the bottom each time take 10 extra seconds.

 

Share this post


Link to post
Share on other sites
chrisayers

And since PL5 seems to be all about pick and choosing and using any toys we like now rather than it all being theme dependent. How about just using any sharing plug-in out there including the built in ones built into WP. And since he is not a coder I am willing to bet he has Jetpack or used it before. That has all the sharing and publish to Social Media tools for novices.

Share this post


Link to post
Share on other sites
Gavin_

on another note - sharebar is quite a light option - in terms of choices. 
jetpack is one option as a replacement. 
monarch has a load of options - maybe too many - but does not put a strain on the site. 
sumome has some neat tricks. 
and there are some very good and very light choices in codecanyon like 
http://codecanyon.net/item/ultimate-social-deux/6556073?s_phrase=woocommerce&s_rank=28

Share this post


Link to post
Share on other sites
fabienfons

Thank your for your answers...

Actually, i wanted to add the sharebar inside each post of my blog posts...

I bought a plug in, because it is more simple, or more cutstomizable..

Share this post


Link to post
Share on other sites

  • Similar Content

    • fabienfons
      By fabienfons+
      Hi,
      Impossible to download platform 5 from your website (security alert)
      Impossible to download platform from wordpress (no results when I search Pagelines in the wordpress extension platform...)
      What is happening ?
      Pgelines is dead ?
      No news on your blog since 2016... I am a bit worried..
      Fabien
    • Kedark
      By Kedark+
      Hello. I have a big problem, platform 5, the save changes button does not work. All the time, "spins" and can not save modifications. There was information about the account refresh or re-login (due to the token), everything has been done, still saving does not work properly. Help.
      I got an answer on facebook that you have to put the site from scratch, I have a dozen or so - it's some tragedy. So ask for help !!!
      Regards, Kedark
    • oseehys
      By oseehys+
      Hello,
      My Site is showing the dreaded white screen of death i have disabled all plugins, disable theme yet it has not come backup...
      The default wordpress 2015 displays when i activate it, anytime i activate platform 5 it continues to show a white screen 
      I have increased the memory limit, added PHP ini, all the suggested advice i have followed...can someone tell me what to do ASAP 
      Regards


    • jordangross
      By jordangross+
      Here's what I see when I try to download Platform 5:

       
      Is Platform 5 still being supported?  Most of the comments in this forum look a year old or older.
    • fabienfons
      By fabienfons+
       
      Hi,
        Big problem on your website, impossible to download platform 5…   Any idea to solve the issue ? Fabien
×