29 posts
  • Has been part of the Envato Community for over 3 years
Delpierooo says

Hi.

I have one question regarding building up a wordpress theme. Let say I have a template for a blog item. With this template I can create as many blogs as I want. Is there a way to have a custom field(when creating a page) that I could then take to the single.php page? For example: I have two blogs: blog1 and blog2 and for them I set the custom field to “Blog 1” and “Blog 2”. I can read the blog templates very easy. But how would I get this variable to the single.php page? Is this possible or will I have to asing this to each post? So the sinbgle page would “somehow” know that he “came” from blog1 or blog2.

Many thanks for all the answers.

Best regards,

Pego

by
by
by
by
by
by