Support » Theme: Radiate » Front Page Featured Section

  • Resolved digiprom

    (@digiprom)


    Hi there

    We have to pro version of this theme.

    Is there anyway of adding an external link to the featured homepage section?

    featured image + title go to an external site?

    heres the site

    http://www.stokevets.co.nz

    thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • digiprom

    (@digiprom)

    Found a fix

    Cheers

    Could you share your fix please? I have same query

    @rob4236

    Hi there,

    We created a custom field for the featured image… Added this to front-page.php

    <div class="page_text_container">
    					<?php if( get_field('url_for_featured_image') ): ?>
    				<a href="<?php the_field('url_for_featured_image'); ?>"><?php if ( has_post_thumbnail() ) { the_post_thumbnail(); } ?></a><?php endif; ?>
    					<h1 class="entry-title"><a title="<?php the_title_attribute(); ?>" href="<?php the_field('url_for_featured_image'); ?>"><?php the_title(); ?></a></h1>
    					<?php the_excerpt(); ?><a class="more-link" title="<?php the_title_attribute(); ?>" href="<?php the_permalink(); ?>"><?php _e( 'Read more','radiate' ); ?></a>
    				</div>

    Hope this helps

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Front Page Featured Section’ is closed to new replies.