I have a page. Php template and I want the first segment to be I can not insert from The markup looks like this: What do I need: What is the best way to do this? Edit : Thank you for your reply after a few more searches that I found out what I was actually looking at was not as easy as I expected, but it life :). Text "> A classic case for a featured image and part! You will be able to both your functions.php Then you have your tempate files (pages.php for pages and single.php for posts) and lt; Div id = "featured" & gt; How can I do this for style differently?
the_content () in my template, just output to the whole content. I can put additional markup in the editor in HTML mode, but then every one of me The new page will have to repeat this process. Apart from this, the editor does not include the blank
p tag for any reason.
& lt; Img & gt; & Lt; P & gt; & Lt; P & gt; & Lt; P & gt; & Lt; P & gt; ...
& lt; Div id = "featured" & gt; & Lt; Img & gt; & Lt; P & gt; & Lt; / Div & gt; & Lt; P & gt; & Lt; P & gt; ...
add_post_type_support ('page', 'fraction '); Add_theme_support (' Post Thumbnail ');
and
Php the_excerpt ();? Gt; & lt; / div> & lt ;? php}? & Gt; // and this is your featured image - 960 Doped on broad & lt ;? php (function_exists ('Has_post_thumbnail') & amp; amp; amp; php_station ()) {$ img_src = wp_get_attachment_image_src (get_post_thumbnail_id ($ post-> ID), array (960, 9 60));? & Gt; & lt; div Class = "the-image">
Comments
Post a Comment