• Hi,
    I am trying to insert a div after every 5 posts have been looped through J Query. In simple words I want to insert a new line after every 5 posts have been printed.
    I am using this code:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Here is the screenshot of my page.Please Note that I am using a list to display the entries and I have applied CSS on
    li to make items appear in straight line that’s why first 5 items appear straight.
    https://img35.imageshack.us/img35/6221/wpproblem.jpg

  • The topic ‘Unable to insert newline in wp_query please help’ is closed to new replies.