• Resolved villarroel

    (@villarroel)


    Hi,

    I’m using your Path theme and am very happy with it.

    I’ve started using the TurboCSV plugin to upload pages in bulk. It works well and detects most of the page elements that I need to populate. However, it doesn’t detect the Layout section (the bit that defines where the sidebar goes “Two Columns, Left” etc). The developer for TurboCSV says that I would need to contact you to ask what the name of this custom meta box is (so it can be mapped). Does any of this make sense?

    Thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Sami Keijonen

    (@samikeijonen)

    Hi.

    It’s id is theme-layouts-post-meta-box. Let me know if that’s not what you need.

    But then again, I think you get default layout when importing pages anyway.

    Thread Starter villarroel

    (@villarroel)

    Hi Sami,

    Thank you for your quick reply!

    However, I think I did ask for the wrong thing. Apologies :-s Here is what the developer of the plugin says:

    “What you need to know is where the selected layout value is saved.

    The value is probably saved in either a custom field or a taxonomy. You’ll need to know the custom field name, or the taxonomy name and allowed term values.”

    Does that make sense to you?

    Many thanks

    Theme Author Sami Keijonen

    (@samikeijonen)

    It’s not that simple and Path is about to have important update how global layout is gonna work. I’ve removed global layout from theme settings and now it comes only from WP customize. Name is theme_layout. Basically you can find all the info in here.

    https://github.com/justintadlock/hybrid-core/blob/master/extensions/theme-layouts.php

    You can naturally overwrite that global layout in every post/page. But I still don’t understand where you need that info.

    Thread Starter villarroel

    (@villarroel)

    Thank you for your help!

    We’ve got it working now, which is great.

    For anyone else that needs to know, the values are:

    ‘default’ => __( ‘Default’, ‘theme-layouts’ ),
    ‘1c’ => __( ‘One Column’, ‘theme-layouts’ ),
    ‘2c-l’ => __( ‘Two Columns, Left’, ‘theme-layouts’ ),
    ‘2c-r’ => __( ‘Two Columns, Right’, ‘theme-layouts’ ),
    ‘3c-l’ => __( ‘Three Columns, Left’, ‘theme-layouts’ ),
    ‘3c-r’ => __( ‘Three Columns, Right’, ‘theme-layouts’ ),

    Thanks!

    Theme Author Sami Keijonen

    (@samikeijonen)

    ?? Sorry, if I knew you only needed those, I would have gave it to you right a way.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘"Layout" custom meta box name’ is closed to new replies.