- This topic has 4 replies, 3 voices, and was last updated 6 years, 9 months ago by Clowry.
- AuthorPosts
- May 9, 2016 at 3:31 pm #355BirdDogParticipant
He there.
I’m starting to work on this theme and use Featured Section, but one thing is annoying and not userfrindly for my visitors.And that is that you cant just click on the text in one of the 3 boxes in Featured Section, I have to move my mouse op, then the little icon shows and i can click on that.
Is it possible to do it?
May 9, 2016 at 10:44 pm #360HashKeymasterHi,
Basically the theme is designed to work as it is now which is to open the detail page clicking on the small plus icon.
If you want to make the title clickable or the whole block clickable then you will have to make edit in the code.
We can guide you if you are comfortable with the code. Or you can even ask us for paid customization which would cost you only $15
May 9, 2016 at 11:38 pm #361BirdDogParticipantMMM please guide me.
Im a little rusty in PHP but think i can manage if you guide me 🙂If It all goes bad i will pay you 🙂
May 10, 2016 at 12:07 am #362HashKeymasterOpen front-page.php file and find for the code
<div class="sq-featured-post <?php echo 'sq-featured-post'.$i; ?>"> <div class="sq-featured-icon"><i class="fa <?php echo esc_attr( $square_featured_page_icon ); ?>"></i></div> <h4><?php the_title(); ?></h4> <div class="sq-featured-excerpt"> <?php if(has_excerpt()){ echo get_the_excerpt(); }else{ echo square_excerpt( get_the_content(), 120); }?> </div> <?php if($square_enable_featured_link){ ?> <a href="<?php the_permalink(); ?>" class="sq-featured-readmore"><i class="fa fa-plus-square-o"></i></a> <?php } ?> </div>
and replace it with
<div class="sq-featured-post <?php echo 'sq-featured-post'.$i; ?>"> <a href="<?php the_permalink(); ?>"> <div class="sq-featured-icon"><i class="fa <?php echo esc_attr( $square_featured_page_icon ); ?>"></i></div> <h4><?php the_title(); ?></h4> <div class="sq-featured-excerpt"> <?php if(has_excerpt()){ echo get_the_excerpt(); }else{ echo square_excerpt( get_the_content(), 120); }?> </div> </a> <?php if($square_enable_featured_link){ ?> <a href="<?php the_permalink(); ?>" class="sq-featured-readmore"><i class="fa fa-plus-square-o"></i></a> <?php } ?> </div>
Please be careful on replacing the code else you can leave you site blank with PHP error.
September 18, 2017 at 1:28 pm #3437ClowryParticipant*BUMP*
Hi Guys,
Did this work for you in the end?
I am looking to get a link in the feature box myself – not the whole text but just one bit.
It would be great if you could let me know how this worked out – If not i’d be happy to look at the paid customisation option for $15.
Looking forward to hearing back from you.
Thanks,
Colum - AuthorPosts
- You must be logged in to reply to this topic.