• I built a WP site for a lady named Barb Carlson who runs a ferret shelter out of her home. So far she’s pretty happy with the site, but there’s one thing she would like to change. On this page here I have listed some of the ferrets she has at her shelter using divs for each section, but it can be unwieldy trying to fill in all of the info by herself.

    I’m wondering if there isn’t an easier way to do this? I’ve searched around, but I’m not even sure what to search for. On her old site this was implemented with simple HTML by her old webmaster. I’m not sure how to do such a thing on a WP site. If anyone has any ideas or suggestions we’d be glad to hear them.

    Thanks.

Viewing 15 replies - 31 through 45 (of 82 total)
  • Thread Starter dcloud

    (@dcloud)

    I think you’ve got it! I just made another post and inserted the image like you said and it works great. Alignment of the elements in the post seems to be good, too. Nice to have all those details listed on the right in that box, makes it easier to enter the info. It seems to be working pretty good. So are there any more tweaks or are we good to go?

    Anxious to try this on the client’s site. I told her about what you are doing and she’s very excited to test it out.

    Thread Starter dcloud

    (@dcloud)

    Just to let you know, my client asked about something and I thought I’d pass it along. She said that she would like to have a gallery of adopted ferrets, too. And she asked if this new way of entering ferrets would also have a way of removing them once they’ve been adopted? It would be nice if they went to a different list. People like to look at the photos of ferrets that have been adopted.

    The radio option in the new box would work fine for determining adoption status.

    I’ve made the necessary adjustments to the template files, so now only ferrets with the Adoption status set not set to “Yes” will appear on the Hide-e-hole page..

    We could add an additional template to another page that does exactly the same but gets ferrets that have been adopted, basically a copy of the current page, but does the reverse..

    So you’d have something like this..

    Page – Hide-e-hole ferrets – Show ferret posts with Adoption status set to No
    Page – Previous ferrets – Show ferret posts with Adoption status set to Yes

    Or something to that degree..

    In terms on getting this setup on your clients site, would you like me to write out the instructions here or would you prefer a video to follow?

    ??

    Thread Starter dcloud

    (@dcloud)

    Mark, that is truly an amazing piece of work. I’m surprised you don’t do this for a living. I cannot thank you enough for all the work you’ve put into this. Me and my client will be forever grateful, especially my client. She was going nuts trying to work with what we had.

    I do better with written instructions.

    Hi,

    You’re most welcome… ??

    I’ll just run over my code once more to make sure i don’t provide anything that will produce fatal errors (eg. if something changes in the WordPress code), but i’ll upload a zip for you to download once i’ve compiled everything and have a set of instructions to give you (rather then have you download several individual files). I’ll leave the more-fields plugin out of the zip as you can simply grab it straight from the plugin page..

    You can of course do a couple of bits ready if you like, More Fields will need to be installed and setup with the same fields i created on my test site (all you’d need to do is copy the values i’ve used on my site).
    And additionally also install the small plugin i posted before that sets up the ferret post type (upload -> activate it, and that’s it).

    For everything else, just bear with me and i’ll provide a link with a zip in due course.. ??

    Thread Starter dcloud

    (@dcloud)

    Mark, how do I add the “Add Ferrets Post Type” plug-in that you wrote? I’m not sure how to do that. I installed the More Fields and created all the boxes. For right now I have it checked for Pages. I opened a “add new” page edit screen to see the box and it appears there on the right with all my input boxes. That’s a neat plug-in.

    Mark, how do I add the “Add Ferrets Post Type” plug-in that you wrote? I’m not sure how to do that.

    Hi,

    Create a file, giving it a PHP extension, for example ferrets.php

    Take the code from the following link and paste it in that file.
    https://t31os.onatha.com/ferrets.phps

    Save the file, and upload it to your plugins folder, then activate the plugin in the same way you would any other plugin.

    Thread Starter dcloud

    (@dcloud)

    Awesome. Worked like a charm. How do I get the adopted radio buttons? Or is that in the instructions you’re making?

    When you create fields in “more fields”, there are various options for the type of input your field will be, simply choose Radio, then enter the possible values toward the bottom..

    I’m going to wipe most of the fields from my install later and go through it again, i’ll write instructions on the steps i take to re-create them..

    Not at my main PC right now, so i’ll not be doing that until later on, so should give you some time to compare your installation to mine when setting up the fields.

    Naming isn’t critical for the fields, but the box (which contains the fields) must be called “Bio”, and additionally the “Adoption” (radio)field must be given the key “f-adoption”, simply because the page and single view templates expect those names to be in place, however other fields, Pattern, Color, etc… can have whatever key names you like… (though it’s probably easier to simply copy the values i’ve used on the test install).

    Thread Starter dcloud

    (@dcloud)

    Ok, I named mine Ferret Details. So I have to change that to Bio? How come? I got the info copied over from your site for the adoption radio buttons. Now if you rewrite all this will I have to start over myself, or were you talking about something else?

    You know, if you’re already doing the fields, i’ll skip that part in the instructions. I mean, it’s a pretty simple matter of re-creating what’s on my test site.

    In reference to naming the more fields box.

    Naming for the more-fields box:
    https://img198.imageshack.us/img198/856/mf01w.jpg

    Naming the fields:
    https://img830.imageshack.us/img830/303/mf02.jpg

    Two values are hard-coded into the templates, others you can call what you want. If you want to use alternate names(for the hard-coded values), that’s fine, just let me know what you’re calling them so i can update the templates accordingly.. ??

    I’ve zipped the three template files up into a zip and included a text document with some simple instructions, but post here if you get stuck or have trouble following a particular step, and i’ll then clarify where necessary.

    https://t31os.onatha.com/wp-content/themes/twentyten/ferret-templates-r01.zip

    I’m not the best person at writing instructions, so if something is a little vague, please simply ask for clarification…. ??

    Thread Starter dcloud

    (@dcloud)

    Ok, I got all the files uploaded. I did all right until I got to step 7.

    7. Attach the “Display Ferrets Awaiting Adoption” template to the right and click Save(Publish).

    — Did this.

    8. Create a page for the Ferrets already Adopted (decide on a title)

    — Did this.

    9. Attach the “Display Adopted Ferrets” template to the right and click Save(Publish).

    — Did this.

    10. Start creating the Ferret posts.

    On which page should I start creating them, or am I suppose to be clicking (add new page) under Ferrets? I guess I’m confused about all these pages.

    Thread Starter dcloud

    (@dcloud)

    I think I’ve figured it out. I just need to “add new” under Ferrets for each entry. It appears to be working. In looking at the actual Ferret page where these entries are going they appear in good alignment, except for the image and the list of details has this thick gray border around it. I’m assuming that’s something in her theme CSS, which we can adjust later.

    Thread Starter dcloud

    (@dcloud)

    Ok, I’ve got a couple entries in here now and I’m noticing some odd behavior. It would probably be easier if I just give you access to her site so you can see for yourself. Let me know if you want to do this and I’ll set you up with a user account.

Viewing 15 replies - 31 through 45 (of 82 total)
  • The topic ‘Easier way to list items?’ is closed to new replies.