Weird (?) problem
-
When trying to insert the attachments list into my theme, I get this output:
<h3>Attachments</h3> <ul> <li> <pre>stdClass Object ( [id] => 190 [fields] => stdClass Object ( [title] => Test title [caption] => <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.</p>) [post_id] => 10 )</pre> </li> </ul>
So I get the correct attachment and all, but something isn’t working like it should.
BTW. I’m trying to use it on a page, not a post.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Weird (?) problem’ is closed to new replies.