Support » Theme: Graphy » How to modify the page associated to a Media ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Takao Utsumi

    (@utsumit)

    In that case, you need to create a attachment template file.

    Please copy single.php and rename it to attachment.php. Then, please modify the file.

    For more information, please refer the following page.
    https://premium.wpmudev.org/blog/advanced-attachment-page/

    Hi Takao,

    Thank you for your answer.

    single.php calls content-single.php via the get_template_part function.

    So, in content-single.php, i tried to replace the_post_thumbnail() by the_post_thumbnail( ‘graphy-post-thumbnail-large’ ), but it doesn’t modify anything…

    In content.php, I did the same, but nothing happens…

    Perhaps is the argument ‘graphy-post-thumbnail-large’ wrong, or am I totally wrong ?

    Thank you for your help again.

    Yesterday, I finished to translate this theme into french, I hope it will be updated soon.

    Best regards,

    Pierre.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to modify the page associated to a Media ?’ is closed to new replies.