Hi, i am WP-beginner and i have quite a problem with my wordpress. If i publish an article, it displays on the main page with other articles. But I have no idea, what should I do to have only "refferences to the articles" on the main page. For example only short parts of the article with one photo.
my page is http://aarfy.own.cz
Do I need some plugin?
thank you very much for responds.
Well, you could use the excerpt, but that won't show any photos until you get into the actual article. If you're okay with that, here's how you do it:
1. Open up the index.php file from your active theme folder.
2. Look for the_content inside the loop.
3. Change it to the_excerpt.
4. Save and reupload the file.
thak you, I did it and it works, but there is another problem now. The main page is all right now (I can see only short parts of articles - that´s ok), but if I choose one article and click on it, I can still see only the short part. Not the rest of the article...is there any solution, pls?
You need m ore template files in that theme. PLease, read about the Template Hierarchy to understand how the different templates are used.
Hint: you will need a single.php template file.
i created: single.php with "content" and index.php with "excerpt" and it works perfectly. Thank you both very much.
Great - thanks moshu for that - I didn't even think to check the theme files.
Aarfy - mind marking this thread as "resolved" so others might benefit from knowing their question has a solution? Thanks for posting back that it worked for you!