pedroooo
Forum Replies Created
Viewing 7 replies - 1 through 7 (of 7 total)
-
Forum: Themes and Templates
In reply to: GRIDLY THEME – Mix two width sizesWhere I can check that?
I’m using just that term: ‘featured-image-2’:S
I’m a little confuse with this code.
What should I do?PHPanos, thanks for the reply!
on the single.php I have this:
<div class="secondary-image"> <?php if( class_exists( 'kdMultipleFeaturedImages' ) ) { kd_mfi_the_featured_image( 'featured-image-2', 'post' ); }; ?> </div>and functions.php this:
if( class_exists( 'kdMultipleFeaturedImages' ) ) { $args = array( 'id' => 'featured-image-2', 'post_type' => 'post', // Set this to post or page 'labels' => array( 'name' => 'Featured image 2', 'set' => 'Set featured image 2', 'remove' => 'Remove featured image 2', 'use' => 'Use as featured image 2', ) ); new kdMultipleFeaturedImages( $args ); }and i try to change the single.php to this:
<?php if(class_exists('kdMultipleFeaturedImages')) { for ($i = 2; $i <= 10; $i++) { kd_mfi_the_featured_image("featured-image-{$i}", "page"); echo get_multiple_thumbnail_caption(get_post_meta(get_the_ID(), "kd_featured-image-{$i}_page_id", true)); } } ?>Hello,
I’m looking for this to. And with a lot of re-code I can’t put to work this option.
Can you please do a resume?Thanks,
Forum: Fixing WordPress
In reply to: Call pages instead pagesDone. Resolve what i ask.
But know i have another problem. i can’t put posts in a page like a page with “News”.I still want use the posts..
anyone?Forum: Fixing WordPress
In reply to: Call pages instead pagesesmi
i dont understand what i have to change in the script.
Can you light me up?
Forum: Themes and Templates
In reply to: Help with a customizationAnyone can help me?
Viewing 7 replies - 1 through 7 (of 7 total)