Support » Plugin: WP Tiles » Customising images

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mike Martel


    Hi there! I can’t access your demo site, because it’s only visible to logged in users. Can you give some more info on what you want to achieve? One way of doing it, would be to add a featured image to each post. That will show up on the tile – the post itself does not need to contain any inline images.


    hi mike. please see
    what i’m trying to achieve is similar. the tiles on lippincotts home page contain images that are not necessarily part of a page or post.

    similarly, i would like to have images that are simply illustrative and not necessarily contained in a page/post. and would like to add custom urls to all images (whether linking them to an internal page, post, download or an external page).

    is this possible?

    Plugin Author Mike Martel


    There’s a few ways to achieve this. You can use the featured image, but then the theme may still display the image on the single post template as well.

    If you really want a separate and custom way, you can use a custom field for the image (you can use a plugin like Advanced Custom Fields for this if you want) and then filter pre_wp_tiles_image to return the correct image url, somewhat like this:

    add_filter( 'pre_wp_tiles_image', 'my_tiles_first_image_function', 10, 2 );
    function my_tiles_first_image_function( $src, $post ) {
        $tile_image_size = apply_filters( 'wp-tiles-image-size', 'post-thumbnail', $post );
        $image_id = get_post_meta( $post->ID, 'tile_image', true );
        if( $image_id ) {
            $src = wp_get_attachment_image_src( $image_id, $tile_image_size );
            return $src[0];
        return '';


    Hi mike!

    I have a problem i dont know how i can remove the byline background. i want there just text not without the byline background that is black.


    @ali Reza: If you require assistance then, as per the Forum Welcome, please post your own topic.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Customising images’ is closed to new replies.