aselenwall
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Need some help with a tricky(?) problemHi Wetwetwafu,
This was exactly what I was looking for. Thanks for all your help.
Forum: Themes and Templates
In reply to: Need some help with a tricky(?) problemHi Nuambenzina,
Thanks for your reply, but that wasn’t quite what I was looking for. I will try to explain further.
Lets say I have this layout (excluding html and body tags in my example),
<div id=”text”>
<? if (have_posts()): while (have_posts()): the_post(); the_content(); endwhile; endif; ?>
</div>
<div id=”picture”>
</div>And the style sheet,
#text {float:left}
In div #text I would like to show the content for my Page as published in WordPress, so this text is added and published by a client of mine. But I also want my client to be able to add a picture, in the picture div, which should be shown together with the text.
Example of my use case:
1. Client want to add a new Page
2. Client creates page
3. Client adds text using the WordPress text editor (shown in #text div)
4. Client adds a picture (shown in #picture div)The picture should then be shown only when opening thsi particular Page.
I know how to do this in Concrete5 (which I have been working with before), but Concrete5 is to heavy for the webhotel where my client wants to run their site so I thought of WordPress since it is more lightweight. But that all depends on this issue.
Hope someone can help me out.
Forum: Themes and Templates
In reply to: The loop shows only Pages not blog entries, what to do?Thanks. I read some more about the Template Hierarchy, and now it works just fine.