• Resolved Danny

    (@dannyfoo)


    I’m trying to create a new template based on the Boxes template. This is what I’m trying to achieve. https://i70.photobucket.com/albums/i115/dannyfoo/Ru3080ckblicke%7CKL-POST2013-06-2618-32-41_zpsf8b06486.png

    I’ve gotten up to this point so far..

    <?php
    $readable .=  '<div id="ruckblicke" class="magazine">';	
    
    	//  don't mess with this php code
    	foreach($myarray as $items) {
    
    	if ($pag!==1){
    		$total = $total +1;
    		if ($maxperPage>0 && $total>=$maxperPage) break;
    	}
    
    	$idnum=$idnum +1;
    	//  END don't mess with this php code 
    
        $readable .= '<div class="block">';
    
        $readable .= ' <p>'.showexcerpt($items["myimage"],$adjustImageSize).'</p>';
        $readable .= ' <h2 class="title"><a '.$openWindow.' href='.$items["mylink"].' '.($noFollow==1 ? 'rel=nofollow':'').'>'.$items["mytitle"].'</a></h2>';
    	$readable .= ' <p class="date">'.date_i18n("F d, Y",$items["mystrdate"]).'</p>';
        $readable .= ' <p>'.showexcerpt($items["mydesc"],25,$openWindow,$items["mylink"]).'</p>';
    
        $readable .= ' </div>';
    
    }  	//  don't mess with this php code
    
    $readable .=  '</div>';
    
    ?>

    But the image keeps loading only above the description.

    How do I get it to load above the title ?

    https://www.ads-software.com/extend/plugins/wp-rss-multi-importer/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Allen

    (@amweiss98)

    You have to edit the excerpt_functions.php file for anything related to the image and description.

    Thread Starter Danny

    (@dannyfoo)

    Thanks for replying Allen. ??

    And may I know if I updated the plugin, will I have to edit the excerpt_functions.php again later ?

    Plugin Author Allen

    (@amweiss98)

    Yes. Just save the edited part because you’ve changed the core of the plugin.

    Thread Starter Danny

    (@dannyfoo)

    Okay. Thank you very much for your help. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom template’ is closed to new replies.