Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi – 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?

    So 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.

    Thread Starter morganictrie

    (@morganictrie)

    I got it! Thanks so much for your help….I was really banging my head against the wall for a while there!

    Thread Starter morganictrie

    (@morganictrie)

    That 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?

    Thread Starter morganictrie

    (@morganictrie)

    https://pastebin.com/2PnUb1LQ

    Above 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!

    Thread Starter morganictrie

    (@morganictrie)

    I’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.

    Thread Starter morganictrie

    (@morganictrie)

    I’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');
    ?>
Viewing 7 replies - 1 through 7 (of 7 total)