Plugins generally not working
-
I have just set up my blog, and am realizing that most often my plugins just plain do not work. I have tried out shadowbox, various “share” plugins and other things rated 5 stars and verified as working.
It seems like some of the share ones will work on “Pages”, but not on any of my posts in my custom template. Shadowbox wont work at all, as well as my page numbers plugin, and many others.
Can someone please take a look at my code and see if i did something wrong?
<?php /* Template Name: VS All Posts */ ?> <?php get_header() ?> <div id="container"> <div id="content"> <div id="nav-above" class="navigation"> <div class="nav-previous"><?php next_posts_link(__('<span class="meta-nav">«</span> Older posts', 'sandbox')) ?></div> <div class="nav-next"><?php previous_posts_link(__('Newer posts <span class="meta-nav">»</span>', 'sandbox')) ?></div> </div> <?php while ( have_posts() ) : the_post() ?> <div id="post-<?php the_ID() ?>" class="<?php sandbox_post_class() ?>"> <div class="entry-date"><abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO'); ?>"><?php unset($previousday); printf(__('%1$s – %2$s', 'sandbox'), the_date('', '', '', false), get_the_time()) ?></abbr></div> <div class="entry-content"> <?php the_content('<img src="i/b_rm.png" alt="Read More" title="Read More" />'); ?> </div> <div class="entry-meta"> <span class="author vcard"><?php printf(__('%s', 'sandbox'), '<a class="url fn n" href="'.get_author_link(false, $authordata->ID, $authordata->user_nicename).'" title="' . sprintf(__('View all posts by %s', 'sandbox'), $authordata->display_name) . '">'.get_the_author().'</a>') ?></span> <span class="meta-sep">|</span> <span class="cat-links"><?php printf(__('%s', 'sandbox'), get_the_category_list(', ')) ?></span> </div> </div><!-- .post --> <?php comments_template() ?> <?php endwhile ?> <div id="nav-below" class="navigation"> <div class="nav-previous"><?php next_posts_link(__('<img class="more" src="test" alt="Previous" title="Previous" />', 'sandbox')) ?></div> <div class="nav-next"><?php previous_posts_link(__('<img class="more" src="test" alt="Next" title="Next" />', 'sandbox')) ?></div> <?php if(function_exists('wp_page_numbers')) : wp_page_numbers(); endif; ?> </div> </div><!-- #content --> </div><!-- #container --> <?php get_sidebar() ?> <?php get_footer() ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Plugins generally not working’ is closed to new replies.