Dayn W Creative

I am a web presence strategist, UX designer, proponent of social media. These are my notes.

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • about
  • contact

Tag Archives: login

A couple of WordPress fixes for tags and post login screen.

Posted on June 2, 2008 by dayn
Reply

I came across a couple WordPress hacks that helped me get tags to behave.  The first is a little PHP call to get a tag list to appear if you’ve used get_posts() to pull posts from a specific category, and the get_tags() function isn’t working for you.  So, if you’re not using the standard loop, but instead want to have the tags for each post appear in a custom loop, use this function as seen here on the wordpress support forums.

print get_the_term_list( $post->ID, ‘post_tag’, ‘ ‘, ‘ ‘, ‘ ‘ ) ;

with arguments in this order: resource_ID, taxonomy, before, seperator, after.

——

If you are restricting your WordPress site to specific users, and want to control the page they are directed to immediately after logging in, use the “redirect_to” argument in the URL string for the link.  Also seen here in the forums.

http://example.com/wp-login.php?redirect_to=http://example.com

Related Posts Plugin for WordPress, Blogger...

Posted in blogging, info architecture, open source, web | Tagged login, tags, users, wordpress | Leave a reply

Tags

ads advertising adwords analytics apple applications audio blog blogging blog tools branding browsers code css design facebook flash google how to howto internet iPhone mac marketing plugin reference research resources rss search seo social socialmedia statistics stats syndication tips tools twitter ui usability video web wordpress youtube

Comments

  • Scott on How to add a full page background image to an old ass Word v.X Mac doc
  • Iggy on 3D for 2D moving image slideshow effect tutorial
  • Social Media, party of one bazillion | Grady Britton on How often should my company tweet or post to Facebook? Maybe never.
  • Joshua Jackman on How often should my company tweet or post to Facebook? Maybe never.
  • Dayn on How to nudge exactly 1 pixel in Photoshop
  • Dayn on PNG color shift from Photoshop CS2 ‘Save for Web’ solution
  • Wembaster on PNG color shift from Photoshop CS2 ‘Save for Web’ solution
Proudly powered by WordPress