venomshot629
Member
Posted 1 year ago #
Hello,
I want to show a static page on the front page of my site,
but I also want to have a link to my posts, where if you click
it it will show them without saying "posts from x category" at the top.
and i still want to be able to control how many posts show on that page.
Is that possible, or do I have to have them on the front page?
My site is http://www.verysmartdesign.com
Yes it is very possible, the question is....how much do you know about coding?
Do you just need a direction to be pointed in do you need the procedure explained to you?
venomshot629
Member
Posted 1 year ago #
Could you point me in the direction? I know HTML and CSS. If I cant figure it out I'll ask for further explanation. :-)
Ok well if you only know HTML/CSS than you are going to need an explanation since to do what you want you need to know some PHP.
To get started you can visit the Codex page for The Loop http://codex.wordpress.org/The_Loop as that explains how WordPress displays posts.
Essentially you would create a loop of your posts in a page template, upload that into WordPress, create a page in the WP dashboard and then set that pages template to the one you uploaded.
venomshot629
Member
Posted 1 year ago #
I created and uploaded the template, but it is not showing up, I uploaded it into my theme's folder, how do i get it to show up as a choice for the page template?
use query_posts() or WP_Query() function to add a post link. SEE THE WP CODEX.
Do you have
<?php
/*
Template Name: <template name goes here>
*/
?>
located at the top of the custom template file you uploaded into the theme folder?
venomshot629
Member
Posted 1 year ago #
I got it, thank you for your help.