Market Press

  • asmodyus


    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


    Syahir Hakim



    You might want to contact the site owner himself, and ask for the child theme:



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



    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.



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


    Kenneth John Odle


    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.



    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=’; type=’text/css’ media=’screen’ />


    Syahir Hakim


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


    Syahir Hakim


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

    File 1: page.php

    * The Template for displaying all single pages.

    get_header(); ?>

    /* Run the loop to output the pages.
    if ( class_exists( 'MarketPress' ) && is_page( 0 ) )
    get_template_part('loop', 'marketpress');
    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')); ?>


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

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



    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.
Graphene Themes Forum