Thursday, 15 September 2011

css - footer getting mixed up in content area. -


My footer is adding posts on the music page and I do not understand why it is mixed. FYI, I'm using a WordPress plugin, to create posts on custom fields, music pages, as opposed to other pages.

music.php:

  & lt ;? Php / * Template name: Music page * / get_header (); ? & Gt; & Lt; Div class = "wrapper" & gt; & Lt; Div id = "music-content" & gt; & Lt; P & gt; this is music. Php & lt; / P & gt; & Lt ;? Php $ args = array ('post_type' = & gt; 'music'); $ The_query = New WP_Query ($ Args); ? & Gt; & Lt ;? Php if (have_posts ()): while ($ the_query-> is_pause ()): $ the_query-> The_post (); ? & Gt; & Lt; H3 & gt; & Lt; A href = "& lt ;? php the_ paramchink () ;? & gt;" & Lt ;? Php the_title (); ? & Gt; & Lt; / H3 & gt; & Lt ;? Php the_field ('Description'); ? & Gt; & Lt; ----- This plugin has to do with & lt ;? Php timeline; other:? & Gt; & Lt ;? Php endif; ? & Gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt ;? Php get_footer (); ? & Gt;   

Style.css:

  / * Music page * / # music-content {display: block; Swim left; } / * Footer * / footer {background color: #EEAAA; Display area; Clean both; Border-top: 1px black solid; }    

You just have to & lt; A & gt; The link tag is in your content, and your links are inaccurate.

& gt; to A href = ".." code> and no tag off & lt; / A & gt; after anchor text

  & lt; H3 & gt; & Lt; A href = "http://listentotheway.com/music/ here-is-second-one /" here another & lt; / H3 & gt; Yay & lt; H3 & gt; & Lt; A href = "http://listentotheway.com/music/this-is-a-music-project/" This is a music project & lt; / H3 & gt; This is where you get the music   

It should look even more:

  & lt; H3 & gt; & Lt; A href = "http://listentotheway.com/ music / here-is-second-one /" & gt; Here's another & lt; / A & gt; & Lt; / H3 & gt; Yay & lt; H3 & gt; & Lt; A href = "http://listentotheway.com/music/this-is-a-music-project/" & gt; This concert is & lt; / A & gt; & Lt; / H3 & gt; This is where you get   

in your PHP:

& lt; H3 & gt; & Lt; A href = "& lt ;? php the_permalink () ;; & gt;" & gt; & Lt ;? Php the_title (); ? & Gt; & Lt; / A & gt; & Lt; / H3 & gt;

No comments:

Post a Comment