Support » Theme: Customizr » Add Link to Featured Image for Front Page

  • I am using the customizr theme with a child theme (style.css and functions.php)

    I want to add a link to the featured images that are being pulled to the Featured Pages section on the front page. Each individual image needs to link to an individual page.

    No option for it, so I am assuming this is something that needs to be coded, or to add a custom field for.

    Any help out there? Hopefully a simple solution that I am just overlooking.

    Tom

    http://www.greatoralhealth.com

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter MoochCat

    (@moochcat)

    Thanks,

    I will check that as well.

    I don’t use the plug-in, its deactivated and could be deleted.

    I will have to figure out how to add that code to the responsive or media all aspect of it. There is not supposed to be any zoom effect at all, just a resize.

    Tom

    Since you paid for the plugin, I personally would hang on to it, even if you are not using it right now…never know what you will want to do in the future…

    I tried an @media all query and it did not work for me…

    Thread Starter MoochCat

    (@moochcat)

    Thanks, for the moment it suffices.

    There is a zoom as it shrinks but at least it does not go to the round effect, it stays a square. I shrank it way down and the zoom aspect was acceptable.

    I have bigger issues and deadlines on the site so will let this one rest till down the line, I am just glad to have the little “portholes” gone!

    Tom

    Thread Starter MoochCat

    (@moochcat)

    PS

    I am happy to pay for the plug-in even though I am not using it. In this case I am using the theme for a paying customer and I am happy to support the developer… so I bought both his theme plug-ins!

    Tom

    Okay…if you are happy, I am happy… 🙂

    If you are satisfied concerning this topic, could you mark it as resolved?

    Thanks.

    Ι’m trying to add external urls to posts’ featured images (not the featured pages). I’ve done some research, I’ve added a custom field named ‘external_url’ and this code

    <?php $name = get_post_meta($post->ID, 'ExternalUrl', true);
    if( $name ) { ?>
    <a href="<?php echo $name; ?>"><?php the_post_thumbnail(); ?></a>
    <?php } else {
    the_post_thumbnail();
    } ?>

    but I don’t know where to put it in order to work. I’ve read here ->https://wordpress.org/support/topic/how-to-add-an-external-url-to-a-featured-image?replies=25
    that it goes to page.php but there’s no such file and this topic is closed. Can anyone please help me with this?

    @marilena6, as per the forum welcome, please open your own thread and include a link to your site.

    Anyway, I answered you here. It is considered impolite to keep bumping the same question.

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Add Link to Featured Image for Front Page’ is closed to new replies.