Jump to content


Photo

MultiSite, change url of header


  • Please log in to reply
8 replies to this topic

#1 stipto

stipto

    Member

  • Members
  • PipPip
  • 20 posts

Posted 25 April 2011 - 08:34 AM

I want the headers on all sub-sites to link to the main blog. Found a topic on this here, but the suggested solution doesn't work for me. Any suggestions?

Thanks!

#2 Kate

Kate

    Advocate

  • Members
  • 3039 posts

Posted 25 April 2011 - 01:51 PM

Hi Rui, Which suggestion in that thread did you try?

#3 stipto

stipto

    Member

  • Members
  • PipPip
  • 20 posts

Posted 29 April 2011 - 02:55 PM

Hi Kate, Sorry for my late reply: I tried the suggestion by Jimmy Kastelic, adding jQuery to the Footerscripts section.

#4 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 29 April 2011 - 04:21 PM

Did you try both of the scripts?

#5 Simon_P

Simon_P

    Messer

  • Administrators



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

Posted 29 April 2011 - 04:48 PM

Why not just use a multisite plugin? create a file in mu-plugins folder, call it anything.. put in something like: ` /* Plugin Name: Global menu Plugin URI: Description: Add a global menu to my multisite. Author: Rui Version: 0.1 Author URI: */ add_filter( 'pagelines_before_site', 'my_global_menu' ); function my_global_menu() { echo ''; } ` You dont even have to activate it. All plugin files in the mu-plugins folder will be auto executed for every blog!

#6 winemonkey

winemonkey

    Advanced Member

  • Members
  • 59 posts

Posted 03 May 2013 - 06:30 PM

I'm trying to achieve the same thing here... I'm using PageLines Framework 2.4.1 and would like my two sub sites to point to the main site. Searched "header custom url" in this forum but none of the solutions seem to work. Help.



#7 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 03 May 2013 - 07:45 PM

I see that you posted a new topic just for this issue so I will respond to you there instead.



#8 winemonkey

winemonkey

    Advanced Member

  • Members
  • 59 posts

Posted 03 May 2013 - 08:42 PM

Thank you.



#9 James B

James B

    Advocate

  • Moderators
  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 03 May 2013 - 10:03 PM

For anyone else following this help, you can use a hook to change the url of the header link on each site using the code on the following post - http://www.pagelines...der-image-link/