html5 - html footer tag in wordpress showing a tag href separately in [ ] & sidebar is not coming -


here http://smallbusinessauthority.com.au/blog/, href shown in "[ ]" author meta next post date. code using footer html tag , if removed footer tag,, working fine.

<footer class="entry-meta">                         <span class="by-author">by <span class="author vcard"><a class="url fn n" href="http://smallbusinessauthority.com.au/author/admin/" title="view posts admin" rel="author">admin</a></span></span> on <a href="http://smallbusinessauthority.com.au/objectives-management-the-key-to-success-for-the-largest-to-the-smallest-businesses-and-what-the-solution-providers-dont-tell-you/" title="8:59 am" rel="bookmark"><time class="entry-date" datetime="2013-07-29t08:59:20+00:00">july 29, 2013</time></a>.                    </footer> 

even sidebar not shown on blog page. every settings correct sidebar , caled in file.

code in template file is: " style="margin-left:30px;"> " title="" rel="bookmark">

    <footer class="entry-meta">         <?php if ( is_single() ) : ?>             <?php //twentytwelve_entry_meta(); ?>         <?php else : ?>             <?php twentytwelve_entry_meta(); ?>         <?php endif; ?>     </footer><!-- .entry-meta -->     </header><!-- .entry-header -->      <?php if ( is_search() ) : // display excerpts search ?>     <div class="entry-summary">         <?php the_excerpt(); ?>     </div><!-- .entry-summary -->     <?php elseif ( is_single() ) : ?>     <div class="entry-content" style="padding-bottom:20px; padding-top:0px;">         <?php the_content( __( 'continue reading <span class="meta-nav">&rarr;</span>', 'twentytwelve' ) ); ?>     </div>     <?php else : ?>     <div class="entry-content" style="padding-bottom:20px; padding-top:0px;">         <?php echo substr(get_the_content(), 0 , 300). "...."; //the_content( __( 'continue reading <span class="meta-nav">&rarr;</span>', 'twentytwelve' ) ); ?>         <a href="<?php echo the_permalink(); ?>">read more</a>     </div><!-- .entry-content -->     <?php endif; ?> </article><!-- #post --> 

the problem describing because of these lines of code in css:

footer a[rel=bookmark]:link:after, footer a[rel=bookmark]:visited:after {     content: " [" attr(href) "] "; /* show urls */ } 

(http://smallbusinessauthority.com.au/wp-content/themes/sba/style.css?ver=3.5.1).

they place [ , ] around footer. can override in own css class or remove if can. wraps href attribute in [] , place content of link.

see http://www.quirksmode.org/css/content.html more explanation.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -