• Hello,

    I’m looking for a solution to change the “All” category to another category I created, is it possible?

    Thank you in advance for your answers

    • This topic was modified 2 years, 6 months ago by Jan Dembowski.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter djayandka

    (@djayandka)

    Hello,

    I know I can create categories, what I would like to do is when clicking on “All” which is supposed to display all categories, that a particular category, I would like to suppress the display of all categories . Do you have a solution ?
    Thanks

    Hi there!

    It sounds like you are seeing more content in the dashboard than desired.

    “All” is not the name of a category. It just means “Show me everything,” and is the default view before you select a specific category to view. You can not skip this view.

    If this is interfering with your workflow, please describe the behavior you would like to see.

    Thread Starter djayandka

    (@djayandka)

    Hello Scott, thank you for answering me.

    Yes I know “All” is for viewing the entire portfolio.
    Is there a solution in PHP no doubt that would allow me to change the URL in order to access another category of my portfolio.

    For example, my portfolio contains the categories: clients”, “images”, “videos”, “drawings”.
    When I click “All” instead of showing the whole portfolio, it would show “Clients”.
    I would like to keep “All” because this button always stays on the left regardless of the spelling order and therefore “clients” would always stay on the left.

    • This reply was modified 2 years, 6 months ago by djayandka.

    Hello again,

    If you’re talking about making it so nobody can view “All Posts” in the wp-admin dashboard, but rather force them to view a specific category instead via PHP, that would be a change to core files in WordPress. I would recommend against that, but would instead suggest you use a Page Rule to add a 301 (or 302) redirect via .htaccess, or whatever method your host supports:

    example.com/wp-admin/edit.php -> example.com/wp-admin/edit.php?category_name=clients

    This should work for .htaccess:

    RedirectMatch 301 ^/wp-admin/edit\.php$ /wp-admin/edit.php?category_name=clients

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wordpress portfolio how to change “all” category by one other’ is closed to new replies.