Ready to get started?Download WordPress


WP Tiles
[resolved] Customising images (6 posts)

  1. Mehrene1000
    Posted 7 months ago #


    I'm afraid im a complete novice at word press so have a few issues with customising images. i currently have wp tiles on my homepage and as my site is quite text based, i would prefer to upload images and then customise links to relevant text sections on the site ( http://ink-dubai.com/our-approach ).

    appreciate some help on how to do this.

    many thanks!


  2. Mike
    Plugin Author

    Posted 6 months ago #

    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.


  3. Mehrene1000
    Posted 6 months ago #

    hi mike. please see http://www.lippincott.com/en.
    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?

  4. Mike
    Plugin Author

    Posted 6 months ago #

    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 '';


  5. Ali Reza
    Posted 6 months ago #

    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.


  6. esmi
    Forum Moderator
    Posted 6 months ago #

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


You must log in to post.

About this Plugin

About this Topic