Is it possible to make a wordpress page have posts and static content on it? Like have the latest posts but also have some content from the page on it too?
look here: http://codex.wordpress.org/Creating_a_Static_Front_Page
and here : http://wordpress.org/support/topic/387710
But seriously, I just google'd for "wordpress static content posts".
Yes, it's definitely possible. You need to create a custom page template, however, so that you can edit the page content and also pull in the posts. (You can make them posts in just one category, if you want, and use some other tricks to hide those posts from the main blog page.)
See http://www.smashingmagazine.com/2009/07/02/power-tips-for-wordpress-template-developers/ for details.
Related
I have a problem.
I need to make a WordPress site.
And I want in the page "News" the recent posts.
But I have a Home page and it needs to look exactly like the News page.
But is it true that I can only make one recent posts page?
Thank you in advance
No, you can have as many "recent posts" pages as you want.
You'll need to create a custom page template, and use something like WP_Query() or wp_get_recent_posts() to query the database for the most recent posts.
I currently have About and Contact section. Now I would like to add News section but is it possible to add posts directly there without it showing on your blog's front page? Thank you! ^_^
You can create custom pages which are effectively a single post and add as much content to them as you want and keep adding/editing content as you go.
The other alternative is to tag posts with 'news' and then link to those posts via the navigation.
So
http://your.tumblr.com/tagged/news
However you cannot hide these posts from your main blog without using a pretty big hack.
I have recently started working with Wordpress, and I use the HTML Snippets plug-in to fill in the contents of each page. This works well until I hit the blog page. My blog page does not take anything from the page editor, so I can neither paste code snippets nor write anything in the WP page editor field. It only responds to posts. As a result, I am unable to add anything static to my blog page. Also, editing the template post_list file also leads to damaging the template.
How do I go about adding static elements to my blog page?
Essentially it sounds like you're wanting to add a page template to your theme, which you can then assign as your 'Posts' page through the Wordpress admin.
The question itself is rather too broad to answer without an attempt at coding it yourself, but you can read more about it on the codex: http://codex.wordpress.org/Page_Templates#Creating_a_Page_Template
What file do I need to edit in wordpress to change the bottom of every blog post?
So if I wanted to add social media buttons to the bottom of each of these blog posts.
http://angeloesposito.com/view/blog/
Thank you,
Art
You can use plugin to do that just search for "wordpress social buttons plugin" in google or you will have to edit more than one file to change the desing of the posts and will have to go to every social network so i guess is better to use a plugin :)
Actually - single.php is the page that renders blog posts. loop.php will be template specific, and wont appear in all templates and Evan's answer doesn't technically answer what you asked.
So anyone searching - single.php in your template folder is the file that renders your single blog post page. to add something after the blog post add it directly after the_content()
Some posts will reference loop.php (including the default template) - in there you'll find the_content()
loop.php I think is what you're looking for
I am building a theme that has a lot of custom templates, like every page. Ridiculous, but for some reason the template I made for the "postings" page is not getting the posts? I have set the post page in reading preferences, and I have set the page to use my template, but it still publishes posts to a default template. Of all the customization I built into this I did not expect the blog part to give me trouble! lol Anyone run into this kind of thing?
Thank you.
The way I usually to it is to have standard setting in reading preferences.
Build my front-page in index.php
Build a template for blog posts
Add a page and assign the blog post template
Of course you then have a kind of placeholder page sitting amongst the other pages, don't really like that. But it works.