• Is there some way of having a hard coded link back to the main site from all network sites?

    In fact, I would prefer that every users site have one link back to the main site, hard coded into all sites.

    Is there some way of doing this without getting into editing php pages?

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter voopress

    (@voopress)

    If you mean check the footers to see if they changed, no, they all have their original footers. I no longer see any errors when running the code but of course, no change either.

    I don’t have any caching going on yet since the site is only under development. The browser cache was cleared.

    I don’t mind trying again but wonder maybe we should simply hand code them just to be safe.

    Have you checked the source code output? Maybe there is a trick with those “elegant themes” (some friends use it with a lot of troubles), not showing your span added to the footer because it doesn’t have a style for becoming visible.

    Thinking on this, your could make your link appear on the top of the page, even with fancy styling like overlaying, with a bit of CSS absolute positioning.

    Thread Starter voopress

    (@voopress)

    For now, I just hard coded all of the themes but once the site is up, I’ll keep this environment for dev so can better test then.

    Also, I’ll have to get my designer on this thread because she is more into css and other things such as that.

    What we’d love to have is a tiny logo on the top and a small banner at the bottom of each subdomain and subdirectory site.

    Which actually brings me to the next post I’ll be making or have, asking if both can co-exist on the same network install.

    Good luck with that, since once you get updates, every change you do will be lost, and is not really wise stay away from updates. I’d recommend you and your designer explore into child themes, in order to keep your changes while updating your themes.

    Logo and small banner, almost everything is posible if you try the right tricks. I’d recommend you the tutorials on https://tympanus.net/codrops/ and https://css-tricks.com/

    About the network with both modes, subdomain and subdirectory. It’s just too much complicated, if not impossible.

    Thread Starter voopress

    (@voopress)

    I’m not saying I give up, I’m saying in the interest of continuing to work on the site, I have hard coded for now.
    I’ll get back on the code in a few days to a week and see if I can get that working. Looking at each theme, I noticed that many are different even though they are all Elegant themes.

    As for domain/directory, I found a post from some others looking for the same thing and added to that thread for some input.
    I did a little testing and it seemed to work but it might not be worth the trouble as you mention.

    Worse comes to worse, I have to run another server, no big deal.

    Thanks.

    If you use Elegant themes, you could try adding code to the end of your body, as (I think) all their themes provides a box where you can put code like i.e. google analytics, without touching your themes at all. These changes won’t be overriden with each upgrade to your theme files. This is usually used for JS code, however you can include any code you like.

    About the mix of domain/directory, where did you post about that? I’d like to know how people are giving a try to that. Just for curiosity ??

    Thread Starter voopress

    (@voopress)

    I would certainly prefer this over a plugin. However, the plugin also does some very interesting things that I love.

    I found WpMuBar, a plugin which lists all of the blogs on the site by simply checking them in the config, has a nice logo area which users can click on to get to the main site, and even some social icons to boot.

    If I could find a way of doing this ourselves, that would be very cool considering the author isn’t responding to anything so far. It is the holidays of course.

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Hard coded main site link in each site?’ is closed to new replies.