INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Can WP do deep levels and disparate blog rolls?

Can WP do deep levels and disparate blog rolls?

(OP)
Is it feasible to set up a WordPress site that satisfies this group of conditions:

1. It needs several pages and sub-pages, at least four levels deep.
2. Some of the pages will be static content.
3. Some of the pages will show a blog roll, specific to that page.
4. The site will have many interior blogs
5. It has a decent ecommerce plugin/app that also allows us to feed digital and streaming content.
6. Pages must be mappable to an existing sitemap (there's already a sitemap in use -- so those URLs should go to the new pages without using a redirect

Now, for items 3 & 4, I THINK this should be do-able with post CATEGORIES. For example, I would be able to specify that on one page, show posts of this particular category, but on another page (and these pages might be anywhere in the site map) only show posts from some OTHER category, and so forth. So, the site could have, basically, one big blog, divided up into categories, and those categories only showing up on specific pages.

Is that do-able in WordPress?

I've been impressed in the past by WP, but its vulnerability has buggered me in the past. Some of the new security stuff (such as the BPS) gives me some hope, and I can see that there are a lot of new ecommerce plugins out there.

Thanks!

monkey Edward monkey

"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door

RE: Can WP do deep levels and disparate blog rolls?

1. yes
2. no problem.
3. no problem. not really related to categories though. just add some selective criteria to the relevant template.
4. more difficult but with funky templating it should be possible. or if each blog is a single author, then very straight forward. likewise if each blog is category delineated, then you can achieve your goal either via the template or via the url.
5a. e-commerce. there are many e-commerce plugins already rolled for WP. or roll your own or use a third party app and plug it in yourself.
5b. digital feed - i'm guessing here. do you mean that the e-commerce plugin will sell an access token that will allow access to certain content? If so I don't know of any plugin that will do this out of the box but if you use something like role-scoper and then add some code to the back end of the e-commerce plugin then that should be ok. or if you don't like role-scoper (and it is perhaps too heavyweight) then you can achieve a good solution with some access code in the template and the same type of back-end code to the e-commerce plugin
6. probably not possible if you define a rewrite as a redirect. if a redirect is defined as an actual push to the browser then no problem. you can achieve this by editing the .htaccess file.

Quote:


but its vulnerability has buggered me
Wordpress is a complex code base because it tries to maintain backward compatibility with old plugins. there is a relationship between complexity and the number of 'holes' that are left. It is not impossible to have an invulnerable code base, just unlikely given the way human minds work.
However ... this is no different to any other blog platform. The key difference, perhaps, for WP is that it is _so_ popular that it is targeted more often. But quid pro quo, it also has a huge community base of people who spend time looking at the code and debugging it. Most of those people feedback security vulnerabilities very quickly and in secret so that the attack vector has a greater chance of not being exploited.
A second problem is the number of poorly coded plugins out there. There is no validation of the plugin on the wp.org site - users use these at their risk.

RE: Can WP do deep levels and disparate blog rolls?

(OP)
"no problem. not really related to categories though. just add some selective criteria to the relevant template."

That seems like a very natural use for Categories -- to specifically show only selective items from a blog.

So, for example, on the "Movie Reviews" page, the blog only shows entries that belong to the category "Reviews_movie". On the "Book Reviews" page (which will be in a different location than the movie reviews page), only entries that are categorized as "Reviews_Book" will show in the stream.

"more difficult but with funky templating it should be possible. or if each blog is a single author, then very straight forward. likewise if each blog is category delineated, then you can achieve your goal either via the template or via the url."

Templating...? I'm assuming to use the same template for the entire site. Maybe I didn't explain that well. Different pieces of the site will have different lists of blog entries. I'm perfectly okay having a single blog (I probably mis-wrote that), as long as I can filter where the entries appear.

As far as the e-commerce stuff, yeah, I'm very glad to see more options than the last time I looked. The e-commerce tool should be at least able to accept money for physical product to be mailed, but also should be able to (for future products) be able to interact with some sort of streaming tool on my host (Dreamhost) so that I can serve streaming (as opposed to downloadable) video and streaming audio content.

Thanks for your patience -- I'm still learning this stuff!

Cheers,


monkey Edward monkey

"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door

RE: Can WP do deep levels and disparate blog rolls?

it would be very unusual to use the same template for the whole site. but if you want to then fine. just create separate template pages for each of these [items], run the necessary code and then require() the main template. then you need to maintain only the single page of html.

categories should not separate blog entries. a single entry is normally tagged with X categories and Y tags when X and Y are any number from 0 to infinity. you are seeking to use these criteria for things other than that which they were intended. That does not mean you are wrong: just that you will be swimming against the tide. However if you are absolutely adamant about separating blogs along category lines, then it can be done. equally you could use a custom taxonomy instead.

as for e-commerce stuff - you can make any of them do whatever you want. just change the code in the back end. some are more easily extensible than others. personally revenue is too important and I'd always write my own and never rely on someone else's code. But that's probably more paranoid than most people would consider reasonable.

RE: Can WP do deep levels and disparate blog rolls?

(OP)
"it would be very unusual to use the same template for the whole site."

Maybe I'm not understanding the purpose/use of the term template.

A template is what basically "skins" a site, right? By this, I mean a Theme. I intend to apply the same theme to the whole site.

That's what I mean.

"categories should not separate blog entries. a single entry is normally tagged with X categories and Y tags when X and Y are any number from 0 to infinity. you are seeking to use these criteria for things other than that which they were intended."

I don't understand why Categories exist if not to separate blog entries. That... that makes no sense to me. Tags I understand, but that's a pretty much separate thing*.

Why do Categories exist?

Okay, maybe I need to show an example.

Here's one page of a site:
http://www.hellbendermedia.com/projects/movies/tips/

Here's another page of the same site:
http://www.hellbendermedia.com/activities/blinkspace/

Here's a third page of the same site:
http://www.hellbendermedia.com/projects/movies/features/fomf/

All three share the same basic trait: Some introductory content, followed by a list of blog entries.

What I'd like to do is to be able to -- in the Dashboard -- add a new blog entry and specify that it's (for example), a TIP, or specify that it's a BLINKSPACE story, or a FOMF_ProdDiary. Once I post that entry, then only posts of the BLINKSPACE category appear on the Blinkspace page, and only posts of the TIPS category appear on the Tips page, and only posts that are appropriate to the FOMF Production Diary appear on that page.

Is this the sort of thing that can be done using WordPress? Can a page contain blog entries below introductory content that are only a certain subset of all blog entries**?

I don't want to install a new WP install for each blog. That gets unwieldy REALLY fast, for obvious reasons.



* In the case of Tags, I might tag TIP entries with such tags as: green-screen, post-production, lighting, script, etc. Tags for Blinkspace might include: animals, shapeshifters, magic, Lovecraft, etc.

** I can also use the same technique to, for example, set up a page called "What's the latest on the site" that lists the most recent ten entries across the site, regardless of location.

Thanks!

monkey Edward monkey

"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door

RE: Can WP do deep levels and disparate blog rolls?

(OP)
Ooooh, a template is a TYPE of page, right?

So, I might have a template that is called CONTENT_ONLY and a type called CONTENT_SUBBLOG.

CONTENT_ONLY would be a very ordinary page that did not contain the commenting ability that's at the bottom of a typical page.

CONTENT_SUBBLOG would contain some content, and then include a list at the bottom of posts of a certain category.

Is that what you mean by template?

monkey Edward monkey

"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door

RE: Can WP do deep levels and disparate blog rolls?

a skin or theme is made up of several templates. one for each 'type' of page (a home page, a single view page, a list view, an archive view, a category view etc). you can use one for all, no problem. but it is unusual. Look in the wordpress codex for a description of the templating system. http://codex.wordpress.org/Template_Hierarchy

you can do what you intend with categories. but it is not the approach for which categories were intended and users could 'break' the layout/scheme by editing the urls. you might be better off using the multiblog capabilities of wordpress or custom post types. but to repeat - you can achieve your aim with categories. if you go that route then you will want to add some discernment code to your archive templates to make sure that the you catch url spoofing and hand it back to the home page or wherever.

RE: Can WP do deep levels and disparate blog rolls?

(OP)
I still see no other reason why Categories exist except to separate posts. I mean, you've referred to them several times as having a function, but from what I've read on the Codex and other places, that is exactly their function -- to separate posts.

But, quibbling over the tool is beside the point.

The question is this:

-=-=-=-=-=-=-=-=-=-

Here's one page of a site:
http://www.hellbendermedia.com/projects/movies/tips/

Here's another page of the same site:
http://www.hellbendermedia.com/activities/blinkspace/

Here's a third page of the same site:
http://www.hellbendermedia.com/projects/movies/features/fomf/

All three share the same basic trait: Some introductory content, followed by a list of blog entries.

What I'd like to do is to be able to -- in the Dashboard -- add a new blog entry and specify that it's (for example), a TIP, or specify that it's a BLINKSPACE story, or a FOMF_ProdDiary. Once I post that entry, then only posts of the BLINKSPACE category appear on the Blinkspace page, and only posts of the TIPS category appear on the Tips page, and only posts that are appropriate to the FOMF Production Diary appear on that page.

Is this the sort of thing that can be done using WordPress? Can a page contain blog entries below introductory content that are only a certain subset of all blog entries?

monkey Edward monkey

"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door

RE: Can WP do deep levels and disparate blog rolls?

Quote:


Is this the sort of thing that can be done using WordPress? Can a page contain blog entries below introductory content that are only a certain subset of all blog entries?

yes, as said. Use categories, tags or whatever floats your boat and then a judicious dip into the template hierarchy and some back end code to legislate for url spoofing and you're done. My preference would be a custom taxonomy but without knowing more about your intent I can't advise more precisely.

RE: Can WP do deep levels and disparate blog rolls?

(OP)
"...without knowing more about your intent I can't advise more precisely."

My intent is to replace the site I've listed with one that doesn't have 15-second latency on page requests, and that doesn't require a lot of ball-tickling to implement.

My goal is to find someone who can either step me through the process using WP, or step me through the use of some other full-blown CMS, in a relatively quick and painless fashion.

monkey Edward monkey

"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door

RE: Can WP do deep levels and disparate blog rolls?

that was not what I meant; which I suspect you knew.

if you have any specific questions on code that you are stuck on then feel free to post back. I and others here have years of experience of wordpress and contribute plugins to the community and are part of the wider group that tests and debugs the wordpress core team's work.

if you need someone more full time to assist you at a more general level then I'd recommend vworker or one of its competitors.

RE: Can WP do deep levels and disparate blog rolls?

(OP)
"that was not what I meant; which I suspect you knew."

Huh?

I think you are responding to a different conversation than the one I am trying to have.

monkey Edward monkey

"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close