[Resolved] Migrating Custom Theme to Live Site

Home Forums Support [Resolved] Migrating Custom Theme to Live Site

Home Forums Support Migrating Custom Theme to Live Site

Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #2362171
    Heather

    Hi,

    I’ve made custom child theme with the Geek theme and have custom elements, custom ACF fields pro that make custom blocks in generatepress elements and I’m also using generate-blocks. We have both blocks editor and classic editor working interchangeably on a page by page basis (or post by post, etc). So far I have come to the conclusion in order to apply this theme onto my live site I need to do a number of steps.

    -Export/Import Child Theme
    -Export/Import customizer settings
    -Export/Import elements
    -Export/Import each custom built page I made with blocks

    1. I don’t know how to import/export custom built pages with generateblocks and generatepress blocks. How do we do this?

    2. I feel like that is a lot of steps and was wondering if there is some simpler way to migrate my custom theme to my live site?

    #2362202
    Fernando
    Customer Support

    Hi Heather,

    Are you Migrating from another domain? There are plugins that make this easier. One example would be All in One Migration Plugin: https://wordpress.org/plugins/all-in-one-wp-migration/. You could also try other plugins.

    If you want to export manually, you can go to Tools > Export. You should be able to export pages built with GenerateBlocks from there as well. Moreover, Elements created through GeneratePress Premium may also be exported from here.

    #2362964
    Heather

    No, not domains. Just trying to package up my entire custom theme to load on multiple different sites essentially.

    I certainly do not prefer to do it manually because that seems like alot of work. However, if thats the only way, then thats what I got.

    How would one repackage everything so that they could sell it as a custom child theme that can be installed on any website?

    #2362988
    Heather

    Also, I do not see anywhere in generate press that lets you export the elements or pages. It just says global colors and typography.

    How would you do that?

    #2363030
    Leo
    Staff
    Customer Support

    How would one repackage everything so that they could sell it as a custom child theme that can be installed on any website?

    There are likely several ways to do this so it might be worth a bit of Google search as it wouldn’t be a theme-specific issue.

    A plugin like this might be an option as well:
    https://wordpress.org/plugins/duplicator/

    Also, I do not see anywhere in generate press that lets you export the elements or pages.

    WP’s core export tool will work:
    https://wordpress.org/support/article/tools-export-screen/

    #2363169
    Heather

    Thank you very much.

    The above tool is in regards to an ENTIRE website clone. I wouldn’t sell an entire website to other developers.

    I would sell them a packaged child theme with premade layouts and stuff. So what they would download, would be premade layouts with the styling and any custom php made for generatepress (no different than library on this site).

    And this is pretty specific to each theme, because with divi theme, It has an entire theming section. so I just create the child theme, layouts and export customizer and theme options and its pretty much good to go for resell. All json files that can be imported with easy instructions.

    However, I’ve not found anyone else who repackages and sells generatepress themes.

    Does that make sense now? I just want to make sure I do this right OR I will have to be the one to create a tutorial for this to teach people how they can resell generatepress themes and figure it out on my own.

    #2363185
    Leo
    Staff
    Customer Support

    The import/export options:
    https://docs.generatepress.com/article/import-export-overview/

    And the WordPress export tool mentioned above should be all you need.

    That’s what we do for the site library imports.

    #2363229
    Heather

    Thats why I’m confused. My export/import function doesn’t look like that at all. I can’t select and see what gets exported.
    null

    #2363230
    Heather
    #2363284
    Leo
    Staff
    Customer Support

    Sorry – that article needs to be updated.

    The screenshot you are showing is up to date.

    Just use the All option.

    #2364273
    Heather

    I used the ALL option and it does not include the customizer settings at all. The only thing that seemed to bring over was the custom CSS but none of the actual settings of customizer. Which is not accurate to what your documentation says.

    I thought customizer was suppose to be one of the things that get exported? Its not included in that image I showed you. What should I do?

    #2364275
    Heather

    in part, I’m confused because it must not be accurately knowing what I’ve changing in customizer….thus showing me very few options to export than what there REALLY is available.

    #2364278
    Heather

    And 1 more question while you think of why that could be, is there an easy way to copy a page built with the builder so that I can make an element out of it so its easy to export?

    I did not know I had to make my custom landing pages in elements. So according to what you’ve said here, I have to somehow transfer the page to elements but there is no real way to do that as far as I know. Then I have to assign that single page, the landing page I created for it. Like the home page.

    So how would a person do that?

    #2364376
    Tom
    Lead Developer
    Lead Developer

    Using the “All” option shouldn’t create a JSON file with all of your Customizer settings. Is that not working? If not, what’s inside of the JSON file?

    I wouldn’t create full pages in Elements. Can you explain a bit more about what you’re wanting to do? Are you wanting to export a single page that someone can then import? If so, WordPress doesn’t have this option for some reason, but there are workarounds: https://stackoverflow.com/questions/25725793/export-a-specific-page-in-wordpress

    If I were to do what you’re trying to do, I would:

    1. Export my Customizer settings
    2. Export my Elements
    3. Export my Pages (if necessary)
    4. Package up my child theme as a .zip

    #2364519
    Heather

    Below is the code, but it only submits like 1/2 or 1/4 of the needed data.

    1. There is no export customizer option, where and how is that done?
    2. WORDPRESS > TOOLS > EXPORT > ELEMENTS ( strange, but thats the only way I know how to export that, is that correct?)
    3. See below
    4. Would be nice once I figure it out, lol.
    5. GENERATEPRESS > EXPORT > ALL (for generatepress settings)

    In divi, you can export entire layouts and library items (sorta like blocks). So when you are creating services pages for people, landing pages, contact pages, home pages layouts, etc, you have a collection of them no different than the library at generate-blocks. Except, they are just full pages. Generate blocks gives you the ability to copy and paste html, but its on a per block basis.

    Take for example your generatepress REALTOR theme. How are those custom pages imported in from the child theme?

    Thank you for your help.

    {"modules":{"Blog":"generate_package_blog","Spacing":"generate_package_spacing"},"mods":[],"options":{"generate_settings":{"blog_layout_setting":"right-sidebar","layout_setting":"right-sidebar","underline_links":"never","dynamic_css_cache":false,"font_manager":[{"fontFamily":"Helvetica","googleFont":false,"googleFontApi":1,"googleFontCategory":"","googleFontVariants":""},{"fontFamily":"Oswald","googleFont":true,"googleFontApi":1,"googleFontCategory":"sans-serif","googleFontVariants":"regular"}],"typography":[{"selector":"body","customSelector":"","fontFamily":"Helvetica","fontWeight":"","textTransform":"","fontSize":16,"fontSizeTablet":"","fontSizeMobile":"","fontSizeUnit":"px","lineHeight":"","lineHeightTablet":"","lineHeightMobile":"","lineHeightUnit":"","letterSpacing":1.1,"letterSpacingTablet":"","letterSpacingMobile":"","letterSpacingUnit":"px","marginBottomUnit":"em","module":"core","group":"base"},{"selector":"main-title","customSelector":"","fontFamily":"Oswald","fontWeight":"bold","textTransform":"","fontSize":48,"fontSizeTablet":42,"fontSizeMobile":35,"fontSizeUnit":"px","lineHeight":"","lineHeightTablet":"","lineHeightMobile":"","lineHeightUnit":"","letterSpacing":"","letterSpacingTablet":"","letterSpacingMobile":"","letterSpacingUnit":"px","marginBottom":"","marginBottomTablet":"","marginBottomMobile":"","marginBottomUnit":"","module":"core","group":"header"},{"selector":"h2","customSelector":"","fontFamily":"","fontWeight":"","textTransform":"capitalize","fontSize":25,"fontSizeTablet":"","fontSizeMobile":"","fontSizeUnit":"px","lineHeight":"","lineHeightTablet":"","lineHeightMobile":"","lineHeightUnit":"em","letterSpacing":"","letterSpacingTablet":"","letterSpacingMobile":"","letterSpacingUnit":"px","marginBottomUnit":"px","module":"core","group":"content"},{"selector":"custom","customSelector":".category-filter > li a","fontFamily":"Oswald","fontWeight":"","textTransform":"capitalize","fontSize":20,"fontSizeTablet":"","fontSizeMobile":"","fontSizeUnit":"px","lineHeight":"","lineHeightTablet":"","lineHeightMobile":"","lineHeightUnit":"","letterSpacing":"","letterSpacingTablet":"","letterSpacingMobile":"","letterSpacingUnit":"px","marginBottom":"","marginBottomTablet":"","marginBottomMobile":"","marginBottomUnit":"","module":"core","group":"other"},{"selector":"h1","customSelector":"","fontFamily":"Oswald","fontWeight":"","textTransform":"capitalize","fontSize":"","fontSizeTablet":35,"fontSizeMobile":30,"fontSizeUnit":"px","lineHeight":"","lineHeightTablet":"","lineHeightMobile":"","lineHeightUnit":"em","letterSpacing":"","letterSpacingTablet":"","letterSpacingMobile":"","letterSpacingUnit":"px","marginBottomUnit":"px","module":"core","group":"content"},{"selector":"primary-menu-items","customSelector":"","fontFamily":"inherit","fontWeight":"bold","textTransform":"","fontSize":20,"fontSizeTablet":"","fontSizeMobile":"","fontSizeUnit":"px","lineHeight":"","lineHeightTablet":"","lineHeightMobile":"","lineHeightUnit":"","letterSpacing":"","letterSpacingTablet":"","letterSpacingMobile":"","letterSpacingUnit":"px","marginBottom":"","marginBottomTablet":"","marginBottomMobile":"","marginBottomUnit":"","module":"core","group":"primaryNavigation"},{"selector":"widget-titles","customSelector":"","fontFamily":"inherit","fontWeight":"bold","textTransform":"","fontSize":18,"fontSizeTablet":"","fontSizeMobile":"","fontSizeUnit":"px","lineHeight":"","lineHeightTablet":"","lineHeightMobile":"","lineHeightUnit":"","letterSpacing":"","letterSpacingTablet":"","letterSpacingMobile":"","letterSpacingUnit":"px","marginBottomUnit":"px","module":"core","group":"widgets"}],"global_colors":[{"name":"contrast-2","slug":"contrast-2","color":"#1d1f23"},{"name":"base-2","slug":"base-2","color":"#f7f8f9"},{"name":"base-3","slug":"base-3","color":"#ffffff"},{"name":"accent","slug":"accent","color":"#73f3f7"},{"name":"global-color-10","slug":"global-color-10","color":"#18EAF2"},{"name":"global-color-11","slug":"global-color-11","color":"#0BBBC1"},{"name":"global-color-12","slug":"global-color-12","color":"#0366d6"},{"name":"global-border-line","slug":"global-border-line","color":"rgba(30,32,36,0.27)"}],"background_color":"var(--base-2)","header_background_color":"var(--base-2)","header_link_color":"","site_title_color":"var(--global-color-9)","site_tagline_color":"var(--base)","blog_post_title_color":"","blog_post_title_hover_color":"","h2_color":"","link_color":"var(--accent-2)","link_color_hover":"var(--contrast-2)","content_link_color":"var(--global-color-12)","navigation_background_color":"var(--base-2)","navigation_text_color":"var(--contrast-2)","content_link_hover_color":"","single_layout_setting":"right-sidebar","form_button_background_color":"var(--global-color-12)","form_button_background_color_hover":"var(--contrast-2)","form_button_text_color":"var(--base-3)","form_button_text_color_hover":"var(--base-3)","nav_search":"enable","nav_drop_point":"","nav_position_setting":"nav-below-header","sidebar_widget_background_color":"var(--base-3)","sidebar_widget_link_color":"var(--global-color-12)","navigation_search_background_color":"var(--global-color-9)","navigation_search_text_color":"var(--contrast-2)","hide_title":true,"hide_tagline":true,"logo_width":350,"content_layout_setting":"one-container","retina_logo":"https://www.gatewayfalls.com/wp-content/uploads/2022/09/onmsft-logo.svg","container_width":1200,"site_title_font_size":25,"header_layout_setting":"fluid-header","container_alignment":"text","header_alignment_setting":"center","nav_alignment_setting":"center","nav_inner_width":"full-width","navigation_text_hover_color":"var(--global-color-12)","navigation_text_current_color":"var(--global-color-12)","subnavigation_background_color":"var(--base-3)","subnavigation_text_color":"var(--contrast)","header_inner_width":"contained","nav_layout_setting":"fluid-nav","subnavigation_text_hover_color":"var(--global-color-9)","subnavigation_text_current_color":"var(--global-color-9)","content_background_color":"var(--base-2)","sidebar_widget_text_color":""},"generate_blog_settings":{"masonry":false,"post_image":true,"date":true,"author":true,"categories":true,"tags":true,"comments":true,"excerpt_length":45,"read_more":"Read More","read_more_button":true,"infinite_scroll":true,"infinite_scroll_button":true,"masonry_load_more":"+ More","masonry_loading":"Loading...","single_date":true,"single_author":true,"single_categories":false,"single_tags":true,"single_post_navigation":true,"post_image_padding":true,"post_image_position":"","post_image_alignment":"post-image-aligned-center","post_image_size":"full","post_image_width":"","post_image_height":"","single_post_image":true,"single_post_image_padding":true,"single_post_image_position":"inside-content","single_post_image_alignment":"center","single_post_image_size":"full","single_post_image_width":"","single_post_image_height":"","page_post_image":true,"page_post_image_padding":true,"page_post_image_position":"above-content","page_post_image_alignment":"center","page_post_image_size":"full","page_post_image_width":"","page_post_image_height":"","column_layout":false,"columns":"50","featured_column":false},"generate_spacing_settings":{"mobile_header_top":20,"mobile_header_right":20,"mobile_header_bottom":0,"mobile_header_left":20,"header_top":20,"header_bottom":20,"separator":15,"content_element_separator":2,"header_right":40,"header_left":40,"content_top":30,"content_right":30,"content_bottom":30,"content_left":30,"right_sidebar_width":30,"widget_top":30,"widget_right":30,"widget_bottom":30,"widget_left":30}}}

Viewing 15 posts - 1 through 15 (of 21 total)
  • You must be logged in to reply to this topic.