Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

Animal rescue site based on wordpress needs a bit of tweaking!

Status
Not open for further replies.
Joined
Sep 13, 2008
Posts
1,203
Reaction score
53
Hey chaps, I recently decided to create a rescue website which offers free pages to rescues, so they can upload their dog rescues quickly and easily, but I've run into something a bit too techy for me! So wondering if there's any wordpress gurus that can help out for a good cause?

Basically I'm trying to list the authors as the rescue names in a drop down which when selected goes straight to that rescues page with all their listings and contact info etc, but can't work out how to do it, so it auto loads the authors page ?

Also I wanted to exclude the admin from displaying but having trouble working that one out too?

Any help much appreciated!

The site is www.therescuesite.org.uk , it's brand new so no rescues on there yet!

Matt
 
That's a nice thing to do with the domain, Matt!

I had regged animalwelfare.org.uk when it dropped several months ago, had the same sort of thing in mind for it, not as techy as yours offering hosting and the other extras, just for listing animal rescues and animal welfare links etc, not got round to doing anything with it yet, though.
 
Cheers - watch the video and you may change your mind!
 
Is the authors drop down box a widget, hand coded or standard option on WordPress (never used it if it is)?

You should be able to remove the meta login from within the theme file (easy to do, drop me the login details if you want and I'll take a look).
 
Is the authors drop down box a widget, hand coded or standard option on WordPress (never used it if it is)?

You should be able to remove the meta login from within the theme file (easy to do, drop me the login details if you want and I'll take a look).

It's hand coded to the sidebar.php

Code:
<li id="users">
<h2>Choose a Rescue</h2>
<form action="<?php bloginfo('url'); ?>" method="get">
<?php wp_dropdown_users(array('name' => 'author','exclude_admin' => 1)); ?>
<input type="submit" name="submit" value="view" />
</form>
</li>

As you can see i've tried to exclude admin above but not working :confused:

I want the meta login to remain so rescues can login to edit/add stuff..
 
Ah I see, thought you meant get rid of admin login but I know what you mean now. I think you need to write the author user ID as a number in the exclude, not the name.

Not 100% sure as I'm not a PHP expert, but after looking here possibly the following...?

Code:
<?php wp_dropdown_users(array('name' => 'author','exclude=1')); ?>
 
Last edited:
Cheers - watch the video and you may change your mind!

Watched it now, bloody sad video, brings a lump to the throat watching the injection parts, so yes, I will get something on my domain soon, even if it's just a basic list of links to animal rescue/welfare sites etc for starters.
 
Cheers! Got a few rescues on board already

@wb - thanks for that but still no difference, I'll just leave it there, not the end of the world!
 
Are you wanting individual authors though? From my mind you want individual posts? What if an an author does 2 or more rescues?
What I would do is list posts in a specific category (eg rescues).
Could probably knock that up for you if you wanted?
 
Are you wanting individual authors though? From my mind you want individual posts? What if an an author does 2 or more rescues?
What I would do is list posts in a specific category (eg rescues).
Could probably knock that up for you if you wanted?

Hi Jim - yes each "author" will actually be a rescue centre/etc.. so when you click on author posts it will show each rescue dog/cat/animal available from that rescue centre.
Hope that makes sense?
 
But what if a real person offers two rescues?
Or are you going to create a new author even though they are the same physical person?
 
But what if a real person offers two rescues?
Or are you going to create a new author even though they are the same physical person?

Usually people go through a rescue centre/shelter to rehome their dog, but I can add a section for private rehomings..each animal rescue will be in a new post, so if its' a pair of cats for example they'll be in one post, under private rehomings category... I'm kind of just going along and adapting the site as and when needs it.
 
Fair enough,
this will exclude admin (if you put the right number in)
PHP:
<?php wp_dropdown_users(array(exclude => 'exclude=1')); ?>
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members online

No members online now.

Premium Members

Latest Comments

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom