Separating Display of Post with image from Post without Image
-
Hi Guys,
Can anyone help me with the following?
I have two types of post:
1. With Image (attachment.php)
2. Without Image (single-post.php)I’ve been trying to find a way to separate how these posts will be displayed.
I tried looking at the hierarchy. Since my posts types are single-post.php and those with attachment.php, I modified the two of the to display different layout in their individual post. I did not modify the single.php.
However it seems that the format they are following is the single-post.php and the attachement.php (the one with image) is being bypassed.
Can any one point me to the right direction?
Thanks in advance!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Separating Display of Post with image from Post without Image’ is closed to new replies.