WordPress.org

Forums

Customizr
[resolved] Featured Image Not Working... & Want To Remove Help from Admin Bar (7 posts)

  1. laura.lee
    Member
    Posted 11 months ago #

    Hello... I decided to try out this theme. Maybe I didn't do something right in settings.. but the featured image doesn't appear on my pages/posts. I have checked yes on everything under images.

    Also, I do not want that green help button there on the admin bar. I want that removed permanently. I use a plugin to hide admin bar all the time... and that help bar shows up anyway. (Even when I toggle to see the admin bar... I still want it removed... don't want to see it.) How do I remove it?

    Thanks!

    Laura Lee

  2. d4z_c0nf
    Member
    Posted 11 months ago #

    I think you found one of the solutions to remove the help button, there's also a solution to remove it with php, but needs a child-theme and don't know if you want to have it since in another topic you said you don't want to read something to learn how to do things (or maybe was just that thing.)

    About featured images in pages and post.. yes they doesn't appear by default, also here there is a solution, but requires a child theme and so on.

  3. laura.lee
    Member
    Posted 11 months ago #

    Hi d4z_c0nf,

    I know how to do a child theme... and how to "clip and paste" code into a child theme. I just don't want to learn past that. Guess I'm an old dog who doesn't want to learn new tricks. LOL I really don't want to engage myself to learn beyond basic simple thing like I am a user of WordPress... not a code hobbyist. :)

    Thanks!

  4. d4z_c0nf
    Member
    Posted 11 months ago #

    :)
    Ok but didn't get if you solved the "Help" issue.
    To show the featured image in posts and page, add this to your child-theme functions.php:

    add_action('__before_content','show_featured_image');
    function show_featured_image(){
        if (! ( is_singular() && has_post_thumbnail() ) )
            return;
    
        /*
         * set this to false to use the original image size
         * (note: it's resized according to its container width)
         * change this to true to use customizr thumbnail size
         * by default 270x250 px
         */
        $use_tc_thumb = false;
    
        /*
         * chose a wordpress thumbnail size:
         * 'thumbnail', 'medium', 'large', 'full'
         */
        $alternative = 'full'; 
    
        $thumb_size = ($use_tc_thumb) ? 'tc-thumb': $alternative;
        ?>
        <div class="post-thumbnail">
            <?php the_post_thumbnail($thumb_size); ?>
        </div>
        <?php
    }

    Hope this helps.

  5. laura.lee
    Member
    Posted 11 months ago #

    Thank you so much... that is so kind of you.

    Do you know what I did? I changed to a different theme.

    I appreciate this Customizr theme and liked things about it... but I tried another theme. And here you did this for me so kindly. Do you work for this company that makes this theme? That was so nice of you... I looked to see if your member name linked to a website where I could buy you a cup of coffee. Please give me a link if you have a donate button somewhere. If you own this company... I'll consider switching back to this theme... or just buy you a cup of coffee. :)

    Bless you.

  6. d4z_c0nf
    Member
    Posted 11 months ago #

    Hey Laura, thanks for your kind words.
    And no I don't work for this company, this is a free theme kindly provided by nikeo, I just try to give an help. You do not have to feel in debt to me. While I helped you I learned something :)
    Can I just ask you to mark this topic as resolved?

    Cheers.

  7. laura.lee
    Member
    Posted 11 months ago #

    I am glad you learned something. It is the nature of gift giving. When someone wants to give a gift... the right thing to do is to graciously receive it. :) Giving gifts is a wonderful thing. It is more blessed to give than to receive. So, you would rob me of a blessing if you did not receive a small gift... and so I will find you again when it is time for my Christmas list :)

    Resolved.

    Laura Lee

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.