• Hi, i want the feature image to show, I already edited the post-loop-template, and upload it. I refresh and no changes.

    This is what i did, I also want the image to wrap around the text.
    once i upload i don’t see any changes in the plugin edit page.
    I dont have almost no knowledge about css, or other im learning as I go. So be patient.

    Thanks

    <!-- NOTE: If you need to make changes to this file, copy it to your current theme's main
    	directory so your changes won't be overwritten when the plugin is upgraded. -->
    
    <!-- Start of Post Wrap -->
    <div class="post hentry ivycat-post">
    	<!-- This is the output of the post TITLE -->
    	<h2 class="entry-title"><a>"><?php the_title(); ?></a></h2>
    
    	<!-- This is the output of the EXCERPT -->
    	<div class="entry-summary">
    		<?php the_excerpt(); ?>text around <?php the_post_thumbnail( 'hotleft' ); ?> ?
    	</div>
    
    	<!-- This will output of the featured image thumbnail  -->
    	<div class="featured-image">
    		<?php the_post_thumbnail( 'thumbnail' ); ?>
    	</div>
    
    	<!-- This is the output of the META information -->
    	<div class="entry-utility">
    		<?php if ( count( get_the_category() ) ) : ?>
    			<span class="cat-links">
    				<?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?>
    			</span>
    			<span class="meta-sep">|</span>
    		<?php endif; ?>
    		<?php
    			$tags_list = get_the_tag_list( '', ', ' );
    			if ( $tags_list ):
    		?>
    			<span class="tag-links">
    				<?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
    			</span>
    			<span class="meta-sep">|</span>
    		<?php endif; ?>
    		<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
    		<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
    	</div>
    </div>
    <!-- // End of Post Wrap -->
Viewing 14 replies - 1 through 14 (of 14 total)
  • What WordPress theme are you using?

    You’ll have to edit some of your theme’s files and “include” this file using get_template_part.

    Mention your theme for exact instructions.

    what file of what plugin are you editing?

    @alchymyth The plugin being used is Posts in Page. This plugin contains a file named posts_loop_template.php

    @biancadm75 Based on the FAQ of the plugin you have to place the following shortcode in a post to get this template

    [ic_add_posts template='posts_loop_template.php']

    Thread Starter biancadm75

    (@biancadm75)

    Hi, im using IRibbon Pro, and the plug in is Post in page.

    I save the post in page file to my theme directory using Filizila and edited the post in loop file in notepad++, I uploaded the edited file to the plugin and refresh the page, and nothing happen.
    What im I doing wrong?

    http://www.chefbianca.com

    Upload the file to

    wp-content/themes/iribbonpro2

    then edit the page ID 211 and place the following shortcode

    [ic_add_posts template='posts_loop_template.php' ids='1,2,3']

    replace the ids with the posts/pages you want to show on the home page.

    Thread Starter biancadm75

    (@biancadm75)

    Ok let see if im doing things correctly.
    Im using filezila and coping the post loop file from the plugin

    wordpress/wp-content/plugins/post-in-page/post-loop-template.php

    I copy this to:
    wp-content/themes/iribbonpro2

    Then i have no idea what to do.
    Im not familiar with all this, I think this was a bad idea.
    Is there any other option to do this????

    Hi Bianca,

    So, the Posts in Page plugin does allow you to customize the output in the way you described.

    You copy the posts_loop_template.php file from the plugin’s main directory to your theme’s main directory and customize as needed.

    A few things to watch out for:

    1. Make sure the posts_loop_template.php filename isn’t changed, unless you specify it directly. For example, the plugins loop template has a title that’s separated with underscores (_), but in your last post, you put in posts-loop-template.php with dashes.
    2. If you do change the name of the template to something more meaningful to you, you’ll want to make sure that you specify it in the shortcode like Jesin mentioned above: [ic_add_posts template='posts_loop_template.php'] where posts_loop_template.php can be replaced with the filename of your custom template.

    Once you get your template to show the desired content, then it’s a matter of CSS to format the styles.

    I hope that helps.

    @biancadm75 I think the terms “shortcode” and “Page ID” confuse you, so I’ll explain things more specifically.

    After logging in to wp-admin open the following URL.

    http://www.chefbianca.com/wp-admin/post.php?post=211&action=edit

    I believe this is the page displayed on your “Front Page”

    Place the following text anywhere you’d like the posts to be displayed.

    [ic_add_posts template='posts_loop_template.php' showposts='5']

    Just out of curiosity, are you trying to move a website to WordPress?

    Thread Starter biancadm75

    (@biancadm75)

    No, I’m not. I’m using word press as my page editor.

    You should be aware that any changes you make to theme files will be erased when the theme is updated. Much better to use a child theme to avoid this situation –

    http://codex.wordpress.org/Child_Themes

    BTW, doesn’t CyberChimps provide support for their commercial themes?

    Thread Starter biancadm75

    (@biancadm75)

    Eric, I understand what you are telling me and you are correct. I did copy the file correctly just in the post is wrong.

    This is what i’m doing and nothing is happening.
    I copy the loop file from plugins to my wordpress files in my computer to be able to edit the file using notepad++, then once that file is edited I uploaded the file to the iribbon pro theme directory.

    Jesin A
    This is the page i’m working on.

    http://www.chefbianca.com/bakery/cakes/

    I’m creating various post with different categories and I want each category to be added in a certain page, which I manage to do so like you can see on the above link.
    I just want to be able to show the feature image.

    I did what you said on the top coment, and nothing is happening!!

    Thread Starter biancadm75

    (@biancadm75)

    Wpyogi, Im asking for help with a plug in that is not part of the Ciberchip theme, so i figure this is the best place to get help with it, correct me if im wrong.

    Yes, each plugin has it’s own dedicated sub-forum – in this case that is here:

    http://wordpress.org/support/plugin/posts-in-page

    Scroll to the bottom to make a new post there.

    But my advice about a child theme still stands – I’d hate for you to lose all your work when the theme is updated :)!

    Thread Starter biancadm75

    (@biancadm75)

    WPYogi, I did what you recommended, I created a Child theme for my theme and copy the files and added the code for the image.

    <!– This will output of the featured image thumbnail –>
    <div class=”featured-image”>
    <?php the_post_thumbnail( ‘thumbnail’ ); ?>

    Is working, im so exited. </div>

    Now I need to wrap the image on top left of the post and also divide the post a little they to close together. How can i do this???

    Also I will create the new post with this last problem!

    Bu the way thank you all for your patience!!!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Post in page feature image not showing’ is closed to new replies.