WordPress.org

Support

Support » How-To and Troubleshooting » Adding Login Meta to footer

Adding Login Meta to footer

Viewing 7 replies - 1 through 7 (of 7 total)
  • mariacharmer,

    Because all WordPress blogs are different it’s impossible to accurately let you know where that code is located. My best guess would be to locate this code within the sidebar.php, if you have one.

    Please let us know what theme you are using.

    I’m using the new Photocrati Supertheme. It provides a footer widget area but that merely let’s you place a widget configured the way they have it – vertically aligned – in the footer of the blog page. I want the login meta to propagate on every page…essentially in the footer of every page. That’s why I assume it would be the footer.php because I added our company info and links to it just fine but had to use that file. So it must be that file.

    Mainly I want the login link in the footer because I hate having to go to the blog page to click site admin to go back into the dashboard to add content or change something. If it were in the footer on every page would be very convenient for myself and the other admin.

    My question is: What code do I use to get the Login and register to comment links that are on blog page to also propagate in the footer?

    alianzapc

    @alianzapc

    mariacharmer,

    I would like to be able to do exactly what you suggested, add the login link to propogate on all pages in the footer of my template. Were you ever successful in your attempt to do so? If so, what did you do?

    I am using the TwentyTen Weaver theme, and know where the code is in the sidebar.php file, but every time I try to copy and paste the info into the footer, it does not display.

    I’d appreciate your help, if at all possible!

    Michael

    @alchymyth

    this is the code i use in my site (child theme of twenty ten) for the login/out in the footer:

    <div id="site-login"><?php wp_register('',''); wp_loginout(); ?></div>

    the div and the css id is simply for formatting.

    it might help if you could post the code of footer.php of your theme, or if it is longer than a few lines, paste it into a http://wordpress.pastebin.com/ and post the link to it here.

    alianzapc

    @alianzapc

    alchymyth,

    I tried adding your code to the site footer, but to no avail. (I am only a novice in HTML and CSS code, but I am doing my best to get up to speed!)

    I posted the code of footer.php for my theme here.

    You can take a look at my website here if you like. As you will see, I currently have the Meta login in the sidebar. I would like to remove it from there and place in the footer (preferably after the copyright info), to appear on every page.

    Michael

    @alchymyth

    to show the login/out somewhere after the copyright, you could try to add the code here (after line 28):

    </div></td> <?php }
            if (! ttw_getadminopt('ttw_hide_poweredby')) { ?>

    so this part looks like:

    </div></td> <?php }
    ?><td id='ttw_ftdm'><div id="site-login"><?php wp_register('',''); echo '&nbsp;&nbsp;'; wp_loginout(); ?></div></td><?php
    	if (! ttw_getadminopt('ttw_hide_poweredby')) { ?>

    possible css elements to use for styling are:

    td#ttw_ftdm { ... }
    #site-login { ... }
    alianzapc

    @alianzapc

    Thank you so much, alchymyth!! Problem resolved! I really appreciate your taking the time to help me.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Adding Login Meta to footer’ is closed to new replies.
Skip to toolbar