• Is there any hack / plugin to limit the author to just be able to post only in specific category ?
    Ex:
    Author A => only able to post in Category A
    Author B => only able to post in Category A

    I’ve looked around .. and can’t find anything.

Viewing 15 replies - 16 through 30 (of 51 total)
  • Yes, you do ??
    Just read carefully the list of the parameters for the template tag that is used for displaying the categories in the sidebar (Link above).
    An implementation without image – see by clicking on my name.
    For image: you need to upload your image and put the path to it in the template tag.

    Ok – I’ll read up on parameters. It looks like you use both text and images on the side bar on the left side of your site. So, all I need to do is edit the template – but which one? I’m looking at the wp_list_cats & list_cats tags. So are these the tags I need to edit in something like sidebar.php from the wordpress default theme files?

    Maybe I use this line?
    <?php wp_list_cats(‘sort_column=name&optioncount=0&feed=RSS’); ?>

    I notice that feed=RSS is not in the orginal file in sidebar.php from wp-content > themes > default

    Also – if this is correct then where do I put a link to the image within this template so it shows up?

    Thanks,
    Doug

    I tried the above but didn’t notice anything.

    I’d like to have a link with each category so that it would be like (feed:https://server/wordpress/?cat=16&feed=RSS) but I don’t think that will work.

    Can you tell I’m lost – like on an Island with the Others.

    Ok – let me know if this will work.
    Go to sidebar.php and edit the file listing category and add &Feed=RSS.
    <?php wp_list_cats(‘sort_column=name&optioncount=0&Feed=RSS’); ?>

    But then add the path for the image after that?
    so it would be ..Feed=RSS’)Path/filename; ?>

    or do I use feed_image in the string?

    feed_image
    (string) Path/filename for a graphic to act as a link to each Categories’ RSS2 feed. Overrides the feed parameter.

    Thread Starter htad

    (@htad)

    Hey guys,
    I’m sorry. I installed the plugins called Category Access not Limit Category.
    It locates here: https://www.coppit.org/code/index.php

    But, it’s not working for me. I’ll try Limit Category + Role Manager tonight and let you know if it works.

    Thank you moshu ??

    P.S: brantz88, did you get it to work ?

    htad – Yes its awesome! I installed both the Role Manager and the LimitCat and they work great. As Admin go under Users and then Roles and Role manager allows you to create new roles and then you can go to Options and under Limit Cats you can select the categories allowed for each Role. I’ve set it up but have not actually tested it. So, I should say the setup of everything works. I’ll test it soon. Make sure you get the 1.52 version of limitcat plugin the 1.1 didn’t work for me.

    I was out of the house…
    If you have an image, let’s say called “feed.png” and you put it in your themes’s image directory, then you can use something like:
    <?php wp_list_cats('sort_column=name&sort_order=desc&feed_image=wp-content/themes/your-theme-name/images/feed.png'); ?>

    Thread Starter htad

    (@htad)

    Hey guys,
    https://redalt.com/ .. is down ??
    Can somebody please email me LimitCats 1.5.2 ?
    It’s [email protected]
    Thanks

    It works for me – I mean redalt.

    The website worked for me too.

    Moshu – I’m confused what file to edit. I tried changing the line in sidebar.php in wp-content > themes > default but I don’t see any changes on my site?

    Is there a file under wordpress I need to edit?

    Thanks,
    Doug

    Nope, that’s what you should edit: sidebar.php of your active theme.
    (but I don’t touch the default, sorry…)

    Do you suggest a different theme?
    Here is my line of code for that section:
    <h2>Categories</h2>

      <?php wp_list_cats(‘sort_column=name&optioncount=1&hierarchical=0&Feed_Image=/images/rss_sm.png’); ?>

      Does that look right?

      Thanks,
      Doug

Viewing 15 replies - 16 through 30 (of 51 total)
  • The topic ‘How to limit author to a specific category?’ is closed to new replies.