• Right, i have 3 pictures on my default theme, each one representing the users facebook, twitter and rss feed. I want these to be different for each blog of course. Now the RSS feed is easy as there is already a tag for it…but the others i’m not so sure.

    How do I create it so that I can assign a value to a variable for each blog?

    So I have

    Twitter picture and
    Facebook picture

    and can therefore assign $twitter and $facebook in the dashboard for each blog? I imagine it is similiar to how the background image and the header image thing works but I don’t know how to get my head around it at all!

    Any help would be great. Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter minklet

    (@minklet)

    Whoops sorry should have put those links in code tags:

    <a href="' . $twitter . '">Twitter picture</a>
    <a href="' . $facebook . '">Facebook picture</a>
    Thread Starter minklet

    (@minklet)

    Anyone? I thought that possibly using the editor would let me add parts specifically for that blog, but it actually edits the theme and therefore every blog using that theme.

    It doesn’t have to be through the dashboard. If I can include a file that I set the variables on that would work. But I don’t know exactly where I would put this file and how to make it unique for each blog I make?

    Thread Starter minklet

    (@minklet)

    Unless I use the links manager and the wordpress function to display them. But all I would want is to get one or two specific links, just the links and nothing else to echo into my design. I can’t figure out how to do this from the documentation.

    Any help?

    Thread Starter minklet

    (@minklet)

    Thanks very much. I figured out how to just use the links manager actually, much much easier than what I was trying to do

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Assigning custom variables’ is closed to new replies.