WordPress.org

Ready to get started?Download WordPress

Forums

Bushwick
[resolved] external url link not working (10 posts)

  1. adevasher
    Member
    Posted 5 months ago #

    Really like your theme

    Bushwick does not support http://epicplugins.com/external-url-link-to-featured-images/

    How do I add in the required get_featured_image thing that they recommend at http://epicplugins.com/external-url-link-to-featured-images/?

  2. Glad you like the theme!

    Bushwick only displays featured images in the custom header area, so if you define a featured image for a post the theme will display the post's featured image as the header graphic on the left side of the page, as long as the image is at least 900 px by 1600 px. Bushwick uses a custom function in custom-header.php to achieve this, and isn't something that can be easily changed to the standard get_the_post_thumbnail(); function mentioned in that plugin's documentation.

    If you absolutely need to use featured images that aren't in your Media Library, you may want to look at a different theme.

    Let me know if you have any other questions.

  3. adevasher
    Member
    Posted 4 months ago #

    Oh dear!

    Well, then is there a way to make it fetch a standard featured image if there isn't one in the post?

  4. Sure, you can upload a default header image under Appearance > Header.

  5. adevasher
    Member
    Posted 4 months ago #

    I did do that, but it only shows up on the main page, not on individual blog posts

  6. Jose Castaneda
    Member
    Posted 4 months ago #

    Part of that reason is because Buschwick handles it a little different. Pretty neat, my opinion, how it handles the header/featured image.

    What it does is run a quick check to see if it is a single post and if it is it will use the post-thumbnail if there is one. If there isn't one it won't use it as the background image.

    One way I can think of would be creating a child theme, and passing it some information. It all really depends on how comfortable you are with code. :)

    I tried this:

    add_filter( 'bushwick_custom_header_args', 'child_args' );
    function child_args(){
    	$args = array(
    		'wp_head_callback' => 'child_callback'
    		);
    	return $args;
    }
    
    function child_callback(){
    	// What will be used instead
    }

    The downside is, of course, that we don't really have access to your plugins code so I can't really say what to use inside the callback function. :)

    Hope that helps you out at least some. If not, don't hesitate to ask questions. :)

  7. I did do that, but it only shows up on the main page, not on individual blog posts

    We've actually just discovered a bug in the theme, which is preventing the default header from being displayed on single posts. I'll keep you posted here once it's fixed.

  8. The bug that was causing the custom header to not display on single posts has been fixed. We've resubmitted the theme to the WordPress.org repository, but if you'd like to download it now, you can get it from WordPress.com:

    http://theme.wordpress.com/themes/bushwick/

    Click the link that says "Download Bushwick for your self-hosted WordPress site."

  9. adevasher
    Member
    Posted 4 months ago #

    Just checking it.. thank you so much for the great support!

  10. adevasher
    Member
    Posted 4 months ago #

    Thanks, that worked great!

    Do follow our blog if you liked it!

    Cheers
    A

Reply

You must log in to post.

About this Theme

About this Topic