• Resolved bogdanmihaila

    (@bogdanmihaila)


    Hello! I have one question…

    How can I make sure that the plugin imports the posts in the exact order in which I put them in the xml file?

    Thank you very much

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thank you for reaching out! In our importer, the values are imported row by row, maintaining the order as they appear in the XML file. However, please note that the creation of IDs might not be sequential, especially when related media files are imported along with posts. This is because the IDs are assigned during the import process and may not follow a strict sequential order.

    If you have any specific requirements or concerns about the import order, please feel free to share more details, and we’ll do our best to assist you.

    Thread Starter bogdanmihaila

    (@bogdanmihaila)

    my xml file is similar to the one below:

    <posts>
    <post>
    <title>January 15th - post title</title>
    <content>
    post content
    </content>
    </post>
    <post>
    <title>January 16th - post title</title>
    <content>
    post content
    </content>
    </post>
    <post>
    <title>January 17th - post title</title>
    <content>
    post content
    </content>
    </post>
    </posts>

    I want that the January 15th post to be added first, then 16th, then 17th.

    My website page needs to display the posts in that order.

    If I add an ID tag will the plugin take it into account?

    smackdevsupport

    (@smackmarketing)

    You can arrange the post dates in chronological order inside your CSV file before importing. Also, after importing, you can change the post order in ascending order by modifying your theme’s functions.php file.

    This way, your website will display the posts in the exact order you’ve specified in the XML file.

    Hope this helps! Feel free to ask if you have any more questions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Import posts in a certain order’ is closed to new replies.