Importing old blog pages

  • Unknown's avatar

    I switched themes and want to import my blogs from my old theme to a specific page. I was able to figure out how to get my blogs on the page I want, but not in the grid layout. Every time I add my old blogs to a page then go to page attributes there is not an option to change the page template.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi,

    I was able to figure out how to get my blogs on the page I want, but not in the grid layout.

    What page are they on? Posts will display on the posts page (aka blog page) and on archives pages such as your June 2015 archives page or the “Travel Blog” category archives page, but they won’t display on static pages unless you insert something into the content of the page such as Display Posts Shortcode.

    Every time I add my old blogs to a page then go to page attributes there is not an option to change the page template.

    On themes such as Sela that have optional page templates, the page templates are only available on static pages. When you have a static front page and another page assigned as the posts page or the blog page (the page on which the latest posts appear), the page assigned as the posts page is transformed from a static page to a dynamic page, and consequently will no longer have optional page templates.

  • Unknown's avatar

    okay thanks that clears some stuff up! I want to keep some of my pages as static so I can keep the grid layout. Would I be able to insert these two blogs into my static travel blog page? If so, how? I looked at the display posts shortcode page, but couldn’t figure it out.

  • Unknown's avatar

    The code
    [display-posts]
    inserted into the HTML editor of a static page will display the most recent posts, up to 100, in reverse-chronological order.

    The Arguments section of the Display Posts Shortcode support page lists the “arguments” that may be included in the code in order to customize it in various ways. If you plan to publish additional posts, then you could use the “post ID” argument to display only those two posts with the shortcode. The example in the support page is
    [display-posts id="9, 10"]

    Another way to display only those two posts on a page (after publishing additional posts) would be to assign a category to each of them and then display them on a category page. Your Travel Blog category page already displays one of the two posts. To display the other June 2015 post on that category page just add the “Travel Blog” category to the post. You may include a links to category pages in a custom menu. See the Category Pages and Custom Menus support pages.

  • Unknown's avatar

    Correction:
    Change “include a links” to “include links.”

  • The topic ‘Importing old blog pages’ is closed to new replies.