Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am creating a wp theme & I stuck at one point.

I have recent post listing on my home page of theme which have See All link which redirect user to the page which list all the recent posts except news category.

enter image description here

So my question is what will be the link of See All on my home page ? can we create a new page at time of applying theme & link to it or there is any better option ?

Any help will be appreciate.

share|improve this question

1 Answer 1

This depends on what exactly theme is for - your own site? Sites? Public release?

There isn't really simple and clean way to package functionally unique page with theme to appear at specific custom URL. The path of least resistance tends to be to include page template with theme and instruct users to create a page and assign that template to it to achieve functionality.

Most of other solutions are either unreasonably complex (and as such tend to be considered plugin territory) or might rub users wrong way (such as automatically adding pages they didn't ask for to their site).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.