The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WordPress meta boxes on homepage Intuition theme, inserting images?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #169096

    Hi all,

    I’m using the WordPress theme Intuition ( The main reason I chose it was for the little boxes under the header. It wasn’t until I tried to style them that I realized the boxes aren’t as customizable as they seemed. This is what they look like at the moment: (the edit option goes away when logged out)

    My header has the following code that I believe calls up the boxes:

                 <?php while($feature_posts->have_posts()): $feature_posts->the_post(); ?>
                        <?php if($feature_count % 4 == 0 && $feature_count != 0) echo '<div class="col-divide"></div>'; $feature_count++; ?>
                        <div class="column col4 <?php if($feature_count % 4 == 0) echo ' feature_right col-last'; ?>">
                            <div class="block feature">
                                <?php $icon = get_post_meta(get_the_ID(), 'page_icon', true); ?>
                                <?php if($icon != '0' && $icon != ''): ?>
                                <div class="feature-icon primary-color-bg"><?php echo $icon; ?></div>
                                <?php endif; ?>
                                <h2 class="block-title feature-title">
                                    <a href="<?php the_permalink(); ?>">
                                        <?php the_title(); ?>
                                <div class="feature-content"><?php the_excerpt(); ?><?php cpotheme_edit(); ?></div>

    It calls up the pages specified in the themes options whether they should be on the homepage or not. The title leads to the page and the text in the boxes is called up from the page as well. I tried adding an image to the page as you normally would but it doesn’t show up, only the text does.
    How would I go about inserting an image into these boxes? Perhaps there’s a way to set the featured image to be called up and put those in the boxes?
    I don’t have the site online right now but I can upload it to a temporary domain if someone can help.

    I’d really appreciate any help pointing me in the right direction.


    Edit: Woohoo! Managed to figure it out. Used a plugin called ‘advanced custom fields’ and created a url and image field for each page and inserted the code. :)

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.