- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘Back End’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi Guys,
This must have been asked before, is there a way for wordpress to separate image and text in post using the_content()?
I have this design and wanted to have my wordpress post look like this http://i.imgur.com/BQ0bC.png
Thanks in advance guys! :)
Best,
Val
you should use different single template for your content….
I mean …
http://elliotjaystocks.com/blog/tutorial-multiple-singlephp-templates-in-wordpress/
in that blog is a comment from @JustinTadlock, that have a better..mm coolest solution….
and using
will be a good start
http://codex.wordpress.org/Function_Reference/the_post_thumbnail
see’a
Thanks for the tip Locke, will check on this one hope it’s not complicated. Let me know if you guys still have other ideas :)
Setting up your site to use post thumbnails (or ‘featured images’) is quite easy. I just recently did a little article on it here: http://code.graygilmore.com/blog/using-wordpress-featured-image-post-thumbnail
The jist of it:
Make sure something like this is in your functions.php file:
if ( function_exists( 'add_theme_support' ) ) {<br />
add_theme_support( 'post-thumbnails' );<br />
}
You can call the image in your template with this:
<?php the_post_thumbnail(); ?>