The theme file you’re looking for could be called single.php or content-single.php – or something else, depending on your theme. Which are you using?
I made my own theme and it contains a single.php file.
I want to add dome extra text in the end of the post that only shows as single post. How can I do that? Im very greatful for all help I can get.
Edit single.php to put the text wherever you want it to go. It will then appear in every single post.
Thank you, but that’s not what Im looking for.
I would like to add some extra sentenses (and links) to some posts. The additions are not the same for all posts. Excerpts dont work, since the posts are of different length. Placing it in the single.php will not work since then it will be the same addtion to all single posts.
Is there a way to hide a part of a single post?
Thanks for explaining better what you’re trying to do. Perhaps Custom Fields would work. There are also plug-ins to help manage custom fields, such as:
http://ww.wp.xz.cn/extend/plugins/advanced-custom-fields/
http://ww.wp.xz.cn/extend/plugins/custom-field-template/
Once you add the fields to your posts, you then edit your single.php template have it display the custom fields.
Thank you!
Custom fields is the answer. Now I just have to make them do as I want…