• Resolved lothsun

    (@lothsun)


    What all would I need to change in the code to use this plugin twice on my site? I currently have a band site that I use this plugin for to display the band members and a little about themselves. Now, I would like to use this plugin as an easy way for the main content contributor to add new albums. Right now, our music page that lists all of our albums is hand coded and is hard for the other members to understand how to update. I would love to make it easy for them to update this area so I don’t have to be pulled off of other projects to do it for them. I’m wanting to do a layout like this image here. Any and all help is appreciated as I’m still not sure how I’m going to integrate the music player to this plugin.

    http://wordpress.org/extend/plugins/simple-staff-list/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Brett Shumaker

    (@brettshumaker)

    Hey man, that’s going to be a lot of work. But if you’re up for it, you should just write your own Custom Post Type (reference link) to handle getting the information. Or you could use a plugin called Advanced Custom Fields that really makes it easy to add formatted content to a page.

    Thread Starter lothsun

    (@lothsun)

    You think it would be easier to write everything from scratch instead of modifying your plugin?

    Plugin Author Brett Shumaker

    (@brettshumaker)

    I think it would be. Do you need the sorting feature?

    Thread Starter lothsun

    (@lothsun)

    I assume you are referring to the “Order” sub-menu, and I may need that. Not for sure yet. Depends on how they decide they want to display the albums. But I’m sure they will just want them going in the typical order of newest album at top and then getting older as you go down the page. I probably won’t need the template area as I’ll just hard code it in.

    Plugin Author Brett Shumaker

    (@brettshumaker)

    Yeah, well if you end up need all of the features, you could just duplicate my plugin and go through and change the post type definition, all the function names, and all the custom field names.

    Not terribly easy (or fun), but do-able. haha

    Thread Starter lothsun

    (@lothsun)

    Thanks for the help, I have already done that but for some reason I can’t get the loop to display now using the modified code. I am doing a simple port over to just say “band members” instead of “staff members” to make sure i have modified correctly. Pretty much anything that said staff I changed to band. I must have messed up somewhere. :/ haha

    Thread Starter lothsun

    (@lothsun)

    Found my error. In admin-views.php and admin-install-uninstall.php I had the loop named [band_member_loop] and in user-view-show-band-member-list.php I had it as [band_loop].

    Plugin Author Brett Shumaker

    (@brettshumaker)

    Awesome. Glad you got it working!

    Thread Starter lothsun

    (@lothsun)

    Thanks for all the help Brett. I’ll let you know when I get done customizing it to work with the albums and layout I want. Then maybe you can take a look at the code and help me improve it if you have time. Thanks again for everything and making a great plugin.

    Thread Starter lothsun

    (@lothsun)

    resolved

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Use SSLP Twice on 1 Website’ is closed to new replies.