Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #935085

    I have a brand new install of Enfold on a new install of WordPress with a clean install of the Health demo. There are no plugins activated all other components are current.

    I created a new blog post and added an image. After doing so, the single blog post no longer shows any of the blog styling; it shows just the text and image of the post, but without the blog header (category and titler, and no footer (date, comments, tags, social links, etc. )

    I narrowed it down to simply saving using the advanced layout editor! I edit the “A nice entry” sample post of the Heath demo using the advanced editor, I press space, delete the space, and save.

    Although it doesn’t show up in the editor, the revision history shows that the resulting html in the is wrapped with
    [av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' admin_preview_bg=''] shortcode.

    The effect on the generated html is to remove the <article> and other tags.

    The html before saving:

    <div id='main' class='all_colors' data-scroll-offset='88'>
            <div class='container_wrap container_wrap_first main_color sidebar_left'>
                <div class='container template-blog template-single-blog '>
                    <main class='content units av-content-small ' role="main" itemscope="itemscope"
                          itemtype="https://schema.org/Blog">
                        <article
                                class='post-entry post-entry-type-standard post-entry-65 post-loop-1 post-parity-odd post-entry-last single-big with-slider post-65 post type-post status-publish format-standard has-post-thumbnail hentry category-news tag-food tag-fun'
                                itemscope="itemscope" itemtype="https://schema.org/BlogPosting" itemprop="blogPost">
                            <div class='blog-meta'></div>
                            <div class='entry-content-wrapper clearfix standard-content'>
                                <header class="entry-content-header"><span class="blog-categories minor-meta"><a
                                        href="https://www.staging1.postmormonmentalhealth.com/blog/category/news/"
                                        rel="tag">News</a> </span>
                                    <h1 class='post-title entry-title' itemprop="headline"><a
                                            href='https://www.staging1.postmormonmentalhealth.com/blog/a-nice-entry/'
                                            rel='bookmark' title='Permanent Link: A nice entry'>A nice entry <span
                                            class='post-format-icon minor-meta'></span> </a></h1><span
                                            class="av-vertical-delimiter"></span>
                                    <div class="big-preview single-big"><a
                                            href="https://www.staging1.postmormonmentalhealth.com/wp-content/uploads/2016/05/complete-healthy-breakfast-m-1030x733.jpg"
                                            title="A nice entry"><img width="845" height="321"
                                                                      src="https://www.staging1.postmormonmentalhealth.com/wp-content/uploads/2016/05/complete-healthy-breakfast-m-845x321.jpg"
                                                                      class="attachment-entry_with_sidebar size-entry_with_sidebar wp-post-image"
                                                                      alt=""/></a></div>
                                    <div class="entry-content" itemprop="text"><p>Lorem ipsum dolor sit amet, consectetuer
                                        adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque
                                        penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis,
                                        ultricies nec, pellentesque eu, pretium quis, sem.</p>

    The html after saving:

    <div id='main' class='all_colors' data-scroll-offset='88'>
         <div class='main_color container_wrap_first container_wrap sidebar_left'>
                <div class='container'>
                    <main role="main" itemscope="itemscope" itemtype="https://schema.org/Blog"
                          class='template-page content  av-content-small units'>
                        <div class='post-entry post-entry-type-page post-entry-65'>
                            <div class='entry-content-wrapper clearfix'>
                                <section class="av_textblock_section " itemscope="itemscope"
                                         itemtype="https://schema.org/BlogPosting" itemprop="blogPost">
                                    <div class='avia_textblock  ' itemprop="text"><p>Lorem ipsum dolor sit amet,
                                        consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum
                                        sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
                                        Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.</p>

    It seems like an out-of-the-box setup should just work, but it doesn’t. I am at a total loss. Please advise.

    #935206

    Hey michaelgallacher,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #935383
    This reply has been marked as private.
    #935711

    Hi,

    Thanks for the login details. I’m not sure if I understand the issue you are having correctly, but when you are using the Layout Builder for posts, then you need to add all content to it manually. Like you pointed out, when saving the post when the default editor is active, will bring all the “default” elements.

    Best regards,
    Rikard

    #935807

    Ah, I get it now…using the Layout Builder will automatically change the Enfold Theme Options setting in Blog Layout to “Use the advanced editor”. A one-time warning might be nice. If there was a warning, I guess I was too new to understand the implications.

    So why does the default editor stop working once I edit in the Layout Builder? (I forgot to mention this…after saving with Layout Builder, the default editor is entirely blank. There’s no content, literally 0 characters showing. I have to go back to Layout Builder to do any editing. Is this by design?

    Also, I did read the forum and watch videos but didn’t understand this basic concept. Where is this documented, so I can go and read it more carefully?

    Thanks!

    #935961

    Hi,

    Thanks for the feedback. The blank default edit is by design yes, since there’s no real point in switching between the two unless you want to bring in all the default elements. If you want the regular editor in your content, then you can simply use a Text Block element which basically does the same thing as the default editor.

    Best regards,
    Rikard

    • This reply was modified 6 years, 7 months ago by Rikard.
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.