Jump to content


Photo

Sharebar not visible at homepage


  • Please log in to reply
14 replies to this topic

#1 manojgupta26

manojgupta26

    Super Member

  • Members
  • 144 posts
  • Country: Country Flag

Posted 06 February 2012 - 07:23 PM

Hello Team, At http://bit.ly/w9ATGW Sharebar is not added at home page...I want to add Twitter, Google+ and Facebook like button right n front of metabar.. I tried using hooks..But the buttons are not visible at homepage. Quick help is appreciated!

#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 06 February 2012 - 11:32 PM

Manoj, this level of customization is more than we could do in a forum setting. Since you're not experienced with hooks, and having no luck with them, I'd suggest writing to hello@pagelines.com for a quote on the services of a Pro developer. There are doubtlessly reasons why these icons are not there and likely it's because the metabar is a fluid, dynamic component. Perhaps you should consider including them after the excerpt.

#3 virplay

virplay

    Super Member

  • Members
  • 146 posts

Posted 26 February 2012 - 08:41 AM

Hi manojgupta26 how did you solved the problem with the share bar at homepage? I want to add the SHARE BAR too, but dont know how to added it. Right now I am using addthis at home page but want to use SHAREBAR.. thx www.godigital.es

#4 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 26 February 2012 - 09:34 AM

Currantlt there is no 'action' to hook into to put to insert stuff into the blog page posts like that, the site posted above took considerable messing about with filters and css to get right. Anyway I added a couple of new filters in 2.1.2 ( coming very soon ) which will make this a LOT easier.

#5 virplay

virplay

    Super Member

  • Members
  • 146 posts

Posted 26 February 2012 - 09:42 AM

Thx. I see, then I have to wait. It will take longer to 2.1.2? And after 2.1.2 it will be easy to add the SHARE BAR on excperts at home page? www.godigital.es

#6 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 26 February 2012 - 09:46 AM

I added two new actions, before and after excerpt. You cant simply add the sharebar as that is a section that is displayed in a template. The original poster of this thread added his own sharbar code using a filter.

#7 virplay

virplay

    Super Member

  • Members
  • 146 posts

Posted 26 February 2012 - 09:55 AM

Sorry? I dont understan :D You mean after the 2.1.2 update?

#8 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 26 February 2012 - 09:57 AM

In 2.1.2 I added two new 'actions' for you to use to add in custom code in the blog excerpts on the front page, you can use these to add whatever you like html, be it social icons or whatever.

#9 virplay

virplay

    Super Member

  • Members
  • 146 posts

Posted 26 February 2012 - 10:00 AM

But the 2.1.2 is there for download or I have to wait? And you will have to show me how to add the customm code, plase :D

#10 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 26 February 2012 - 10:07 AM

It'll be as easy as this:
 add_action( 'pagelines_loop_before_excerpt', 'vir_sharecode' );
	function vir_sharebar(){
	?>
	<!-- html start -->
	
	
	
	<!-- html end -->
	<?php }

It isnt ready yet, there will be a post when it is released.

#11 virplay

virplay

    Super Member

  • Members
  • 146 posts

Posted 26 February 2012 - 10:15 AM

Thx, then I wait to 2.1.2 to add ShareBar to my excperts on home pgae :D

#12 virplay

virplay

    Super Member

  • Members
  • 146 posts

Posted 26 February 2012 - 10:16 AM

Only one doubt. I am using PageLines Framework :-S Will it work on it?

#13 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 26 February 2012 - 10:23 AM

yes, thats what i was talking about

#14 virplay

virplay

    Super Member

  • Members
  • 146 posts

Posted 26 February 2012 - 10:31 AM

ok, thx. Cant wait any longer to add the Share Bar at my homepage excperts and delete the addthis

#15 virplay

virplay

    Super Member

  • Members
  • 146 posts

Posted 03 March 2012 - 07:14 AM

Hola Simon, the new Framework 2.1.3 is here :D How to add the share bar at excperts like we were talking before? www.godigital.es Gracias