![]() |
Editing specific wordpress category pages
Anyone know how do you edit wordpress category pages?
For each category pages i want to have section on top to add adverts or texts. I tried with "enhanced category pages" plugin but that doesnt work and seems unsupported now. thx |
I think you need custom pages for this.
|
Quote:
Depends on theme, usually it is category.php file. |
no no, i want each category to have small section up top for descriptions of each category, possibly some small adverts in there too, each category diff text, diff adverts.
This plugin works perfectly on my default wordpress theme sites, but does not work with my custom themes |
WordPress will search for specific files in your custom WordPress Theme directory to create your category archive pages.
The hierarchy is fairly simple. For instance, suppose the slug of the Category is news and the Category ID is 6. The Template Hierarchy specifies that WordPress will use the first Template file it finds in your Custom Theme's directory from the following list:
That is, if you do not have a category-slug.php (lets say category-news.php), WordPress will check for a category-ID.php (like category-6.php), and so on in your custom Wordpress Theme Directory. If you need some assistance for any kind of custom modifications please let me know by PM :thumbsup |
catmaster thanks a lot, this is the kind of stuff that i'd actually prefer custom mods for, hitting you up on PM lil later today
thank you! |
Quote:
|
Quote:
|
For the descriptions of each category to show on page I went into my category.php file and added this...
<?php the_archive_description( '<div class="taxonomy-description">', '</div>' ); ?> It worked for me, I just had to play around with where I placed it in the php file. I haven't tried adding any ads but it might be possible if you go to (edit category) for each category you have and add the text you want and ad code into the description field. |
Quote:
|
Quote:
If yes, PM me your email, I will show you what I was able to do for my sites and how. |
yo SmartFred would love to see what you have. Use icq? 130321510 or can pm me if you have time.
Thx man |
Quote:
"jscott has exceeded their stored private messages quota and cannot accept further messages until they clear some space." when trying to PM you and I don't use ICQ from a long time |
pls try now, damn gfy and their skimpy inbox's!!!
|
Quote:
|
All times are GMT -7. The time now is 02:46 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc