Market Press

  • asmodyus

    #2013

    Posted in another post first but have not yet got a response wondering about a Fix for the Mark Press Plugin with the Graphene theme.

    I am currently using the Graphene them and I getting this error: You must supply the post ID to get the image from as an argument when calling the graphene_get_post_image() function.

    So in aanother post that some made a templete fix or something wondering how I can get it.

    Website is http://www.techniprints.com

    Admin

    Syahir Hakim

    #18186

    Hi,

    You might want to contact the site owner himself, and ask for the child theme: http://johnsframingservice.co.uk/contact-us/contact-us-form/

    asmodyus

    #18187

    Oh I see so he has the only copy of the child theme that you made for the fix.

    asmodyus

    #18188

    Okay I have emailed the site owner twice and they have not got back to me I would really like to use this theme with my Shopping plugin. So I want to know what to do now, what other options or avaible to me beside not using this theme? I would like to get my store running and I love your theme but at the moment they do not work togather. So any help would be awsome.

    asmodyus

    #18189

    Contacted the site owner he does not now much beside that you fixed it. He does not know what he need to give me.

    Mod

    Kenneth John Odle

    #18190

    Just use “View Source” from your browser to see his code, then look for style.css or something similar. That will contain the styling information you are looking for.

    asmodyus

    #18191

    Okay not sure on exactly what I am looking for or what the fix was. Was is it a simple CSS fix.

    Okay I looking would it be this?

    <link rel=’stylesheet’ id=’graphene-stylesheet-css’ href=’http://johnsframingservice.co.uk/wp-content/themes/graphene-child/style.css?ver=3.2.1′ type=’text/css’ media=’screen’ />

    Admin

    Syahir Hakim

    #18192

    It’s actually more than just CSS fix. Let me see if I can get the files…

    Admin

    Syahir Hakim

    #18193

    Ok, create two files in your child theme and insert the following codes:

    File 1: page.php

    <?php
    /**
    * The Template for displaying all single pages.
    */

    get_header(); ?>

    <?php
    /* Run the loop to output the pages.
    */
    if ( class_exists( 'MarketPress' ) && is_page( 0 ) )
    get_template_part('loop', 'marketpress');
    else
    get_template_part('loop', 'page');
    ?>

    <?php get_footer(); ?>

    File 2: loop-marketpress.php

    <?php the_post(); ?>
    <div id="post-<?php the_ID(); ?>" class="clearfix post page">

    <div class="entry clearfix">

    <?php /* Post title */
    $tag = (is_singular() && !is_front_page()) ? 'h1' : 'h2';
    echo '<'.$tag.' class="post-title entry-title">';
    ?>
    <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(esc_attr__('Permalink to %s', 'graphene'), the_title_attribute('echo=0')); ?>"><?php if (get_the_title() == '') {_e('(No title)','graphene');} else {the_title();} ?></a>
    <?php do_action('graphene_post_title'); ?>
    <?php echo '</'.$tag.'>'; ?>

    <?php /* Post content */ ?>
    <div class="entry-content clearfix">

    <?php /* The full content */ ?>
    <?php the_content('<span class="block-button">'.__('Read the rest of this entry &raquo;','graphene').'</span>'); ?>

    <?php wp_link_pages(array('before' => __('<div class="link-pages"><p><strong>Pages:</strong> ','graphene'), 'after' => '</p></div>', 'next_or_number' => 'number')); ?>

    </div>
    </div>
    </div>

    <?php /* Get the comments template for single post pages */ ?>
    <?php if (is_single() || is_page()) {comments_template();} ?>

    <?php do_action( 'graphene_loop_footer' ); ?>

    asmodyus

    #18194

    Thank you so much that fixed it.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!