• Hello and immediately let me apologise for noobness

    I have been testing WordPress for a community site i am seting up. There will only be a few authors who will write for the site and each is to have their own page where spcifically their posts will appear.
    There will be other pages which are to be category related and a front page which is to illustrate latest posts and rss feeds etc.
    The site has to maintain a uniform look

    Should i be looking at working with WordPress or MU?

    At present i have tried non-MU and seem to be having issues creating individual user pages.

    Many thanks all around.

Viewing 5 replies - 1 through 5 (of 5 total)
  • It sounds like regular WP will serve your purposes.

    However, what are the issues you’ve had with creating individual user pages?

    Does each author have permission to publish their own posts or do they first get approved by an editor?

    Can you trust that authors will cooperate and not try to post to places they are not supposed to, or is it necessary that restrictions be enforced by WordPress on who can post where?

    Thread Starter pipsurfer

    (@pipsurfer)

    Thanks Stvwlf

    My issues really are born of ignorance. I have been reading through WordPress 2.7 Complete – a useful book – but when it comes to approaches to site creation, i can’t quite get my head around certain things.

    I can create a individual pages easily enough. What i would like the authors to experience (who i think i trust!!!) is that when they log in and create posts, if it’s a post all about them and not a general cross-blog topic, that post appears on their own page.

    From my reading of the forums, am i right in believing i should create a category for each author and then ‘their page’ is a page which is generated from all entries in their category?

    All help greatly appreciated.

    Thanks
    Phil

    Hi

    yes to what you said. The way I do that, instead of using category pages, is create a WordPress static page for each author and give those page appropriate titles. The site Nav is created from the pages, so now the pages are on the nav and you are half way there.

    Then you have to correlate a category to those pages. I use a WordPress function called query_posts to change the default query that is normally run on a page, which would display the content of that one page. The WordPress template for pages is page.php, found in the theme folder. I put an if statement like what is below just before the WordPress loop. You have the book there so I won’t explain what the loop is. Just put this code before the starting IF of the loop.

    I am using made up category ID#’s in my example. Where I show $cat = 5 you must find the actual category ID of the category on your installation. Below the code, I’ve pasted in a link to an article on how to do that.

    <?php
    $cat = 0;
    if (is_page('phil')) {
       $cat = 5;
    } elseif (is_page('bill')) {
       $cat = 9;
    } elseif (is_page('jill')) {
       $cat = 12;
    }
    if ($cat > 0) {
      $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
      query_posts("cat=$cat&paged=$paged");
    } 
    
    // WordPress loop starts here
    ?>

    That code creates the proper paging for categories with more than one page of posts, and assigns the category for a specific author to their page. For pages that are not author-post pages, the page template functions in its default way.

    http://www.wplancer.com/how-to-find-a-wordpress-category-id/
    article screenshot is of an older version of WP but it still works the same way

    Thread Starter pipsurfer

    (@pipsurfer)

    Hello Steve

    Thank you very much for this… I am busy playing and fiddling with it now, that i’m back in the office!

    Will let you know how it goes.

    Thanks again

    Phil

    Thread Starter pipsurfer

    (@pipsurfer)

    Hello Steve!

    I think it’s getting there. I just need to pretty it up (http://www.sohozoo.com)

    I don’t want to bother you endlessly, especially for specific code, but could you give me some ‘general directions’ on a couple of points?

    1/ My home page needs the latest post embeded upon it – Which Plugins should i be looking for/ or not?
    2/ In my right hand pane i would like the BBC News weather embeded. Is that possibel as HTML? Their embedding code is here

    Many thanks for all the help. Getting itchy fingers for blogging now!

    Phil

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘WordPress MU or single ?’ is closed to new replies.