This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Default image for Widget Circle Icon

Resolved 5 replies premiumthemetheme-vantage
11 years ago · Last reply by Andrew Misplon 11 years ago

Hai. I’m using the premium version of the Vantage theme which works very well.

One question at the moment:
When displaying an archive list in Circle Icon view, the icon is filled with the featured image (thumbnail) defined for the post.

Would it be possible to define somewhere a default image for those posts that do not have such an image?

It would be even better when I could define a different default image per category.

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

5
  1. Andrew Misplon Staff 11 years, 14 days ago

    Hi DeBAAT

    Thanks for your support.

    I’m afraid this isn’t possible within Vantage. I haven’t ever used a theme that offers this, but that doesn’t mean it’s not possible. You could perhaps look towards a plugin for this task:

    https://wordpress.org/plugins/search.php?q=default+featured+image

  2. DeBAAT 11 years, 14 days ago

    Hai Andrew,
    Thanks for this quick reply.

    However, I think I wasn’t clear on what I meant.
    So I took the liberty to add this functionality myself.
    Do you have a means for me to send you some files?

    My solution is based on the following snippit replacing line 15 of file ‘loops/loop-circleicon.php’:

    $image = wp_get_attachment_image_src( get_post_thumbnail_id() );
    // Added default_icon_image by DeBAAT
    if (empty($image[0])) {
    	$icon_image = siteorigin_setting( 'blog_default_icon_image' );
    	if ($icon_image) {
    		$image = wp_get_attachment_image_src( $icon_image );
    	}
    }

    The other code is only meant to support the (premium) setting for ‘blog_default_icon_image’ .
    So maybe you can implement it yourself in the next release?

  3. Andrew Misplon Staff 11 years, 13 days ago

    Super, really glad to see you made progress here. Sure, send away: [email protected]

  4. DeBAAT 11 years, 11 days ago

    Did you receive the extensions I send?
    Hope to see them in the next release ;-)

  5. Andrew Misplon Staff 11 years, 11 days ago

    Thanks again for your effort. I’ll be sure to pass it onto the guys.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread