morganictrie
Forum Replies Created
-
Forum: Plugins
In reply to: [ShareThis: Free Sharing Buttons and Tools] Remove @sharethis twitter tweetHi – I am looking to do this (change the via in the hover bar) however when I made the changes the hover bar just disappeared all together.
I wasn’t sure if the code provided by sharethissupport was suppose to become the only code in the ” [+] Click to modify other widget options.” or pick up where it seems to start from the code that was already in the box. Same results either way.
Any thoughts?
Forum: Plugins
In reply to: [The Events Calendar] [Plugin: The Events Calendar] Bad Font SizesSo how do you overwrite events.css? I’m just trying to get the font styles and colors to match up with my theme and so far no luck.
Forum: Plugins
In reply to: pagination not working on page with shortcodeI got it! Thanks so much for your help….I was really banging my head against the wall for a while there!
Forum: Plugins
In reply to: pagination not working on page with shortcodeThat worked!
While I am more to happy to live with this solution for now the style is quite different from where pagination appears elsewhere on the site. Digging into the parent css it looks like .wp-pagenavi is used. Is there a function out there that would work better in the interest of continuity?
Forum: Plugins
In reply to: pagination not working on page with shortcodeAbove is my pastebin.com code for a template. Everything from #main div above and from /#main div below is copy and pasted from the existing blog template found in the themes/canvas/template-blog.php folder (which has pagination when viewed but I saw no reference to it in the template-blog.php file).
Thanks!
Forum: Plugins
In reply to: pagination not working on page with shortcodeI’m looking at page now….and also found some of your comments on other posts.
I’m realizing that I may have to figure out how to make this into a template file. I’ve just given that my first shot, but still not page numbers. This would be my first attempt at creating a custom template so I was kind of trying to avoid that. (I’m using Woo Themes Canvas, by the way.)
So I wrote this loop and then on the page listing the annual reports and then on the page had nothing more than [annualreport].
Any thoughts would be fantastic as I’m feeling a little muddled down in all the different options and figuring out which is best.
Forum: Plugins
In reply to: pagination not working on page with shortcodeI’ve updated it to this, which is sort of working. It does limit the number of posts and when I manually change the page number in the URL it works, but the pagination navigation is still not appearing.
<?php function AnnualReportShortcode() { $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $args=array( 'cat' => 22, 'posts_per_page' => 5, 'paged' => $paged ); $the_query = new WP_Query($args); while ($the_query->have_posts()) : $the_query->the_post(); ?> <div class="annual_report"> <h3><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3> <p><?php the_excerpt() ?><br clear="all"/></p> </div> <?php endwhile; } add_shortcode('annualreport', 'AnnualReportShortcode'); ?>