• Alright i’m trying to get some ”next picture” previous picture” buttons on my website. ( http://www.memesquebecois.com )When i try to change picture it goes to a half loaded page (see by yourself, just go on my website and click the arrows)

    Here is the code:

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <H1><?php the_title(); ?></H1>
    <div class="clear"></div>
    <div class="buttons">
    
    <?php previous_post_link_custom('%link', 'Previous Pic') ?>
    <?php next_post_link_custom('%link', 'Next Pic') ?>
    </div>
    <div class="pic rounded-8">
    
    <!--post title as a link-->
    <div id="post-<?php the_ID(); ?>" class="thumbnail" >
    <?php $feature_img = portfolio_get_post_image( $post->ID, 'Thumbnail', '', '' ); ?>
    <img src="<?php echo $feature_img; ?>" alt="<?php the_title(); ?>" />
    </div>

    [please mark any posted code – http://codex.wordpress.org/Forum_Welcome#Posting_Code ]

    where is the problem ?!

Viewing 1 replies (of 1 total)
  • this error mesage is within th html code of the ‘half loaded page’:

    <b>Fatal error</b>: Call to undefined function dd_fblike_generate() in <b>/home/memesque/public_html/wp-content/themes/damnlol/single.php</b> on line <b>14</b><br />

    do you possibly have a missing, deactivatged, or broken plugin ?

    check single.php for the code dd_fblike_generate(), and if you don’t have the corresponding plugin, delete it.

Viewing 1 replies (of 1 total)

The topic ‘Php code help ? Can't find the problem’ is closed to new replies.