Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Category page #7

Open
gmila84 opened this issue Nov 13, 2017 · 7 comments
Open

Custom Category page #7

gmila84 opened this issue Nov 13, 2017 · 7 comments

Comments

@gmila84
Copy link

gmila84 commented Nov 13, 2017

Hi, this isn't a bug or an error, but how do we create a custom category page in the B Reloaded theme?

In older versions of default WP themes, we just create a category-categoryname.php file.

Thanksa

@pattonwebz
Copy link
Owner

Hey @gmila84,

It should be the same in this theme to create custom category pages. Did you try and it didn't work?

I've just stepped away from my computer for a while but once I'm back at it in 2ish hours I can try this and see if I can help you make it happen :)

@pattonwebz
Copy link
Owner

Wait I think I know what you mean now. Is it because this theme has no category.php or archive.php files?

Category pages are generated with the index.php template so you could either duplicate that and rename or you could base it on the single.php file and both should work.

Let me know if that helps, if not I'll look more closely at how to do it when I'm at my computer.

@gmila84
Copy link
Author

gmila84 commented Nov 13, 2017 via email

@gmila84
Copy link
Author

gmila84 commented Nov 13, 2017 via email

@pattonwebz
Copy link
Owner

Glad this is now sorted, I'll leave the issue open for a little while until I can put a category template in place in the theme to make this easier in future.

I appreciate you pointing it out to me as I hadn't considered it a problem before now :)

@gmila84
Copy link
Author

gmila84 commented Nov 14, 2017 via email

@pattonwebz
Copy link
Owner

pattonwebz commented Nov 14, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants