Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Run Buff

    (@run-buff)

    Hi,
    Thanks, I didn’t realize there was a new version. I have updated the plugin and the script error still exists.

    Cheers,
    Ty

    Thread Starter Run Buff

    (@run-buff)

    Thanks, James.
    That removed the original issue, but it brought up another:

    Undefined index: restore_jhgrNotices in /home/tystrang/public_html/WP_1/wp-content/plugins/goodreviews/jhgrclasses.php on line 89

    So that you’re not spending time on trying to spot fix this for me, I’ll wait until the next update is available and go with that. I can use some of GoodReads basic code from their site in the meantime.

    Thanks for looking into this for me.

    Regards,
    Ty

    Thread Starter Run Buff

    (@run-buff)

    Hi James,
    I’m glad you were able to replicate it. Yes, if you don’t mind sending along some instructions for a temp fix until the next update that would be great. I am a developer by trade so I’m comfortable with coding.

    Regards,
    Ty

    Thread Starter Run Buff

    (@run-buff)

    Hi,
    After rooting around to fully understand what php was doing, I figured out how to do it.
    1. Create a custom template

    2. place this code in it
    <?php
    /*
    Template Name: Blog Page
    */

    /* This example is for a child theme of Twenty Ten:
    * You’ll need to adapt it the HTML structure of your own theme.
    */

    get_header(); ?>
    <div id=”container”>
    <div id=”content” role=”main”>
    <?php
    // Get the current month and year
    $year = get_the_date(‘Y’);
    $monthnum = get_the_date(‘n’);
    // Grab the post via the query
    query_posts( “year=$year&monthnum=$monthnum&posts_per_page=-1” );
    ?>
    <!– Output the query via the optional $name parameter (set as index) –>
    <?php get_template_part( ‘loop’, ‘index’ );?>

    </div><!– #content –>
    </div><!– #container –>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    3. Create a new Page and set the template to the name of the new one you created in step one.

    Cheers,
    Ty

Viewing 4 replies - 1 through 4 (of 4 total)