• ok, my theme, BeTheme, has no category.php or archive.php page as far as I can find after having sought much help from other generic WP tutorials.

    I’ve created a custom category, “industries” via CPT UI plugin. But what I have is, whether it’s a core category or custom one, viewing a category page is showing me all of the entire posts instead of a short post listing (excerpts, etc…).

    It seems that having a category.php file would allow me to write some functional php in a child file.

    Please, some kind soul, what am I doing wrong, and could you point me to an alternative method of creating a custom category (taxonomy) page? I found a way to create a category template, but it only appears in the core “New Cat” pages and not the custom ones…

    HELP??? ??

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    If you create a child theme, you could add a catgegory.php file to the child.

    Thread Starter Glenn

    (@rglennnall)

    thank you, man.

    how would I find the generic code that would come with a theme category.php file?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Well, that’s the trick because you should match the patterns and markup used by your current theme.

    The plugin “show current template” will show you what template is used when you’re on a category page, so copy that into your child as “category.php” and then modify.

    Thread Starter Glenn

    (@rglennnall)

    outstanding. thanks

    Thread Starter Glenn

    (@rglennnall)

    interestingly, the plugin shows my custom category page (tag) as using index.php with a boatload of other files, and my category is using category.php …

    any thoughts?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘editing “custom category page” — theme has no category.php page’ is closed to new replies.