WordPress.org

Ready to get started?Download WordPress

Forums

How can I modify the output as below: (5 posts)

  1. ssdesign
    Member
    Posted 7 years ago #

    Hi,
    I am looking for an answer to this:

    When we have Next and Previous buttons on the page, the URL looks something like this:

    http://localhost/wordpress_2/index.php?paged=2

    Now I want to know, where shold the modification be made in the code so that I can specifically control the output of these pages that get created by '/index.php?paged=somenumber'

    I would like to customise the outfor by outputting only the content area without Header / Footer and Sidebar.

    Can this be done?

  2. moshu
    Member
    Posted 7 years ago #

    I don't think so.
    As you can read from the URI you posted... even the second or nth page is using the index.php (aka main template) to display those posts. And the template calls for the header and footer and sidebar etc.

    What is it exactly you are trying to achieve?

  3. ssdesign
    Member
    Posted 7 years ago #

    I am Ajaxing my wordpress template.

    So far so good, I have been able to Make most of the things Ajaxed except for the Paging part.

  4. ssdesign
    Member
    Posted 7 years ago #

    So when I do the paging, I want only the content part to be updated and nothing else.

    Can this be done in any other way?

  5. ssdesign
    Member
    Posted 7 years ago #

    Any suggestions from anyone on how i can try to achieve this?

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.