Hey again..
I hate to bother you guys again, but I've been trying to make a new page for a specific category of posts.
A simple menu link with the category won't do, because I would like to write some stuff before the posts are displayed and give the page a custom title.
I tried messing around with the tutorials here:
http://codex.wordpress.org/Pages 'A Page of Posts', but I can't seem to figure out the theme's structure.
I want to make a new page template which will only display a certain category of posts, but leaves me room to customize the page a bit; a small text before the displaying of the posts and a custom title or maybe add a slider for example.
Or is it possible to use the default page template and just add a php code in the page editor?
Hope I'm not asking too much. If I am, just say so!!
Cheers
Comments
Copy file
archive.php
and name itcategory-slug.php
where slug is slug of your category(you will find it in category edit menu in Posts).Now you can edit your new created file :-)
With regards.
I copied the archive.php and named it category-*slug*.php. I placed it in the theme folder, but I can't select it as a page template.
What am I missing?
With method from my previous post you can edit then PHP file and put your content there, but now I understand that it could be as hard for you as making above solution.
Sorry can't help you farther with it.
With regards.
I will give it a try.
Thanks for your time!
For instance, in this page: http://themes.apollo13.eu/hypershot/static-header/
the header and the text 'What is Lorem Ipsum?', etc. is inside the 'white box'. What is the div 'class' and/or 'id' for the 'white box'?
Hope you can help me out
F 12
in FireFox or Chrome, or by betting to sourcectrl + U
:-)With regards.