Note that there are some explanatory texts on larger screens.

plurals
  1. POWordpress sidebar and footer not showing up
    primarykey
    data
    text
    <p>Home: <a href="http://blog.priworks.com/" rel="nofollow">http://blog.priworks.com/</a> Posts: <a href="http://bit.ly/19kLqEI" rel="nofollow">http://bit.ly/19kLqEI</a> Category: <a href="http://bit.ly/16rFJUK" rel="nofollow">http://bit.ly/16rFJUK</a></p> <p>I had a pharma hack and installed a clean version of wordpress and copied over only what I needed after cleaning it. I did'nt modify the theme but for some reason the <em>get</em> statement isn't working on the categories and posts pages.</p> <pre><code>&lt;?php get_sidebar(); ?&gt; &lt;?php get_footer(); ?&gt; </code></pre> <p>Has anyone experienced this, is it safe to try <em>include</em> instead?</p> <p>Posts/Category template single.php</p> <pre><code>&lt;?php /** * @package WordPress * @subpackage Default_Theme */ get_header(); ?&gt; &lt;div id="content" class="widecolumn" role="main"&gt; &lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&gt; &lt;!--&lt;div class="navigation"&gt; &lt;div class="alignleft"&gt;&lt;?php previous_post_link('&amp;laquo; %link') ?&gt;&lt;/div&gt; &lt;div class="alignright"&gt;&lt;?php next_post_link('%link &amp;raquo;') ?&gt;&lt;/div&gt; &lt;/div&gt;--&gt; &lt;div &lt;?php post_class() ?&gt; id="post-&lt;?php the_ID(); ?&gt;"&gt; &lt;h6 class="singletitleh6"&gt;&lt;?php the_title(); ?&gt;&lt;/h6&gt; &lt;span style="text-transform: uppercase; font-size: 0.8em; letter-spacing: 1px; margin-bottom: 20px; display: block; color: #666;"&gt;by &lt;?php the_author_posts_link(); ?&gt;&lt;/span&gt; &lt;div class="entry"&gt; &lt;?php the_content('&lt;p class="serif"&gt;Read the rest of this entry &amp;raquo;&lt;/p&gt;'); ?&gt; &lt;?php wp_link_pages(array('before' =&gt; '&lt;p&gt;&lt;strong&gt;Pages:&lt;/strong&gt; ', 'after' =&gt; '&lt;/p&gt;', 'next_or_number' =&gt; 'number')); ?&gt; &lt;p class="postmetadata"&gt; &lt;span style="font-size: 0.9em; margin-bottom: 10px; display: block; color: #666;"&gt;Posted by &lt;?php the_author_posts_link();?&gt;&lt;?php //the_author(); ?&gt; | &lt;a style="color: #666;" href="&lt;?php the_permalink(); ?&gt;"&gt;Permalink&lt;/a&gt; | &lt;span class="num_comments_style"&gt;&lt;?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?&gt;&lt;/span&gt; | &lt;span style="font-weight: bold;"&gt;Trackbacks (&lt;?php trackback_count(); ?&gt;)&lt;/span&gt; | &lt;?php sharethis_button(); ?&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="postmetadata"&gt;&lt;span style="font-size: 0.9em; margin-bottom: 20px; display: block; color: #666;"&gt;&lt;?php the_tags( 'Tags: ', ', ', ''); ?&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="postmetadata alt"&gt; &lt;small&gt; This entry was posted on &lt;?php the_time('l, F jS, Y') ?&gt; at &lt;?php the_time() ?&gt; and is filed under &lt;?php the_category(', ') ?&gt;. You can follow any responses to this entry through the &lt;?php post_comments_feed_link('RSS 2.0'); ?&gt; feed. &lt;?php if ( comments_open() &amp;&amp; pings_open() ) { // Both Comments and Pings are open ?&gt; You can &lt;a href="#respond"&gt;leave a response&lt;/a&gt;, or &lt;a href="&lt;?php trackback_url(); ?&gt;" rel="trackback"&gt;trackback&lt;/a&gt; from your own site. &lt;?php } elseif ( !comments_open() &amp;&amp; pings_open() ) { // Only Pings are Open ?&gt; Responses are currently closed, but you can &lt;a href="&lt;?php trackback_url(); ?&gt; " rel="trackback"&gt;trackback&lt;/a&gt; from your own site. &lt;?php } elseif ( comments_open() &amp;&amp; !pings_open() ) { // Comments are open, Pings are not ?&gt; You can skip to the end and leave a response. Pinging is currently not allowed. &lt;?php } elseif ( !comments_open() &amp;&amp; !pings_open() ) { // Neither Comments, nor Pings are open ?&gt; Both comments and pings are currently closed. &lt;?php } edit_post_link('Edit this entry','','.'); ?&gt; &lt;/small&gt; &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div style="margin: 50px 70px 10px 42px; text-align: left;"&gt; &lt;?php comments_template(); ?&gt; &lt;/div&gt; &lt;?php endwhile; else: ?&gt; &lt;div style="margin: 50px 70px 10px 42px; text-align: left;"&gt; &lt;p&gt;Sorry, no posts matched your criteria.&lt;/p&gt; &lt;/div&gt; &lt;?php endif; ?&gt; &lt;/div&gt; &lt;?php get_sidebar(); ?&gt; &lt;?php get_footer(); ?&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload