Hi , My site is http://www.tollywoodzoom.com and i am using newsworld Deluxe theme I want to have a custom single.php for a particular category .. i have assigned using if and else statement ..but i am unable to change the look and layout please help me on this ... with regards sribharath
Is the category page up and running on your site right now? If so, post the URL and what you'd like to do and I'll try and help you out with it.
hey yeah sorry was wrong in telling .. actually i need to make archive pages to look different ... for example gallery archive shld look diff than all other ones .. how do i do that
That shouldn't be too bad... You would have to alter the archive.php page template. (hopefully your theme has one) Essentially you would have to create some new CSS just for this page... The CSS would them change the look and layout. Can you send me the URL and maybe an example of what you're looking for? It's kinda hard to say how long this type of job would take without an example.
My site is http://www.tollywoodzoom.com actually i have done doing that ..i have made a custom archive as well But archive.php calls some thing like and querform.php has the below code
Don't edit your archive.php.. Instead create a new custom category archive page... See here: http://codex.wordpress.org/Category_Templates WordPress hierarchy checks for custom category templates first, then archive.php then index.php so you don't need to edit your archive.php. You can just copy it, rename to category.php and customize See here for hierarchy info: http://codex.wordpress.org/Template_HierarchyÂ
In single.php file , just edit : if(is_category(ID)){ add your html code here }else{ // some thing ... } Code (markup):
Yes... that's right... I mis-read the original post and thought he wanted to create category archive...