-1

I'm working with Wordpress theme where i need to show my posts in a static page.There is a only one section in site where we need to add posts frequently (services) and i need to fetch these posts on services page .

I did not know how to workout with loop in a static page , if someone could help with it that would be great help

1 Answer 1

0

By static page do you mean a WP page or do you mean a HTML page within the site?

If it's the first you need a page template, if it's the latter then you need to include wp-blog-header.php into the file with php.

5
  • i mean a warderess page like we do have in nav home . about us ....
    – Sikander
    Commented Oct 11, 2015 at 11:46
  • Yep so you need the page template, add to your theme folder and add the page template header to the file and it will show in the templates dropdown for pages. Commented Oct 11, 2015 at 11:49
  • reference to any tutorial please i'm new to Wordpress .
    – Sikander
    Commented Oct 11, 2015 at 12:01
  • I linked to one in my answer - developer.wordpress.org/themes/template-files-section/… Commented Oct 11, 2015 at 12:01
  • thank you very much sir ,first query in wordpress forum and got the answer Love it ..!
    – Sikander
    Commented Oct 11, 2015 at 12:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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