Jump to content

Header Share Icons

Recommended Posts


Is there a way to make the header icons share... instead of going to profile pages?


eg... on posts ability to share post to facebook...


on header... it will go to a facebook profile instead...



Share this post

Link to post
Share on other sites

You'll need to use a plugin (most likely a plugin widget that you can add to Universal Sidebar and you can activate Universal Sidebar in the Header in Drag & Drop).

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post

Link to post
Share on other sites

I've done that before... its gets pretty messy adjusting everything else...


I've got this in my function file... but wanted the action to share not to go to a page.


// ------- ADDS SOCIAL ICONS TO BRANDNAV ------- //

add_action('pagelines_inside_top_brandnav', 'social_icons');	function social_icons(){ ?>

		<div class="icons" style="bottom: 12px; right: 1px; float:right; padding-top:17px;">


			<a target="_blank" href="https://twitter.com/myprofile" class="twitterlink"><img src="/wp-content/themes/pagelines/sections/branding/twitter.png" alt="Twitter"></a>

			<a target="_blank" href="http://www.facebook.com/myprofile?fref=ts" class="facebooklink"><img src="/wp-content/themes/pagelines/sections/branding/facebook.png" alt="Facebook"></a>

			<a target="_blank" href="http://www.linkedin.com/myprofile" class="linkedinlink"><img src="/wp-content/themes/pagelines/sections/branding/linkedin.png" alt="LinkedIn"></a>



	<script type="text/javascript"> 

		jQuery('.icons a').hover(function(){ jQuery(this).fadeTo('fast', 1); },function(){ jQuery(this).fadeTo('fast', 0.5);});


<?php }

Share this post

Link to post
Share on other sites



The thing you're asking for requires custom code with various conditionals.  Effectively you're in need of code that says... If on this page, go here; if you're on that page, go there.


You'd need a Pro to develop that for you.  I don't know of any plugins that do this directly.  That said, there may be some I just don't know about. 

Former PageLines Moderator, Food Expert and Raconteur

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

    • mtaus
      By mtaus
      Just did a clean install of Platform 5 at myedadvisor.com and the icons in Pagelines are not displaying (screenshot attached).

    • tforasiepi
      By tforasiepi+
      I'm taking a site out of development and putting it online.  I need a little help with the Framework 5 interface and icon links because they are not converting to the new URL.  The site is in a sub-folder and I followed the WordPress docs, like I usually do, about Giving Wordpress Its Own Directory . i.e.
      In Settings>General>Site Address changed it to the final URL Copied the index.php and .htaccess files to the root folder Edited the index.php to point to the subfolder and saved the file Now the site is up and running and I can still edit the theme in the Dashboard but the Framework 5 front end interface does not load on each page at the top.  In addition, the Social Media icons, slider icons, etc... don't show up.  However, they are linking to their destinations correctly.  I feel like I can missing a final step.  Can anyone suggest a resource or solution?
      The site is:  http://www.mnkhan.com/
      Thanks in advance!
    • jmorby
      By jmorby+
      We have multiple urls pointing to the same base site.  

      When the site is accessed as www.fido.net the icons show fine but when accessed by one of the other aliases (such as www.voip.center) the icons just show as squares
      I've previously searched the forums and found other people with the same problems, but I've never seen an answer to this
      Attempting to search today and I keep being told I'm doing too many searches and / or there are no matching results ... I've asked through the chat on the site and have been told to ask the question here, so here I am.

      If this has been answered before ... I can't find it ... so please post a link to the answer (not just "go search, you'll find it" - tried that)

      If it hasn't been answered then it would be great to see a fix for this as it is proving troublesome to say the least
      I presume it is some form of xss / hotlinking protection, but I can't see how to disable it / list the "authorised" urls / etc

    • bartoncollege
      By bartoncollege
      I was perusing the master list of Font Awesome icons at http://fortawesome.github.io/Font-Awesome/icons/ and noticed that there are many new ones that are not available in iBox's dropdown menu.  Will these be added in the next DMS update?
    • hrachovec
      By hrachovec
      I'm using DMS2 which I understand is based on Bootstrap 2. I'm trying to insert a glyphicon based on the bootstrap 2 method here:
      But it doesn't seem to work. My page is here:
      My code is:
      <a href="/get-quote/"><i class="icon-envelope icon-white"></i> QUOTE</a> Any suggestions, or are the glyphicons just not part of DMS2?