Support » Plugin: WP/LR Sync (Lightroom Sync) » Make Basic Posts extension create pages, not posts?

  • Resolved ellimerino


    I tried the basic posts extension, and it works very well. However, it creates dated blog posts for each folder on the LR side, which then show up in the blog archive as if they were blog posts on a specific date. Could you create an option to make them Pages instead? That way they can always be in the same place, at the same slug location, and the date no longer matters.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jordy Meow



    Those extensions are made to be built upon, there are so many options I could add to this 🙂 I receive new ideas almost every day. Generally, people want to have them in a custom post type (like a specific post type created by specific a specific theme).

    In your case, it’s quite simple. You can copy paste the Basic Posts extension file to a Basic Pages extension file. This file can go into a “my-plugin” folder of your plugins folder and you can put this file directly. It should be recognized as a standalone plugin (and it will work with WP/LR Sync). You should also remove the little hyphen in the first paragraph, for example this:

    - Plugin Name: Basic Posts

    should be

    Plugin Name: Basic Posts

    Then in this file, the only thing you need to chance in this line :

    'post_type' => 'post'

    to this :

    'post_type' => 'page'

    Then you can really customize everything from there. It’s better to have a developer around, but it shouldn’t be too difficult.

    Thank you for the fast response — and that is an excellent solution.

    Plugin Author Jordy Meow


    I am glad I could help 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Make Basic Posts extension create pages, not posts?’ is closed to new replies.