Jacek Placek
asked 9 years ago

I have few images in one post. Is there any chance to have one image on front page and see other after click on selected post? Right now my one post is on long as.. Hm. Please help.

2 Answers
answered 9 years ago

Unfortunately, our theme does not support to have one image on front page and see other after click on selected post.

Jacek Placek
replied 9 years ago

Is there any chance to edit site code to use it this way? I know this site was designed this way but now I’ve got a bit chaos, I can’t use only one image to compare with one post.

replied 9 years ago

@jacek Placek : you mean it likes a gallery that contain images of your post appear at front-end, then when you click at that , you can see all images in your post like pictures gallary ? i’m a bit confuse :), can you explain more clearly?

replied 9 years ago

Sorry, my english is not very well 😉 On main site you see main picture + text as a single post. After click on image or whatever you open full article with more pictures in it and more explanations.

answered 9 years ago

Hi Jacek, this is my solution to resolve your problem :simple_smile:, there will be more ways to do this but i think this will be the shortest way . Please follow this instruction :

Phase 1: You go to Post , and then Enable the Custom Field of wordpress like this picture

![1](http://i.imgur.com/UKScg72.png?1 "1")

Phase 2:And then you add your image Link to the Custom Field Like this ( You can upload the image to media and use That link ). Please remember the "Name" of custom field to use it in code :

![2](http://i.imgur.com/nAPlg4T.png?1 "2")

Phase 3:After That, you go to dw-timeline/templates/content.single.php after Line 8 , you use the function get_post_meta to call the value of custom field you save in phase 2 like this :

![3](http://i.imgur.com/cKjgncp.png?1 "3")

Now after all that work, the page can be like this:

_Main Page :

![4](http://i.imgur.com/PHkzkDJ.png?1 "4")

_Post Page :

![5](http://i.imgur.com/lMOjHjB.png?1 "5")

That will help you to have as many picture as you want that don’t relate to you main page.
How ever, the picture in post page will have the Size of it original upload file, so you should use some CSS to custom the Picture in your post. Glad

Powered by DW Question & Answer Pro