• Hello,

    I would like to know how to make the featured post on the homepage to have a clickable image as opposed to only a click title. Take a look at the example:

    View post on imgur.com

    So I wouldn’t want just the “Worth a Thousand Words” to be a clickable link, but also the entire image behind it.

    Also, how do I choose the specific words for the post descriptions on the homepage? Look at this example:

    View post on imgur.com

    What if I only want it to show “This post has 4 categories, part of a hierarchy that is 3 deep” but not the “Lorem ipsum…” part for the homepage?

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • @jillpan,

    1. one needs to create child theme and overwrite this function in it
    Business_elite_frontend_functions:: home_featured_post()
    2.
    overwrite
    Business_elite_frontend_functions:: content_posts()

    and change
    the_excerpt_max_charlength(250) in it

    Thread Starter jillpan

    (@jillpan)

    Hello,

    The change isn’t working when I apply it.

    I have the following code:

    	<div id="blog_home_out" >
    		<?php Business_elite_frontend_functions:: content_posts(); ?>
    	</div>

    Where should I be adding the “the_excerpt_max_charlength(250)” to?

    hi @jillpan,

    the_excerpt_max_charlength(250)
    is called from Business_elite_frontend_functions:: content_posts()

    code

    Thread Starter jillpan

    (@jillpan)

    Hello,

    I am still unsure as to what/where I am supposed to be doing/putting this. Could you please explain step-by-step in more detail as to what I need to be doing?

    Thanks

    hi ,

    Please contact webdorado using this form.
    We will create child theme for you.
    Please add the link to this post in your message.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Two questions: Clickable featured post image and choosing descriptions’ is closed to new replies.