INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

adding 'posts' to a custom theme

adding 'posts' to a custom theme

(OP)


i have a custom theme i created from scratch....

everything seems to be good so far...

now i want to add recent posts to a page. any idea how i can do this?

this is the page: http://rossow-web.com/news/

Artist/Designer

RE: adding 'posts' to a custom theme

You need to add "the_loop" into your theme.
http://codex.wordpress.org/The_Loop

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

RE: adding 'posts' to a custom theme

(OP)
ok how do it get it on one specific page?.... here is a better explanation...

these are the files i have in my theme as seen in the appearance editor:

Design_v6 Page Template
(fineart_page.php)

Footer
(footer.php)

Theme Functions
(functions.php)

Header
(header.php)

Main Index Template
(index.php)
-----------------------------------

i have a page called news -- > http://rossow-web.com/news/

that i want my posts to appear on....

Artist/Designer

RE: adding 'posts' to a custom theme

(OP)
sorry....

could you break that down a bit more for me?


i hope i'm interpreting what you said correct....but my entire wordpress site is based on a template.... meaning for each page i create i set the 'design' template from default to:

Design_v6 Page Template
(fineart_page.php)

is this what you mean?

or should i create 2 template pages...one with the post code and one without....and use the version with the post code just for the news page?

Artist/Designer

RE: adding 'posts' to a custom theme

If you want granular control of your site by reference to the page selected then either you need to go with different templates or add conditional code into a single template. The "proper" WordPress way is the former. From a php perspective anything works.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close