WordPress.org

Ready to get started?Download WordPress

Forums

Simple Portfolio Category Template (6 posts)

  1. neweb
    Member
    Posted 3 years ago #

    I'm hoping someone can help me with this one.I've been at it all day and can't find a solution.

    I installed the plugin Simple Portfolio for a website I'm working on.

    Its working perfect with one exception.

    I can't create a custom category template that will work. I have done this for post category template's such as category-4.php and they work perfect.

    It appears that the simple portfolio categories all use the archive.php template and I can't set them to custom templates.

    I have 4 simple portfolio categories
    /portfolio/category/Hospital
    /portfolio/category/Schools
    /portfolio/category/University
    /portfolio/category/Pharmaceutical

    I wanted to set up the templates so that if someone clicks the link for /portfolio/category/hospital they will get a custom template for that category.

    Can this be done in simple portfolio ???? or will it always use the archive.php template!

  2. neweb
    Member
    Posted 3 years ago #

    anyone help with this!!!

    I emailed the author of the plugin but got nothing back.
    Stuck now and don't know what to do.

  3. markvanwijnen
    Member
    Posted 2 years ago #

    I have the same issue, have you found a solution for yours?

  4. neweb
    Member
    Posted 2 years ago #

    No, still no solution.

    I'm thinking of taking the plugin off the site as the support for it is really bad.. Its a simple request and yet still no reply.

  5. markvanwijnen
    Member
    Posted 2 years ago #

    I will try and figure it out.

  6. Jeff Clark
    Member
    Posted 2 years ago #

    on archive.php line 72 change

    get_template_part( 'content', get_post_format() );

    to

    get_template_part( 'cat', get_post_format() );

    then create cat.php (just save content.php as cat.php or whatever you want to call that page)

    make all your custom changes to cat.php I am not sure if you can actually create a custom theme for these category pages.

Topic Closed

This topic has been closed to new replies.

About this Topic