If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
September 23, 2011 at 11:55 pm #6031
Hello there, we have 2 big problem and need fix for that
1. Where is Single.php?
I want to edit my single post php file but i dont see the file on the theme folder.
I edited loop-index.php but the change is always showwing my homepage.
Here is home page : http://tutspress.com/ (i dont want change here)
2. How can i use one image fixed on the portfolio page?
So, I want to create a portfolio page for example : http://tutspress.com/directory/ but my first item thumbnail not fix like Brightbox demo. How can i fixed the thumbnail on the portfolio page?
I want add 635×200 and seeing portfolio page the image fixed 300×170 .Is it possible to like your demo?
Thanks for help.September 25, 2011 at 6:56 am #52652
1) To make this happen you can change the following in single.php
get_template_part( 'includes/loop', 'index' );
change ‘index’ to whatever you prefer. Now duplicate loop-index.php and name it loop-WHATEVER YOU CHANGED INDEX TO.php, you can then edit this file to only effect your single posts.
2) I’m uncertain what you’re trying to do, can you elaborate please? Image sizes can be adjusted in the functions.php file.September 25, 2011 at 5:48 pm #52653
My 1. question fixed thanks for this. But 2. problem is already. So, the image size 620 px × 200 px on the http://tutspress.com/directory/ how can i fixed the size 635 px × 205 px?
I have trying function.php – style.css (custom) and wp-admin/options-media.php Thumbnail size, but this is nothing fixed 635×205. Can u help me for this?September 26, 2011 at 5:58 am #52654
First modify functions.php (change the thumbnail size) and use this plugin afterwards: http://wordpress.org/extend/plugins/regenerate-thumbnails/ to regenerate the thumbnails. Otherwise your changes won’t have any effects.
The topic ‘Where is single.php?’ is closed to new replies.