Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #17879
    rgidon
    Member

    How can i Add Featured Image into Post or Page .

    #17881
    rgidon
    Member

    Hi Sakin,

    The second question why I do not see the title of the post

    #17883
    rgidon
    Member

    I want hide the title only in page

    when i set :

    .entry-title,
    .entry-title a {

    display: none;
    }

    the tile hide also in post.

    #17907
    Sakin
    Keymaster

    @rgidon: You can edit or create new post or page. Then in your post editor you can upload the image then you will see option to set featured image. See this screenshot http://www.pinterest.com/pin/548594798329948788/ and details at http://en.support.wordpress.com/featured-images/#setting-a-featured-image

    If you want to hide the title only in pages then you need to add the following CSS in “Appearance => Theme Options => Custom CSS” box.
    .page .entry-header { display: none; }

    #17934
    rgidon
    Member

    Hello Sakin,

    For a Featured image i meam , how can i disply the featured image into the post when i view the post.

    Thank’s

    #17944
    Sakin
    Keymaster

    @rgidon: Featured Images cannot will not be displayed on post with Catch Box Theme. This featured image is used for Featured Post Slider and for archive pages to show Image and excerpt text. In post, you can add image in the post content itself.

    #17964
    rgidon
    Member

    Hi Sakin,
    Thanks for your desire to help
    I fixed my problem by add :

    /* Add Featured Image into the post */
    add_theme_support( ‘post-thumbnails’ );
    add_image_size( ‘single-post-thumbnail’, 100, 100 );

    to Function.php

    and i chnage one line in content-single.php

    <div class=”entry-content”>

    <!– Add Featured image into the post –>
    <?php the_post_thumbnail( ‘single-post-thumbnail’ ); ?>

    <?php the_content(); ?>
    <?php wp_link_pages( array(
    ‘before’ => ‘<div class=”page-link”><span class=”pages”>’ . __( ‘Pages:’, ‘catchbox’ ) . ‘</span>’,
    ‘after’ => ‘</div>’,
    ‘link_before’ => ‘<span>’,
    ‘link_after’ => ‘</span>’,
    ) );
    ?>

    #17982
    Sakin
    Keymaster

    @rgidon: Just a note. I hope you haven’t change the core theme file functions.php, content-single.php, style.css and so on. If you have made changes to core theme files then your changes will be reverted back to original when you update the theme. So, if you want to change these core theme files then you need to build child theme and edit there.

    #17987
    rgidon
    Member

    All my change is on my child them.

    #17989
    Sakin
    Keymaster

    @rgidon: That’s nice.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Adding Featured Image’ is closed to new replies.